Help Required for Class Path Setting

Plz Inform me How I Set Classpath in DOS Environment.
as soon as Possible.
[email protected]

You don't. Java doesn't run in DOS.
Presumably you are refering to windows.
From the command line
set CLASSPATH=.;c:\mydir
To always set it that way.
-in win 9x use the same 'set' command in the autoexec.bat file which should be in c:\
-in win NT use the start->settings->control panel->system. Use the 'environment tab' The variable can be set either in the user or system space.
For the newer windows they probably use something like the above (probably the second method.)

Similar Messages

  • Help required for post path from 442 1080p Prores to h264 for PAL blu-ray project

    Hi all
    Iam deperately trying to output a blu-ray disc for film festivals for a feature we have made.
    We need to have high res and 5.1 sound PAL.
    I just need the settings for the H264.I have been on many different forums looking but no luck.
    This is where Im at.
    DPX 24fps from Da Vinci Resolve to 1920x1080 Pro res 422.@24fps (resolve does not support 1920 H264).
    Can some-one give me a definitive path for this?
    It needs to convert to 25fps at some point as well.
    I have my 5.1 sound worked out via compressor.
    Getting desperate
    Thank you

    Hi all
    Iam deperately trying to output a blu-ray disc for film festivals for a feature we have made.
    We need to have high res and 5.1 sound PAL.
    I just need the settings for the H264.I have been on many different forums looking but no luck.
    This is where Im at.
    DPX 24fps from Da Vinci Resolve to 1920x1080 Pro res 422.@24fps (resolve does not support 1920 H264).
    Can some-one give me a definitive path for this?
    It needs to convert to 25fps at some point as well.
    I have my 5.1 sound worked out via compressor.
    Getting desperate
    Thank you

  • Class path setting for JMF

    I'm new to JMF never ever worked on it before... and now i'm currently stuck up.... i cant configure JMF have no idea how to go about the class path settings and the whole procedure involving it......I have also gone through the JMF setup page but in vain....plz help!!

    I'm also working on JMF these are the errors i get after running the SimplePlayerApplet.java file
    C:\j2sdk1.4\bin>javac SimplePlayerApplet.java
    SimplePlayerApplet.java:39: package javax.media does not exist
    import javax.media.*;
    ^
    SimplePlayerApplet.java:55: cannot resolve symbol
    symbol : class ControllerListener
    location: class SimplePlayerApplet
    public class SimplePlayerApplet extends Applet implements ControllerListener {
    ^
    SimplePlayerApplet.java:58: cannot resolve symbol
    symbol : class Player
    location: class SimplePlayerApplet
    Player player = null;
    ^
    SimplePlayerApplet.java:182: cannot resolve symbol
    symbol : class ControllerEvent
    location: class SimplePlayerApplet
    public synchronized void controllerUpdate(ControllerEvent event) {
    ^
    SimplePlayerApplet.java:88: cannot resolve symbol
    symbol : class MediaLocator
    location: class SimplePlayerApplet
    MediaLocator mrl = null;
    ^
    SimplePlayerApplet.java:106: cannot resolve symbol
    symbol : class MediaLocator
    location: class SimplePlayerApplet
    if ((mrl = new MediaLocator(mediaFile)) == null)
    ^
    SimplePlayerApplet.java:122: cannot resolve symbol
    symbol : variable Manager
    location: class SimplePlayerApplet
    player = Manager.createPlayer(mrl);
    ^
    SimplePlayerApplet.java:123: cannot resolve symbol
    symbol : class NoPlayerException
    location: class SimplePlayerApplet
    } catch (NoPlayerException e) {
    ^
    SimplePlayerApplet.java:190: cannot resolve symbol
    symbol : class RealizeCompleteEvent
    location: class SimplePlayerApplet
    if (event instanceof RealizeCompleteEvent) {
    ^
    SimplePlayerApplet.java:225: cannot resolve symbol
    symbol : class CachingControlEvent
    location: class SimplePlayerApplet
    } else if (event instanceof CachingControlEvent) {
    ^
    SimplePlayerApplet.java:226: cannot resolve symbol
    symbol : variable Controller
    location: class SimplePlayerApplet
    if (player.getState() > Controller.Realizing)
    ^
    SimplePlayerApplet.java:230: cannot resolve symbol
    symbol : class CachingControlEvent
    location: class SimplePlayerApplet
    CachingControlEvent e = (CachingControlEvent) event;
    ^
    SimplePlayerApplet.java:230: cannot resolve symbol
    symbol : class CachingControlEvent
    location: class SimplePlayerApplet
    CachingControlEvent e = (CachingControlEvent) event;
    ^
    SimplePlayerApplet.java:231: cannot resolve symbol
    symbol : class CachingControl
    location: class SimplePlayerApplet
    CachingControl cc = e.getCachingControl();
    ^
    SimplePlayerApplet.java:241: cannot resolve symbol
    symbol : class EndOfMediaEvent
    location: class SimplePlayerApplet
    } else if (event instanceof EndOfMediaEvent) {
    ^
    SimplePlayerApplet.java:244: cannot resolve symbol
    symbol : class Time
    location: class SimplePlayerApplet
    player.setMediaTime(new Time(0));
    ^
    SimplePlayerApplet.java:246: cannot resolve symbol
    symbol : class ControllerErrorEvent
    location: class SimplePlayerApplet
    } else if (event instanceof ControllerErrorEvent) {
    ^
    SimplePlayerApplet.java:249: cannot resolve symbol
    symbol : class ControllerErrorEvent
    location: class SimplePlayerApplet
    Fatal(((ControllerErrorEvent)event).getMessage());
    ^
    SimplePlayerApplet.java:250: cannot resolve symbol
    symbol : class ControllerClosedEvent
    location: class SimplePlayerApplet
    } else if (event instanceof ControllerClosedEvent) {
    ^
    19 errors
    C:\j2sdk1.4\bin>
    Please help as i have some assignments to do on it. Thanks!

  • Class Path, Set Path

    Imm new to Java Techology...plz tell me in detail bout how to "Set Class path", ....In Detail...Bye

    To set class path
    we type
    set classpath= c:\j2sdk folder\lib;.;
    set path = c:\j2sdk folder\bin;.;
    setting these both will work out. in this .; ending means the class path will be available throught otu the command prompt where ever which ever folder it is..
    well for setting permanent in the system for win2000 OS
    right click on myComputer icon there from that option you select properties
    then you get a pop up window where you have few tabs in which last one is advanced -- click on it
    then you get there button placed vertically .... in which there is button callled Environment variables
    click on it... you will get an window...
    in that see the user variables box
    In this if there is a variable to see as classpath then append the path of j2sdk folder\lib;.;
    if not present then create a variable and set the name to classpath and value to the pathof folder\bin;
    similalry path in that also if exist then edit it and give path to bin folder of j2sdk folder..
    this will work out for you..
    All The BEst

  • Seeburger help required for Supplier Invoice (EDI 810) and Dispatch Advice

    Hi All,
    Pls let me blog/steps for scenario for Supplier Invoice and Dispatch Advice using Seeburger.
    For Supplier Invoice I assume R/3 will send data to Vendor (810).
    1. Pls let me know for R/3 to XI will we use INVOCE IDOC?
    2. Pls let me know for R/3 to XI Communication do we will use same Distributiion Model setup?
    3. Pls let me know what Seeburger BIC modules I need to use in Seeburger AS2/File Receiver Adapter
    4. Which Interface and Adapter  I need to use for 810 and which Interface and Adapter  I need to use for 997.
        Pls send its setup with its Mappings defined in Modules.
    5. What is Disptach Advice?  Is it also same like Supplier Invoice ? Does it also have EDI Number and if yes then what?
    Pls send me blogs for the above Supplier Invoice and Dispatch Advice settings.
    Regards

    >
    Rickkk wrote:
    > Hi Ravi and All
    >
    > I am thankful to all of you for great help of yours.
    >
    > Steps:
    >
    > 1) I wil create an INvoice in your backend system. It will generate an IDOC.
    > 2) This IDOC will be sent to my XI system.
    > 3) I will map the IDOC to the Target XML 810 --- From where I will get this Target XML 810 ?
    YOu have to login to the Physical box in which XI is installed (Take Basis Help.
    In one of the drives, you will find a folder called seeburger.
    Inside that folder, you can browse to find the XSD structure for your 810 .
    YOu will find different XSDs for different versions of 810.
    Suppose your EDI 810 version is 4010, then you have to use the XSD for 810 4010 version (There will be separate folders for each transaction set/version combination.
    It will be there also in the software CD that seeburger provides when you buy it.
    > 4) I need a seeburger receiver AS2 adapter that consist of modules that will convert the XML 810 docuemnt to EDI document.
    >
    > Below are the modules will be present in you suggested seeburger receiver AS2 adapter
    > module key                  Parameter name               Parameter value
    > bic                                destSourceMsg               MainDocument
    > bic                                destTargetMsg                MainDocument
    > bic                                mappingName                  <the name of your X2E mapping for 810>
    > exit                               JNDIName                         deployedAdapters/SeeXIAS2/shareable/SeeXIAS2
    >
    Yes.
    > 5. As per blog  -
    /people/rajeshkumar.pasupula/blog/2009/08/05/wanna-implement-seeburger-for-edi-find-the-booster
    >
    > For 997 Interface we are using seeburger Sender adapter and for 850 Interface we are using Split997 Sender adapter -- Reverse order
    >
    > For this scenario will it be like this again like
    > For 997 Interface we will use Seeburger Receiver AS2 Adapter where the above modules are configured -- Pls suggest
    >
    > For 810  Interface we will use Split997 Receiver adapter -- No modules configured Pls suggest
    >
    > I request you to kindly send me snapshots or blogs which has snapsot for this scenario.
    >
    No need of split 997 in outbound case. In this case, you will send the 810 and the partner will send the 997.
    So, to receive that 997 file, you need another scenario. You need the split 997 communication channel only in inbound case like in 850, but not in outbound case.
    > Last point -- is Dispatch advice direction is like 850 (Inbound ) or its direction is like 810 (outbound)?
    > Do we have IDOC or something like that present and its mapping ?
    >
    like I said earlier, it is an outbound document if your company is the vendor.
    It will be inbound if your company is the Customer to some other company.
    The IDOC that is used usually will be DESADV idoc.
    > Regards

  • Help required for unicode compatibilty

    Dear All,
    We are in a process of analyzing the impact of unicode compatibility for our environment.
    Following is our scenario:
    - ECC6.0 is non unicode systsem
    - Need to buid unicode CRM 7, SCM 7, PI 7.1 and BI7
    - Need to integrate the above systems to non unicode ECC system.
    Our questions are :
    1. Is there any performance consideration when using communication between an Unicode and non-Unicode system?
       Is Unicode - Unicode faster than Unicode - non-Unicode communication performance wise?
    2. Do we face any  technical or functinal problems while trying to integrate
       unicode BI/ NW Java Stack  to non unicode systems.
    3. Do we need to review our sizing estimations due to unicode implemenation?
    5. what will be the storage consumption increase for unicode systems compared to non unicode?
    It would be greatly helpful for me if you can clarify these doubts.
    Thanks and Regards

    Hi,
    1. I think no one has really measured this. I expect a slightly higher requirement for Unicode <--> Non-Unicode interfaces.
    2. Please have a look at SAP Notes 838402, 73606, 975768 and 1358929 for restrictions in Non-Unicode systems. SAP highly recommends to go for Unicode in the whole landscape.
    3. and 5.  If you use the SAP quicksizer (http://service.sap.com/quicksizing), then Unicode is integrated.
    " Please note that the Quick Sizer results include Unicode requirements. For more
    information on additional requirements caused by Unicode, see
    http://service.sap.com/unicode -> Unicode Media Library -> Unicode information on
    specific topics: SAP Business Suite Unicode Hardware Requirements"
    Best regards,
    Nils Buerckel
    SAP AG

  • Regarding class path setting

    Hi,
    I am new to java How can i Set a class path in my sytem to run java programs and tomcat and ant .
    I declated like below in Environment varialble.
    JAVA_HOME
    c:\javasdk\jdk\jre\ext;C;\javasdk\bin;
    ANT_HOME
    c:\ant\bin;
    CATALINA_HOME
    C:\tomcat\bin;c:\tomcat\common\bin;
    when I am running the startup.bat in commandprompt the it showedd me aan error like this.
    CATALINA_HOME environment variable is not deffined correctly, this environment variable is needed to run thhis proram.
    when I am running the ANT then it showed me an error like this.
    build.xml file does not found. But i Wrote the build.xml file in ant\bin.
    Please let me know the where is sthe mistake. It is very urgent to me.

    I love all these questions that go "I'm really new to Java, so new I don't even know how to set or use a classpath. How do I get my application server to work?"
    Like a first-week med student trying a heart transplant

  • Seeburger help required for 810 and Dispatch Advice (IDOC type DESADV).

    Hi All,
    1. Please let me know blogs which clearly shows settings for Seeburger components for 850 (Purchase Order) to IDOC Scenario
    --- Seeburger Workbench
    --- Seeburger Mapping Designer (BIC)
    --- Seeburger Counter and Varaibles
    --- Seeburger AS2 Spoke
    --- Any other Seeburger Component setting required
    I have understand blog for 850 -- /people/rajeshkumar.pasupula/blog/2009/08/05/wanna-implement-seeburger-for-edi-find-the-booster
    2. Anybody has blog for 810 or Dispatch Advice (IDOC type DESADV).
    3. Can anybody provide me Mapping Logic (at field level) done in XI/PI for 850, 810 , Dispatch Advice (IDOC type DESADV) .
    Regards

    Hi Rickkk,
    1. Please let me know blogs which clearly shows settings for Seeburger components for 850 (Purchase Order) to IDOC Scenario
    --- Seeburger Workbench
    --- Seeburger Mapping Designer (BIC)
    --- Seeburger Counter and Varaibles
    --- Seeburger AS2 Spoke
    --- Any other Seeburger Component setting required
    For SEEBURGER workbench please go through this blog and navigate the enbebbed links furthur to know about Seeburger workbench too.
    /people/prateek.srivastava3/blog/2009/08/01/seeburger--part-1--the-basics
    2
    2. Anybody has blog for 810 or Dispatch Advice (IDOC type DESADV).
    For 810 i think the procedure would be the same but themseeburger mapping program that validates the ANSX 810 would be different.As far as 997is concerned 997 is a functional acknowledgement.Its a genric format that is used to send acknowledgement for any EDI transaction set that has been sent.
    3. Can anybody provide me Mapping Logic (at field level) done in XI/PI for 850, 810 , Dispatch Advice (IDOC type DESADV) .
      The logic will be based on the trading partner guidelines which will contain the description of all the semantic and syntactiic description about the segments ,its feilds.we need to consider the guidelines and target side specifications too while mapping.
    Thanks,
    Ram.

  • PCUI 4.0, Search Help Required for New field

    Hi everyone
    I am working in CRM 4.0 Sales Order application
    We created a new field in CRM sales Order in Header level in SAP GUI through EEWB.
    The search help for the new field is working fine in SAP GUI. We want to add the same field with F4 help functionaliity in PCUI as well.
    The field has been added in structure CRMT_BSP_SLS_OD1_General. It also shows domain value for the field however Origin of input field ie empty
    The field has been added in PCUI and is successfully showing data inputted in SAPGUI
    However we need search help functionality for the field
    i tried these two steps
    1) i checked on domain value checkbox and changed the field from input to dropdown. However the dropdown is empty in PCUI. Whenever i check box domain values for some field then all the possible values in SPA GUI are displayed in PCUI, however this is not working here.
    2) I put Value_table in F4 of the field
    This is also throwing up empty values
    Am i missing something in this case
    Please let me know how to go about it
    TIA
    Asad

    Hi Frederic
    Thanks for your response
    I am not sure what is meant by regenerating the field group in this case
    I added the entries for my view in the field group and generated the layout of the field group (If this is what you mean)
    The field is working fine. I am able to save values to the field and able to see values saved in GUI.
    I haven't linked search help of the field in PCUI
    I am not sure how to go about it.
    I used the data element in the structure for the field.
    The data element has Domain entry in <b>Entry Help/Check</b> of the structure
    If i check the Domain Value checkbox in my field group then the domain values should be available in dropdown if the field is dropdown
    However i am not able to see the possible values of the field (It is present in SAP GUI)
    Does something else needs to be done in this case
    TIA
    Asad

  • Help required for setting up TOMCAT for a particular application?

    Hello Everyone,
    Can we have 2 ROOT directories in TOMCAT/webapps folder? For ex. ROOT and ROOT1.
    Both the folder contains different set of jsp files but same web.xml file.
    Can you suggest any other alternative.
    Thank You.
    With Regards,
    Raghu

    thankyou for your prompt replies.
    i am actualy attempting to build a loading frame for applying loads to a very small specimen. since the applied loads are going to be very small, i wonder whether a feedback is essential or optional for me. i do believe, however, that since i will be using a stepper motor, i might just be able to afford neglecting the inclusion of encoders for feedback.
    i would be glad if you could comment on the attached diagram and kindly advise as to how i might improve on the conections i have made. the idea i have in mind is to measure the load applied by the motor using the load cell and also determine the displacement using the LVDT....thereafter, i would want to record the data using an A to D in a computer. the spring has been included in order to control the process of loading the specimen...the whole arrangement is intended to perform similar to a Universal Testing Machine, albeit in a mucu smller scale....
    from your response to my last message, i am guessing that the SCB-68 is not of much use to me.....i would also be glad if you could kindly tell me the difference between the "Digital I/O" and "Motion I/O" terminals on the FW7344... currently, i have connected the UMI 7764 to the Motion I/O terminal of the FW7344 and have not figured out how i might use the Digital I/O terminal at all....kindly do enlighten regading that matter too...
    once again , i'd like to thank you all very much for your time, patience, help and support....
    Attachments:
    loading machine connections.jpg ‏39 KB

  • Help required for set up of new Airport Extreme!

    I bought a new Airport Extreme and was assured the set up was super easy compared to the Linksys wireless router I had previously. With my luck, it isn't!
    I basically never get to the first step of the airport utility because either the wireless connection can't be found, or the Airport Express can't be found by my computer (I get either of the two error messages). I am able to see the airport xxxxxxx network, but get the error messages even when the computer's airport eventually connects to it. Can someone help and tell me what I am doing wrong? I have tried resetting my internet modem and the Airport Extreme to no avail, I always get the yellow amber flashing light.
    Thank you

    SEE MY ANSWERS BELOW:
    System Preferences > Network > AirPort > Advanced > AirPort tab
    o Your network should show up in the list under Preferred Networks with Security = None CHECK
    o Remember any network this computer has joined (checked)
    System Preferences > Network > AirPort > Advanced > TCP/IP tab
    o Configure IPv4 = Using DHCP CHECK - CHANGED IT
    o Configure IPv6 Automatically CHECK - CHANGED IT
    System Preferences > Network > AirPort > Advanced > DNS tab
    o DNS Servers = (your ISP's DNS server(s) IP address(es) should be displayed here) If this is blank, may be the reason that you are not able to access the Internet when connected wirelessly ... and may indicate a problem with the AirPort card in your iBook I CAN SEE 3 SERIES OF CODES
    Following this, I can still find my network, connect to it (although I got a timeout the first couple of times) but still have no internet access. The airport has been working fine when I was using the Linksys in the past.
    Can we try anything else?

  • Help required for improving performance of the Query

    Hello SAP Techies,
    I have MRP Query which shows Inventory projection by Calendar Year/Month wise.
    There are 2 variables Plant and Material in free charateristics where it has been restricted by replacement of Query result .
    Another query is Control M Query which is based on multiprovider. Multiprovider is created on 5 cubes.
    The Query is taking 20 -15 Mins to get the result.
    Due to replacement path by query result for the 2 variables first the control M Query is excuted. Business wanted to see all those materials in MRP query which are allocated to base plant hence they designed the query to use replacement Path by Query result. So it will get all the materials and plants from the control M query and will find the Invetory projection for the same selection in MRP query.
    Is there any way I can improve the performance of the Query.
    Query performance has been discussed innumerable times in the forums and there is a lot of information on the blogs and the WIKI - please search the forums before posting and if the existing posts do no answer your question satisfactorily then please raise a new post - else almost all the answers you get will be rehashed versions of previous posts ( and in most cases without attribution to the original author )
    Edited by: Arun Varadarajan on Apr 19, 2011 9:23 PM

    Hi ,
    Please see if you can make these changes currently to the report . It will help in improving the performance of the query
    1. Select the right read mode.
        Reading data during navigation minimizes the impact on
         the application server resources because only data that
        the user requires will be retrieved.
    2. Leverage filters as much as possible. Using filters contributes to
       reducing the number of database reads and the size of the result set,
        hereby significantly improving query runtimes.
       Filters are especially valuable when associated with u201Cbig
        dimensionsu201D where there is a large number of characteristics such as
        customers and document numbers.
    3. Reduce RKFs in the query to as few as possible. Also, define
    calculated & RKFs on the Infoprovider level instead of locally within the query.
    Regards
    Garima

  • Urgent help required for configuring forms server 6.0

    Hi every one/anyone
    i will really appreciate if i can get your attention and a little
    bit of your help in configuration of Developer Server.
    i have similar kind of a problem i hopeany one can shed some
    light on it as well.
    I am using
    Pentium III 450 MHZ 256 MB Ram
    NT server 4.0 with Service pack 3.
    Oracle 8.1.5
    IIS 4 or OAS 4.0.7
    Developer 6.0 down loaded from OTN.
    Internet Explorer 5.
    I have failed to run forms 6.0 on the web, i have tried all the
    option
    JDK supplied with the Developer 6.0 Software on DOS prompt.
    Jinitiator 1.1.7.11
    When i run forms from the Designer they work But When i try them
    to run form the browser Every thing works the status bar
    of the Internet Explorer 5 says applet initialized but the forms
    do not show up. when i press the refresh button of the browser
    the status bar show applet running and a forms window appear's
    but with out showing the form. I have checked from the Java
    Console it shows the same error on and again with or without
    jinitiator. I have almost tried every setting.
    Oracle JInitiator version 1.1.7.11
    Using JRE version 1.1.7.11o
    User home directory = E:\WINNT\Profiles\Administrator
    Proxy Configuration: Manual Configuration
    Proxy:
    Proxy Overrides: <local>
    Opening http://an.ma/web/oracle/forms/engine/Main.class no proxy
    Opening http://an.ma/web/oracle/ewt/lwAWT/BufferedApplet.class
    Opening http://an.ma/web/oracle/ewt/popup/PopupApplet.class
    Opening http://an.ma/web/oracle/ewt/popup/PopupOwner.class
    Opening http://an.ma/web/oracle/ewt/event/tracking/MouseGrabPr
    ovider.class
    Opening http://an.ma/web/oracle/ewt/help/HelpCapable.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/ImmediatePainter.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/DoubleBufferer.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/VirtualComponent.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/FocusRoot.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/KeyProcessor.class
    Opening http://an.ma/web/oracle/forms/test/Test.class
    Opening http://an.ma/web/oracle/ewt/painter/PaintContext.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/LWComponent.class
    Opening http://an.ma/web/oracle/forms/ui/mdi/MDIContainer.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWMenuBar.class
    Opening
    http://an.ma/web/oracle/ewt/lwAWT/lwMenu/BaseMIContainer.class
    Opening
    http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWMenuItemContainer.clas
    s
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWMenu.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWMenuItem.class
    Opening
    http://an.ma/web/oracle/ewt/lwAWT/AbstractPainterComponent.class
    Opening
    http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWMenuInvoker.class
    Opening
    http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWPopupMenu.class
    Opening
    http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWMenuSeparator.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/Desktop.class
    Opening http://an.ma/web/oracle/forms/ui/mdi/MDIWindowMenu.class
    Opening
    http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWPopupMenuListener.clas
    s
    Opening http://an.ma/web/oracle/ewt/popup/PopupFrame.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/BufferedFrame.class
    Opening http://an.ma/web/oracle/ewt/painter/Painter.class
    Opening http://an.ma/web/oracle/ewt/popup/PopupHandler.class
    Opening http://an.ma/web/oracle/ewt/UIManager.class
    Opening
    http://an.ma/web/oracle/ewt/UIManager$LookAndFeelInfo.class
    Opening http://an.ma/web/oracle/ewt/LookAndFeel.class
    Opening
    http://an.ma/web/oracle/bali/share/collection/StringKey.class
    Opening http://an.ma/web/oracle/ewt/laf/oracle/OracleLookAndFe
    el.class
    Opening http://an.ma/web/oracle/ewt/laf/basic/BasicLookAndFeel
    .class
    Opening http://an.ma/web/oracle/ewt/painter/BorderPainter.clas s
    Opening http://an.ma/web/oracle/ewt/ColorScheme.class
    Opening http://an.ma/web/oracle/ewt/laf/oracle/OracleColorSche
    me.class
    Opening http://an.ma/web/oracle/ewt/UIDefaults.class
    Opening http://an.ma/web/oracle/ewt/HashTableDefaults.class no
    proxy
    Opening http://an.ma/web/oracle/ewt/MultiUIDefaults.class no
    proxy
    Opening http://an.ma/web/oracle/ewt/laf/basic/ColorizingFilter
    .class
    Opening http://an.ma/web/oracle/ewt/lwAWT/VComponentPaintConte
    xt.class
    Opening http://an.ma/web/oracle/ewt/painter/ImagePainter.class
    Opening http://an.ma/web/oracle/ewt/painter/AbstractPainter.cl
    ass
    Opening http://an.ma/web/oracle/ewt/laf/basic/PerComponentUIIn
    stantiator.class
    Opening http://an.ma/web/oracle/ewt/UIInstantiator.class no
    proxy
    Opening http://an.ma/web/oracle/ewt/plaf/StatusBarUI.class no
    proxy
    Opening http://an.ma/web/oracle/ewt/plaf/ComponentUI.class no
    proxy
    Opening http://an.ma/web/oracle/ewt/laf/oracle/OracleStatusBar
    Painter.class
    Opening http://an.ma/web/oracle/ewt/painter/AbstractBorderPain
    ter.class
    Opening http://an.ma/web/oracle/ewt/painter/AbstractWrappingPa
    inter.class
    Opening http://an.ma/web/oracle/ewt/painter/NullPainter.class
    Opening http://an.ma/web/oracle/ewt/laf/oracle/OracleUIUtils.c
    lass
    Opening http://an.ma/web/oracle/ewt/graphics/ImageSet.class no
    proxy
    Opening http://an.ma/web/oracle/ewt/lwAWT/DoubleBuffer.class
    Opening http://an.ma/web/oracle/ewt/plaf/TextUI.class
    Opening http://an.ma/web/oracle/ewt/laf/oracle/OracleInsetBord
    erPainter.class
    Opening http://an.ma/web/oracle/ewt/painter/FixedBorderPainter
    .class
    Opening http://an.ma/web/oracle/ewt/util/ImmInsets.class no
    proxy
    Opening http://an.ma/web/oracle/ewt/plaf/ToolBarUI.class no
    proxy
    Opening http://an.ma/web/oracle/ewt/laf/oracle/OracleToolBarPa
    inter.class
    Opening http://an.ma/web/oracle/ewt/laf/oracle/ScrollBoxBorder
    Painter.class
    Opening http://an.ma/web/oracle/ewt/laf/oracle/DisabledBGPaint
    er.class
    Opening http://an.ma/web/oracle/ewt/painter/ColorChange.class
    Opening http://an.ma/web/oracle/ewt/painter/FilledRectPainter.
    class
    Opening http://an.ma/web/oracle/ewt/painter/FGBGColorChange.cl
    ass
    Opening http://an.ma/web/oracle/ewt/laf/oracle/OracleRoundedPa
    inter.class
    Opening http://an.ma/web/oracle/ewt/graphics/SynthesizingImage
    Set.class
    Opening http://an.ma/web/oracle/ewt/graphics/NullImageFilter.c
    lass
    Opening http://an.ma/web/oracle/ewt/painter/ImageSetPainter.cl
    ass
    Opening http://an.ma/web/oracle/ewt/painter/TextPainter.class
    Opening http://an.ma/web/oracle/ewt/painter/TruncatingTextPain
    ter.class
    Opening http://an.ma/web/oracle/ewt/laf/basic/DisablingPainter
    .class
    Opening http://an.ma/web/oracle/ewt/laf/basic/StringInstantiat
    or.class
    Opening http://an.ma/web/oracle/ewt/UIDefaults$DeferredValue.c
    lass
    Opening http://an.ma/web/oracle/ewt/laf/basic/SingletonUIInsta
    ntiator.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/SharedPainter.class
    Opening http://an.ma/web/javax/swing/JInternalFrame.class no
    proxy
    Opening http://an.ma/web/oracle/ewt/util/LocaleUtils.class no
    proxy
    Opening http://an.ma/web/oracle/ewt/util/WindowUtils.class no
    proxy
    Opening http://an.ma/web/oracle/ewt/util/WindowUtils$ActiveWin
    dowTracker.class
    Opening http://an.ma/web/oracle/forms/engine/MainBeanInfo.clas s
    Opening http://an.ma/web/sun/beans/infos/MainBeanInfo.class no
    proxy
    Opening http://an.ma/web/oracle/ewt/lwAWT/BufferedAppletBeanIn
    fo.class
    Opening http://an.ma/web/sun/beans/infos/BufferedAppletBeanInf
    o.class
    Opening http://an.ma/web/oracle/ewt/popup/PopupAppletBeanInfo.
    class
    Opening http://an.ma/web/sun/beans/infos/PopupAppletBeanInfo.c
    lass
    Opening http://an.ma/web/oracle/ewt/help/HelpProvider.class no
    proxy
    Opening http://an.ma/web/oracle/ewt/event/AnyEventListener.cla
    ss
    Opening http://an.ma/web/oracle/forms/ui/FormMouseGrabProvider
    .class
    Opening http://an.ma/web/oracle/ewt/event/tracking/GlassMouseG
    rabProvider.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/DesktopCont
    ainer.class
    Opening http://an.ma/web/oracle/forms/engine/Runform.class no
    proxy
    Opening http://an.ma/web/oracle/forms/engine/MessageHandler.cl
    ass
    Opening http://an.ma/web/oracle/forms/registry/MessageManager.
    class
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/LWWindow.cl
    ass
    Opening http://an.ma/web/oracle/ewt/event/tracking/KeyFilterPr
    ovider.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/DesktopEven
    t.class
    Opening http://an.ma/web/oracle/ewt/event/EwtEvent.class no
    proxy
    Opening http://an.ma/web/oracle/ewt/EwtComponent.class
    Opening http://an.ma/web/oracle/ewt/scrolling/Scrollable.class
    Opening http://an.ma/web/oracle/ewt/dnd/Autoscroll.class no
    proxy
    Opening http://an.ma/web/oracle/ewt/event/tracking/GlassMouseG
    rabProvider$Proxy.class
    Opening http://an.ma/web/oracle/ewt/laf/generic/GenericLookAnd
    Feel.class
    Opening http://an.ma/web/oracle/ewt/laf/generic/SystemColorSch
    eme.class
    Opening http://an.ma/web/oracle/ewt/laf/generic/FixedColorSche
    me.class
    Opening http://an.ma/web/oracle/forms/engine/icons/splash.gif
    Opening http://an.ma/web/oracle/ewt/graphics/ImageUtils.class
    Opening http://an.ma/web/oracle/ewt/graphics/ImageLoader.class
    Opening http://an.ma/web/oracle/forms/engine/Splashscreen.clas s
    Opening http://an.ma/web/oracle/ewt/lwAWT/LWComponent$PaintCtx
    t.class
    Opening http://an.ma/web/oracle/ewt/laf/generic/GenericInsetBo
    rderPainter.class
    Opening http://an.ma/web/oracle/ewt/laf/generic/GenericRectang
    lePainter.class
    Opening http://an.ma/web/oracle/ewt/laf/generic/GenericDesktop
    UI.class
    Opening http://an.ma/web/oracle/ewt/laf/basic/BasicComponentUI
    .class
    Opening http://an.ma/web/oracle/ewt/laf/basic/AbstractComponen
    tUI.class
    Opening http://an.ma/web/oracle/ewt/plaf/DesktopUI.class no
    proxy
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/WindowManag
    er.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/laf/BaseWin
    dowManager.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/DesktopList
    ener.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/laf/MouseWi
    ndowActivater.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/laf/KeyWind
    owActivater.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/ModalStyle.
    class
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/LWWindow$Fo
    cusTransferComp.class
    Opening http://an.ma/web/oracle/ewt/event/tracking/TrackingUti
    ls.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/DesktopCont
    ainer$WindowEnum.class
    Opening http://an.ma/web/oracle/ewt/event/ListenerManager.clas s
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwWindow/DesktopLayo
    ut.class
    Opening http://an.ma/web/oracle/ewt/laf/generic/GenericCompone
    ntUI.class
    Opening http://an.ma/web/oracle/ewt/scrolling/ScrollableExcept
    ion.class
    Opening http://an.ma/web/oracle/forms/ui/mdi/ActivationTracker
    .class
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/ScrollableAda
    pter.class
    Opening http://an.ma/web/oracle/ewt/scrolling/arrowBox/ArrowBo
    x.class
    Opening http://an.ma/web/oracle/ewt/laf/generic/GenericMenuBar
    UI.class
    Opening http://an.ma/web/oracle/ewt/plaf/MenuBarUI.class no
    proxy
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/laf/MenuBarCo
    ntroller.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/PreferredRowL
    ayout.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/BaseMIContain
    er$AddLsnr.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWPopupMenuEv
    ent.class
    Opening http://an.ma/web/oracle/ewt/popup/NoPopupOwnerExceptio
    n.class
    Opening http://an.ma/web/oracle/ewt/laf/generic/GenericPopupMe
    nuUI.class
    Opening http://an.ma/web/oracle/ewt/plaf/PopupMenuUI.class no
    proxy
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/laf/PopupMenu
    Controller.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/PreferredColu
    mnLayout.class
    Opening http://an.ma/web/oracle/forms/engine/RunformBundle_en_
    US.class
    Opening http://an.ma/web/oracle/forms/engine/RunformBundle.cla
    ss
    Opening http://an.ma/web/oracle/forms/engine/RunformBundle_en.
    class
    Opening http://an.ma/web/oracle/ewt/laf/generic/GenericMenuIte
    mUI.class
    Opening http://an.ma/web/oracle/ewt/plaf/MenuItemUI.class no
    proxy
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/laf/MenuItemC
    ontroller.class
    Opening http://an.ma/web/oracle/ewt/painter/AndOrStatePainterS
    witcher.class
    Opening http://an.ma/web/oracle/ewt/painter/AbstractPainterSwi
    tcher.class
    Opening http://an.ma/web/oracle/ewt/painter/DirectionalBorderP
    ainter.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/laf/KeyStroke
    Painter.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/laf/MenuItemP
    ainter.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/laf/MenuSelCo
    lorChange.class
    Opening http://an.ma/web/oracle/ewt/laf/generic/GenericSelecti
    onPainter.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/laf/MenuSelTe
    xtColorChange.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/DragRedispatc
    her.class
    Opening http://an.ma/web/oracle/ewt/laf/generic/GenericMenuSep
    aratorUI.class
    Opening http://an.ma/web/oracle/ewt/plaf/MenuSeparatorUI.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWCheckboxMen
    uItem.class
    Opening http://an.ma/web/oracle/ewt/thread/Task.class
    Opening http://an.ma/web/oracle/ewt/laf/generic/GenericMenuUI.
    class
    Opening http://an.ma/web/oracle/ewt/plaf/MenuUI.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/laf/SubmenuIc
    on.class
    Opening http://an.ma/web/oracle/ewt/painter/PainterJoiner.clas s
    Opening http://an.ma/web/oracle/forms/engine/icons/bgnd.gif no
    proxy
    Opening http://an.ma/web/oracle/ewt/painter/FixedImagePainter.
    class
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/laf/HorzMenuC
    ontroller.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/lwMenu/LWMenuBar$Acc
    elFilter.class
    Opening http://an.ma/web/oracle/ewt/event/tracking/GlassMouseG
    rabProvider$Disp.class
    Opening http://an.ma/web/oracle/forms/handler/UICommon.class
    Opening http://an.ma/web/oracle/forms/handler/IHandler.class
    Opening http://an.ma/web/oracle/forms/api/IObject.class no
    proxy
    Opening http://an.ma/web/oracle/forms/handler/FormWindow.class
    Opening http://an.ma/web/oracle/forms/engine/RunformException.
    class
    Opening http://an.ma/web/oracle/forms/net/Connection.class no
    proxy
    Opening http://an.ma/web/oracle/forms/engine/MessageHandler2.c
    lass
    Opening http://an.ma/web/oracle/forms/engine/FlushQueue.class
    Opening http://an.ma/web/oracle/ewt/util/ClipboardProxy.class
    Opening http://an.ma/web/oracle/forms/engine/Registry.class no
    proxy
    Opening http://an.ma/web/oracle/forms/registry/Registry.dat no
    proxy
    Opening http://an.ma/web/oracle/forms/registry/default.dat no
    proxy
    Opening http://an.ma/web/oracle/forms/net/SocketConnection.cla
    ss
    Opening http://an.ma/web/oracle/forms/net/EncryptedOutputStrea
    m.class
    Opening http://an.ma/web/oracle/forms/net/EncryptedInputStream
    .class
    Opening http://an.ma/web/oracle/forms/net/StreamMessageReader.
    class
    Opening http://an.ma/web/oracle/forms/net/StreamMessageWriter.
    class
    Opening http://an.ma/web/oracle/forms/engine/Message.class no
    proxy
    Opening http://an.ma/web/oracle/forms/engine/TerminalMessage.c
    lass
    Opening http://an.ma/web/oracle/forms/engine/IndexTag.class no
    proxy
    Opening http://an.ma/web/oracle/forms/net/SingleAccessorQueue.
    class
    Opening http://an.ma/web/oracle/forms/engine/DeleteMask.class
    Opening http://an.ma/web/oracle/forms/engine/FontEntry.class
    Forms Applet version is : 4
    Opening http://an.ma/web/oracle/forms/engine/DeferredMessage.c
    lass
    when i press refresh on the ie5 then it says applet started
    creates a window inside the browser with borders
    but does now show any thing expect a few more lines in the
    console window as following
    Opening http://an.ma/web/oracle/ewt/util/StringUtils.class
    Opening http://an.ma/web/oracle/ewt/lwAWT/BufferedPanel.class
    Opening http://an.ma/web/oracle/ewt/popup/PopupPanel.class
    Opening
    http://an.ma/web/oracle/ewt/lwAWT/WaitingDoubleBuffer.class
    Opening
    http://an.ma/web/oracle/ewt/lwAWT/BalkingDoubleBuffer.class
    Opening http://an.ma/web/oracle/ewt/graphics/GraphicUtils.class
    Opening http://an.ma/web/oracle/ewt/util/ComponentUtils.class
    Opening
    http://an.ma/web/oracle/ewt/layout/DirectionalLayout.class
    I hope any one can help me. I have been trying to run this thing
    for almost 2 months.
    bye
    null

    I had the same problem for the longest time... The problem is
    the "SplashScreen" it hangs everything up...
    My solution was add this line to your html:
    <param name="splashScreen" value="no">
    Good luck,
    Let me know if that works..
    Jeff.
    mobeen (guest) wrote:
    : Hi every one/anyone
    : i will really appreciate if i can get your attention and a
    little
    : bit of your help in configuration of Developer Server.
    : i have similar kind of a problem i hopeany one can shed some
    : light on it as well.
    : I am using
    : Pentium III 450 MHZ 256 MB Ram
    : NT server 4.0 with Service pack 3.
    : Oracle 8.1.5
    : IIS 4 or OAS 4.0.7
    : Developer 6.0 down loaded from OTN.
    : Internet Explorer 5.
    : I have failed to run forms 6.0 on the web, i have tried all
    the
    : option
    : JDK supplied with the Developer 6.0 Software on DOS prompt.
    : Jinitiator 1.1.7.11
    : When i run forms from the Designer they work But When i try
    them
    : to run form the browser Every thing works the status bar
    : of the Internet Explorer 5 says applet initialized but the
    forms
    : do not show up. when i press the refresh button of the browser
    : the status bar show applet running and a forms window appear's
    : but with out showing the form. I have checked from the Java
    : Console it shows the same error on and again with or without
    : jinitiator. I have almost tried every setting.
    : Oracle JInitiator version 1.1.7.11
    : Using JRE version 1.1.7.11o
    : User home directory = E:\WINNT\Profiles\Administrator
    : Proxy Configuration: Manual Configuration
    : Proxy:
    : Proxy Overrides: <local>
    : I hope any one can help me. I have been trying to run this
    thing
    : for almost 2 months.
    : bye
    null

  • Urgent: Help required for fetching CHILDNODE from an XML schema.

    Hi All,
    Good Morning to all, i have problem in extracting the child node name. I have created a xml schema say "emrxmlsample3.xsd" based on this schema i have created a xmltype table and inserted a value to the table. I have a problem in fetching the "CHILDNODE" name. Kindly help me in solving this problem. Here by i am posting all the workings i have done...
    I am using the following client:
    SQL*Plus: Release 10.2.0.1.0 - Production on Mon Jan 31 11:44:59 2011
    Copyright (c) 1982, 2005, Oracle. All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    ////////////////////////////////// XML Schema ///////////////////////
    begin
    dbms_xmlschema.registerSchema(
    'http://www.oradev.com/emrxmlsample3.xsd',
    '<schema xmlns="http://www.w3.org/2001/XMLSchema"
    targetNamespace="http://www.oradev.com/emrxmlsample3.xsd"
    xmlns:samp="http://www.oradev.com/emrxmlsample3.xsd"
    version="1.0">
         <element name="HISTORY">
              <complexType>
                   <sequence>
                        <element name="HPI">
                             <complexType>
                                  <sequence>
                                       <element name = "PAIN">
                                            <complexType>
                                                 <sequence>
                                                      <element name = "SET">
                                                           <complexType>
                                                                <sequence>
                                                                     <element name = "LOCATION">
                                                                          <complexType>
                                                                               <sequence>
                                                                                    <element name = "HEAD" type = "string"/>
                                                                                    <element name = "NECK" type = "string"/>
                                                                                    <element name = "BACK" type = "string"/>                                                       
                                                                                    <element name = "CHEST" type = "string"/>                                                       
                                                                                    <element name = "ABDOMEN" type = "string"/>     
                                                                                    <element name = "JOINTS" type = "string"/>     
                                                                                    <element name = "OTHERS" type = "string"/>
                                                                               </sequence>
                                                                          </complexType>
                                                                     </element>
                                                                     <element name = "SEVERITY">
                                                                          <complexType>
                                                                               <sequence>
                                                                                    <element name = "MILD" type = "string"/>
                                                                                    <element name = "MODERATE" type = "string"/>
                                                                                    <element name = "SEVERE" type = "string"/>                                                       
                                                                                    <element name = "VERYSEVERE" type = "string"/>                                                       
                                                                               </sequence>
                                                                          </complexType>
                                                                     </element>     
                                                                     <element name = "CHARACTER">
                                                                          <complexType>
                                                                               <sequence>
                                                                                    <element name = "DIFFUSE" type = "string"/>
                                                                                    <element name = "PRICKING" type = "string"/>
                                                                                    <element name = "CUTTING" type = "string"/>                                                       
                                                                                    <element name = "PIERCING" type = "string"/>                                                       
                                                                               </sequence>
                                                                          </complexType>
                                                                     </element>                                                                      
                                                                </sequence>
                                                           </complexType>      
                                                      </element>
                                                 </sequence>     
                                            </complexType>
                                       </element>
                                  </sequence>
                             </complexType>
                        </element>
                   </sequence>
              </complexType>
         </element>
         </schema>',
    TRUE, TRUE, FALSE, FALSE);
    end;
    ////////////////////////// Table which has multiple Column //////////////////////////
    CREATE TABLE chipsemr3 (
    id number, CHIPSEMR XmlType)
    XMLTYPE CHIPSEMR STORE AS OBJECT RELATIONAL
    XMLSCHEMA "http://www.oradev.com/emrxmlsample3.xsd"
    ELEMENT "HISTORY";
    ///////////////////////////////// Insert Query in chipsxmltable //////////////////////////
    INSERT INTO chipsemr3 VALUES(1,
    xmltype.createxml('<?xml version="1.0"?>
    <samp:HISTORY xmlns:samp="http://www.oradev.com/emrxmlsample3.xsd" >
              <HPI>
                   <PAIN>
                        <SET>
                             <LOCATION>
                                  <HEAD> YES </HEAD>
                                  <NECK> NO </NECK>
                                  <BACK> N </BACK>
                                  <CHEST> N </CHEST>
                                  <ABDOMEN> N </ABDOMEN>
                                  <JOINTS> N </JOINTS>
                                  <OTHERS> N </OTHERS>
                             </LOCATION>
                             <SEVERITY>
                                  <MILD> N </MILD>
                                  <MODERATE> N </MODERATE>
                                  <SEVERE> N </SEVERE>
                                  <VERYSEVERE> N </VERYSEVERE>
                             </SEVERITY>
                             <CHARACTER>
                                  <DIFFUSE> N </DIFFUSE>
                                  <PRICKING> N </PRICKING>
                                  <CUTTING> N </CUTTING>
                                  <PIERCING> N </PIERCING>
                             </CHARACTER>
                        </SET>
                   </PAIN>
              </HPI>
    </samp:HISTORY>'));
    To show the Root Node Name:
    1. Query
    select x.CHIPSEMR.getrootelement() CHIPSNODES from chipsemr3 x, table(xmlsequence(x.CHIPSEMR.extract('//node()'))) x
    Apologies if the description is not clear. Kindly let me know if further details are needed. Many thanks for your help.
    Very best regards,
    Godwin Jebakumar C.V.

    Hi,
    I'm not sure what you want actually.
    You can get all elements names with :
    SELECT value(x).getRootElement() chipsnodes
    FROM chipsemr3 t,
         TABLE(
           XMLSequence(
             Extract(t.chipsemr, '//*')
         ) x
    ;or, starting with 10.2 :
    SELECT x.*
    FROM chipsemr3 t,
         XMLTable(
          'for $i in //* return local-name($i)'
          passing t.chipsemr
          columns chipsnode varchar2(30) path '.'
         ) x
    ;

  • Urgent Help Required for Connect Four Game

    Hi all,
    I am a student and I have a project due 20th of this month, I mean May 20, 2007 after 8 days. The project is about creating a Connect Four Game. I have found some code examples on the internet which helped me little bit. But there are lot of problems I am facing developing the whole game. I have drawn the Board and the two players can play. The players numbers can fill the board, but I have problem implementing the winner for the game. I need to implement the hasWon() method for Horizontal win, Vertical win and Diagonal win. I also found some code examples on the net but I was unable to make it working. I have 5 classes and one interface which I m implementing. The main problem is how to implement the hasWon() method in the PlayGame class below with Horizontal, vertical and diagonal moves.
    Sorry there is so much code.
    This the interface I must implement, but now I am only implementing the int move() of this interface. I will implement the rest later after solving the winner problem with your help.
    Interface code..............
    interface Player {
    void init (Boolean color);
    String name ();
    int move ();
    void inform (int i);
    Player1 class......................
    import java.util.*;
    import java.io.*;
    import javax.swing.*;
    public class Player1 implements Player
    public Player1()
    public int move()
    Scanner scan = new Scanner(System.in);
    // BufferedReader stdin = new BufferedReader (new InputStreamReader(System.in));
    int player1;
    System.out.println ("What is your Number, player 1?");
    player1 = scan.nextInt();
    System.out.println ("Hey number"+player1+" are you prepared to CONNECT FOUR");
    System.out.println();
    return player1;
    //Player.move();
    //return player1;
    }//end move method
    public void init (Boolean color)
    public void inform (int i)
    public String name()
    return "Koonda";
    }//end player1 class
    Player2 class...........................
    import java.util.*;
    import java.io.*;
    import javax.swing.*;
    public class Player2 implements Player
    public int move()
    //int cup0,cup1,cup2,cup3,cup4,cup5,cup6;
    // cup0=5;cup1=5;cup2=5;cup3=5;cup4=5;cup5=5;cup6=5;
    //int num1, num2;
    Scanner scan = new Scanner(System.in);
    // BufferedReader stdin = new BufferedReader (new InputStreamReader(System.in));
    int player2;
    System.out.println ("What is your Number, player 2?");
    player2 = scan.nextInt();
    System.out.println ("Hey "+player2+" are you prepared to CONNECT FOUR");
    System.out.println();
    //return player1;
    return player2;
    }//end move method
    public void init (Boolean color)
    public void inform (int i)
    public String name()
    return "malook";
    }//end player1 class
    PlayGame class which contains all the functionality.........................................................
    import java.util.*;
    import java.io.*;
    import javax.swing.*;
    public class PlayGame
    //Player player1;
    //Player player2;
    int [][]ConnectFourArray;
    boolean status;
    int winner;
         int player1;
         int player2;
         public PlayGame()
              //this.player1 = player1;
              //this.player2 = player2;
         public void StartGame()
         try{
         // int X = 0, Y = 0;
         //int value;
         int cup0,cup1,cup2,cup3,cup4,cup5,cup6;
    cup0=5;cup1=5;cup2=5;cup3=5;cup4=5;cup5=5;cup6=5;
         int[][] ConnectFourArray = new int[6][7];
         int num1, num2;
         for(int limit=21;limit!=0;limit--)
    BufferedReader selecter = new BufferedReader (new InputStreamReader(System.in));
    String column1;
    System.out.println();
    for ( int row=0; row < ConnectFourArray.length; row++ ){
    System.out.print("Row " + row + ": ");
    for ( int col=0; col < ConnectFourArray[row].length; col++ )
    System.out.print( ConnectFourArray[row][col] + " ");
    System.out.println();
    System.out.println();
    System.out.println ("Please Select a column of 0 through 6 ");
    column1 = selecter.readLine();
    num1= Integer.parseInt(column1);
    System.out.println();
    if (num1==0){
    ConnectFourArray[cup0][0]=1;
    cup0=cup0-1;
    else if (num1==1){
    ConnectFourArray[cup1][1]=1;
    cup1=cup1-1;
    else if (num1==2){
    ConnectFourArray[cup2][2]=1;
    cup2=cup2-1;
    else if (num1==3){
    ConnectFourArray[cup3][3]=1;
    cup3=cup3-1;
    else if (num1==4){
    ConnectFourArray[cup4][4]=1;
    cup4=cup4-1;
    else if (num1==5){
    ConnectFourArray[cup5][5]=1;
    cup5=cup5-1;
    else if (num1==6){
    ConnectFourArray[cup6][6]=1;
    cup6=cup6-1;
    System.out.println();
    BufferedReader selecter2 = new BufferedReader (new InputStreamReader(System.in));
    String column2;
    System.out.println();
    for ( int row=0; row < ConnectFourArray.length; row++ ){
    System.out.print("Row " + row + ": ");
    for ( int col=0; col < ConnectFourArray[row].length; col++ )
    System.out.print( ConnectFourArray[row][col] + " ");
    System.out.println();
    System.out.println();
    System.out.println ("Please Select a column of 0 through 6 ");
    column1 = selecter.readLine();
    num1= Integer.parseInt(column1);
    System.out.println();
    if (num1==0){
    ConnectFourArray[cup0][0]=2;
    cup0=cup0-1;
    else if (num1==1){
    ConnectFourArray[cup1][1]=2;
    cup1=cup1-1;
    else if (num1==2){
    ConnectFourArray[cup2][2]=2;
    cup2=cup2-1;
    else if (num1==3){
    ConnectFourArray[cup3][3]=2;
    cup3=cup3-1;
    else if (num1==4){
    ConnectFourArray[cup4][4]=2;
    cup4=cup4-1;
    else if (num1==5){
    ConnectFourArray[cup5][5]=2;
    cup5=cup5-1;
    else if (num1==6){
    ConnectFourArray[cup6][6]=2;
    cup6=cup6-1;
    System.out.println();
    System.out.println();
    catch (Exception E){
    System.out.println("Error with input");
    System.out.println("Would you like to play again");
    try{
    String value;
    BufferedReader reader = new BufferedReader (new InputStreamReader(System.in));
    // Scanner scan = new Scanner(System.in);
    System.out.println("Enter yes to play or no to quit");
    // value = scan.nextLine();
    // String value2;
    value = reader.readLine();
    //value2 = reader.readLine();
    if (value.equals("yes"))
    System.out.println("Start again");
    StartGame(); // calling the StartGame method to play a game once more
    else if (value.equals("no"))
    System.out.println("No more games to play");
    // System.exit(0);
    else
    System.exit(0);
    System.out.println();
    catch (Exception e){
    System.out.println("Error with input");
    finally
    System.out.println(" playing done");
    //StartGame();
    //check for horizontal win
    public int hasWon()
    int status = 0;
    for (int row=0; row<6; row++)
    for (int col=0; col<4; col++)
    if (ConnectFourArray[col][row] != 0 &&
    ConnectFourArray[col][row] == ConnectFourArray[col+1][row] &&
    ConnectFourArray[col][row] == ConnectFourArray[col+2][row] &&
    ConnectFourArray[col][row] == ConnectFourArray[col+3][row])
    //status = true;//int winner;
    if(status == player1)
    System.out.println("Player 1 is the winner");
    else if(status == player2)
    System.out.println("Player 2 is the winner" );
    }//end inner for loop
    }// end outer for loop
    } // end method Winner
    return status;
    }//end class
    ClassConnectFour which designs the board........................
    import java.util.*;
    import java.io.*;
    import javax.swing.*;
    public class ClassConnectFour
         //Player player1;
         //Player player2;
         public ClassConnectFour()
              //this.player1 = player1;
    public void DrawBoard()
    int[][] ConnectFourArray = new int[6][7] ;
    for ( int row=0; row < ConnectFourArray.length; row++ ){
    System.out.print("Row " + row + ": ");
    for ( int col=0; col < ConnectFourArray[row].length; col++ )
    System.out.print( ConnectFourArray[row][col] + " ");
    System.out.println();
    System.out.println();
    }//end class
    TestConnetFour class which uses most of the above class..................
    import java.util.*;
    import java.io.*;
    import javax.swing.*;
    public class TestConnectFour
    public static void main(String[] args)
    ClassConnectFour cf = new ClassConnectFour();
    cf.DrawBoard();
    Player1 player1 = new Player1();
    Player2 player2 = new Player2();
    player1.move();
    player2.move();
    System.out.println("Number 1 belongs to player " + player1.name());
    System.out.println("Number 2 belongs to player " + player2.name());
    PlayGame pg = new PlayGame();
    pg.StartGame();
    pg.hasWon();
    //pg.Play();
    //System.out.println(player.name());
    //System.out.println(player2.name());
    }// end main
    }//end class
    I am sorry for all this junk code but I only understand it this way. Your urgent help is required. Looking forward to your reply.
    Thanks in advance.
    Koonda
    //

    Hi,
    Thanks for your help but I really don't understand the table lookup algorithm. Could you please send me some code to implement that.
    I will send you the formatted code as well
    Thanks for your help.
    looking forward to your reply.
    Koonda
    Hi all,
    I am a student and I have a project due 20th of this month, I mean May 20, 2007 after 8 days. The project is about creating a Connect Four Game. I have found some code examples on the internet which helped me little bit. But there are lot of problems I am facing developing the whole game. I have drawn the Board and the two players can play. The players numbers can fill the board, but I have problem implementing the winner for the game. I need to implement the hasWon() method for Horizontal win, Vertical win and Diagonal win. I also found some code examples on the net but I was unable to make it working. I have 5 classes and one interface which I m implementing. The main problem is how to implement the hasWon() method in the PlayGame class below with Horizontal, vertical and diagonal moves.
    Sorry there is so much code.
    This the interface I must implement, but now I am only implementing the int move() of this interface. I will implement the rest later after solving the winner problem with your help.
    Interface code..............
    interface Player {
    void init (Boolean color);
    String name ();
    int move ();
    void inform (int i);
    Player1 class......................
    import java.util.*;
    import java.io.*;
    import javax.swing.*;
    public class Player1 implements Player
    public Player1()
    public int move()
    Scanner scan = new Scanner(System.in);
    // BufferedReader stdin = new BufferedReader (new InputStreamReader(System.in));
    int player1;
    System.out.println ("What is your Number, player 1?");
    player1 = scan.nextInt();
    System.out.println ("Hey number"+player1+" are you prepared to CONNECT FOUR");
    System.out.println();
    return player1;
    //Player.move();
    //return player1;
    }//end move method
    public void init (Boolean color)
    public void inform (int i)
    public String name()
    return "Koonda";
    }//end player1 class
    Player2 class...........................
    import java.util.*;
    import java.io.*;
    import javax.swing.*;
    public class Player2 implements Player
    public int move()
    //int cup0,cup1,cup2,cup3,cup4,cup5,cup6;
    // cup0=5;cup1=5;cup2=5;cup3=5;cup4=5;cup5=5;cup6=5;
    //int num1, num2;
    Scanner scan = new Scanner(System.in);
    // BufferedReader stdin = new BufferedReader (new InputStreamReader(System.in));
    int player2;
    System.out.println ("What is your Number, player 2?");
    player2 = scan.nextInt();
    System.out.println ("Hey "+player2+" are you prepared to CONNECT FOUR");
    System.out.println();
    //return player1;
    return player2;
    }//end move method
    public void init (Boolean color)
    public void inform (int i)
    public String name()
    return "malook";
    }//end player1 class
    PlayGame class which contains all the functionality.........................................................
    import java.util.*;
    import java.io.*;
    import javax.swing.*;
    public class PlayGame
    //Player player1;
    //Player player2;
    int [][]ConnectFourArray;
    boolean status;
    int winner;
    int player1;
    int player2;
    public PlayGame()
    //this.player1 = player1;
    //this.player2 = player2;
    public void StartGame()
    try{
    // int X = 0, Y = 0;
    //int value;
    int cup0,cup1,cup2,cup3,cup4,cup5,cup6;
    cup0=5;cup1=5;cup2=5;cup3=5;cup4=5;cup5=5;cup6=5;
    int[][] ConnectFourArray = new int[6][7];
    int num1, num2;
    for(int limit=21;limit!=0;limit--)
    BufferedReader selecter = new BufferedReader (new InputStreamReader(System.in));
    String column1;
    System.out.println();
    for ( int row=0; row < ConnectFourArray.length; row++ ){
    System.out.print("Row " + row + ": ");
    for ( int col=0; col < ConnectFourArray[row].length; col++ )
    System.out.print( ConnectFourArray[row][col] + " ");
    System.out.println();
    System.out.println();
    System.out.println ("Please Select a column of 0 through 6 ");
    column1 = selecter.readLine();
    num1= Integer.parseInt(column1);
    System.out.println();
    if (num1==0){
    ConnectFourArray[cup0][0]=1;
    cup0=cup0-1;
    else if (num1==1){
    ConnectFourArray[cup1][1]=1;
    cup1=cup1-1;
    else if (num1==2){
    ConnectFourArray[cup2][2]=1;
    cup2=cup2-1;
    else if (num1==3){
    ConnectFourArray[cup3][3]=1;
    cup3=cup3-1;
    else if (num1==4){
    ConnectFourArray[cup4][4]=1;
    cup4=cup4-1;
    else if (num1==5){
    ConnectFourArray[cup5][5]=1;
    cup5=cup5-1;
    else if (num1==6){
    ConnectFourArray[cup6][6]=1;
    cup6=cup6-1;
    System.out.println();
    BufferedReader selecter2 = new BufferedReader (new InputStreamReader(System.in));
    String column2;
    System.out.println();
    for ( int row=0; row < ConnectFourArray.length; row++ ){
    System.out.print("Row " + row + ": ");
    for ( int col=0; col < ConnectFourArray[row].length; col++ )
    System.out.print( ConnectFourArray[row][col] + " ");
    System.out.println();
    System.out.println();
    System.out.println ("Please Select a column of 0 through 6 ");
    column1 = selecter.readLine();
    num1= Integer.parseInt(column1);
    System.out.println();
    if (num1==0){
    ConnectFourArray[cup0][0]=2;
    cup0=cup0-1;
    else if (num1==1){
    ConnectFourArray[cup1][1]=2;
    cup1=cup1-1;
    else if (num1==2){
    ConnectFourArray[cup2][2]=2;
    cup2=cup2-1;
    else if (num1==3){
    ConnectFourArray[cup3][3]=2;
    cup3=cup3-1;
    else if (num1==4){
    ConnectFourArray[cup4][4]=2;
    cup4=cup4-1;
    else if (num1==5){
    ConnectFourArray[cup5][5]=2;
    cup5=cup5-1;
    else if (num1==6){
    ConnectFourArray[cup6][6]=2;
    cup6=cup6-1;
    System.out.println();
    System.out.println();
    catch (Exception E){
    System.out.println("Error with input");
    System.out.println("Would you like to play again");
    try{
    String value;
    BufferedReader reader = new BufferedReader (new InputStreamReader(System.in));
    // Scanner scan = new Scanner(System.in);
    System.out.println("Enter yes to play or no to quit");
    // value = scan.nextLine();
    // String value2;
    value = reader.readLine();
    //value2 = reader.readLine();
    if (value.equals("yes"))
    System.out.println("Start again");
    StartGame(); // calling the StartGame method to play a game once more
    else if (value.equals("no"))
    System.out.println("No more games to play");
    // System.exit(0);
    else
    System.exit(0);
    System.out.println();
    catch (Exception e){
    System.out.println("Error with input");
    finally
    System.out.println(" playing done");
    //StartGame();
    //check for horizontal win
    public int hasWon()
    int status = 0;
    for (int row=0; row<6; row++)
    for (int col=0; col<4; col++)
    if (ConnectFourArray[col][row] != 0 &&
    ConnectFourArray[col][row] == ConnectFourArray[col+1][row] &&
    ConnectFourArray[col][row] == ConnectFourArray[col+2][row] &&
    ConnectFourArray[col][row] == ConnectFourArray[col+3][row])
    //status = true;//int winner;
    if(status == player1)
    System.out.println("Player 1 is the winner");
    else if(status == player2)
    System.out.println("Player 2 is the winner" );
    }//end inner for loop
    }// end outer for loop
    } // end method Winner
    return status;
    }//end class
    ClassConnectFour which designs the board........................
    import java.util.*;
    import java.io.*;
    import javax.swing.*;
    public class ClassConnectFour
    //Player player1;
    //Player player2;
    public ClassConnectFour()
    //this.player1 = player1;
    public void DrawBoard()
    int[][] ConnectFourArray = new int[6][7] ;
    for ( int row=0; row < ConnectFourArray.length; row++ ){
    System.out.print("Row " + row + ": ");
    for ( int col=0; col < ConnectFourArray[row].length; col++ )
    System.out.print( ConnectFourArray[row][col] + " ");
    System.out.println();
    System.out.println();
    }//end class
    TestConnetFour class which uses most of the above class..................
    import java.util.*;
    import java.io.*;
    import javax.swing.*;
    public class TestConnectFour
    public static void main(String[] args)
    ClassConnectFour cf = new ClassConnectFour();
    cf.DrawBoard();
    Player1 player1 = new Player1();
    Player2 player2 = new Player2();
    player1.move();
    player2.move();
    System.out.println("Number 1 belongs to player " + player1.name());
    System.out.println("Number 2 belongs to player " + player2.name());
    PlayGame pg = new PlayGame();
    pg.StartGame();
    pg.hasWon();
    //pg.Play();
    //System.out.println(player.name());
    //System.out.println(player2.name());
    }// end main
    }//end classI am sorry for all this junk code but I only understand it this way. Your urgent help is required. Looking forward to your reply.
    Thanks in advance.
    Koonda

Maybe you are looking for