Problem with running java.exe

I am new to Java, I have windows XP PRO and have recently installed JDK 5.0 with net beans 4.0 beta 2 bundle to C:\. I have also set the PATH & CLASSPATH as follows
PATH = C:\jdk1.5.0\bin
CLASSPATH = .;%classpath%
I am able to compile at the comand prompt using for example javac Fruit.java
but when I try to run the program using java Fruit , I get the following message:
Exception in thread "main" java.lang.NoClassDefFoundError: Fruit
Please can some one help me where am I going wrong?

Thakyou for the reply , but I am still having the same problem
My .Java & .class file are in C:\MyJava
My JDK is in C:\jdk1.5.0
My Command Prompt is C:\MyJava
The Only way I have managed to run my programs is, at the Command Prompt by typying
C:\MyJava>C:\jdk1.5.0\bin\java Fruit
But I am able to compile my programs by typing
C:\MyJava>javac Fruit.java
I would like to know is there any way I could run my programs by typing
C:\MyJava>java Fruit
My Source code is
public class Fruit
public static void main(String[] args)
//Declare and initialize three variables
int numOranges = 5;
int numApples = 10;
int numFruits = 0;
numFruits = numOranges + numApples;
System.out.println("A totally fruity program");
System.out.println("Total fruit is " + numFruits);
C:\MyJava>set
ALLUSERSPROFILE=C:\Documents and Settings\All Users
APPDATA=C:\Documents and Settings\S Kathirkamanathan\Application Data
CLASSPATH=.;%classpath%
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=SAYANTHA-WL3F5L
ComSpec=C:\WINDOWS\system32\cmd.exe
HOMEDRIVE=C:
HOMEPATH=\Documents and Settings\S Kathirkamanathan
LOGONSERVER=\\SAYANTHA-WL3F5L
NUMBER_OF_PROCESSORS=2
OS=Windows_NT
Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\AT
I Technologies\ATI Control Panel;C:\Program Files\Sonic\MyDVD;C:\jdk1.5.0\bin;c:
\jdk1.5.0\bin;
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 15 Model 3 Stepping 3, GenuineIntel
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0303
ProgramFiles=C:\Program Files
PROMPT=$P$G
SESSIONNAME=Console
SystemDrive=C:
SystemRoot=C:\WINDOWS
TEMP=C:\DOCUME~1\SKATHI~1\LOCALS~1\Temp
TMP=C:\DOCUME~1\SKATHI~1\LOCALS~1\Temp
USERDOMAIN=SAYANTHA-WL3F5L
USERNAME=S Kathirkamanathan
USERPROFILE=C:\Documents and Settings\S Kathirkamanathan
windir=C:\WINDOWS
I would be grateful for any suggestions. Thank you

Similar Messages

  • I have a problem with running an EXE file on win2000, the Lab View is 5.1 and I do not know if it is 16 bit...

    I have a problem with running an EXE file on win2000, the Lab View is 5.1 and I do not know if it is 16 bit...what should I do?

    Hi Arika,
    The drivers that you need to install to make your executable work depends on what your executable is doing. To get started, you need to have the LabVIEW Run-Time Engine installed on your target machine (the Win2000 machine you are planning to use) in order to run your executable. Next, you need to determine what drivers your executable uses, if any. For example, if you are using GPIB instrument control, you will need to install the NI-488 drivers on your target machine. If you are performing data acquisition, you will need to install NI-DAQ drivers. If you are doing image acquistion, you will need to install NI-IMAQ drivers.
    All these drivers are available for downloading on ni.com. To get the drivers, go to ht
    tp://www.ni.com/support , click on the link that takes you to Drivers and Updates (under Option 3), and click on the links to get to the driver(s) you need. For example, if you need the LabVIEW 5.1.1 Run-Time engine, click on the All Drivers and Updates by Application link on the main page (http://www.ni.com/softlib.nsf/). Then click on the LabVIEW link, Windows 2000, Run Time Engine, and then you will see the link to get to the page to download the LabVIEW 5.1.1 Run-Time Engine.
    I hope this information helps.
    Best Regards,
    Wilbur Shen
    National Instruments

  • Problem with running rhcl.exe in batch file

    Hi,
    I'm running Robohelp 8 and trying to use rhcl.exe to generate multiple help projects. I'm having a problem with the folder where the rhcl.exe is generating the web help. It seems to ignore the "-o" switch and gets the generation folder from the project all the time. As you can see from the log file below, the exe appears to pick up the "-o" path  (......\Test\Opportunities.htm), but writes the generated files to the path in the project (.....\Opportunities\index.htm).
    Anyone else come across this problem?
    MY BATCH FILE IS:
    "C:\Program Files\Adobe\Adobe RoboHelp 8\RoboHTML\rhcl.exe" "C:\Data\RoboHelp\RoboHelp Projects\SubProjects\SupplierPortal\Opportunities\Opportunities.xpj" -l Webhelp -o "C:\Data\RoboHelp\GeneratedWebHelp\SupplierPortal\mergedProjects\Test" -g "C:\Data\RoboHelp\GeneratedWebHelp\Generate.log"
    THE LOG FILE CREATED IS:
    Adobe (R) RoboHelp Project Command Line Compiler version 8.0.0.203
    Copyright (C) 2006-2007, Adobe Systems Incorporated and its licensors. All rights reserved.
    Project: C:\Data\RoboHelp\RoboHelp Projects\SubProjects\SupplierPortal\Opportunities\Opportunities.xpj
    Layout: WebHelp.
    Output: C:\Data\RoboHelp\GeneratedWebHelp\SupplierPortal\mergedProjects\Test\Opportunities.htm.
    Scanning project for compilation....
    Scanning finished.
    Warning: No baggage file description.
    Starting compilation...
    WebHelp preprocessor 8.0.0.203
    Compiling C:\Data\RoboHelp\GeneratedWebHelp\SupplierPortal\mergedProjects\Opportunities\index.htm ...
    Preparing to create WebHelp...
    Clearing output folder...
    Preparing files for WebHelp...
    Copying files...
    Updating files...
    Finished preparing in 1 sec(s)
    Initializing compiler...
    Generating WebHelp 5.50 (8.0.0.203)...
    Processing TOC data...
    Processing Context-sensitive-Help data...
    Updating HTML topics...
    Updating opportunities/e-auctions/how_do_i/creating_a_new_bid.htm...
    Updating opportunities/e-auctions/how_do_i/creating_a_response.htm...
    Updating opportunities/e-auctions/how_do_i/viewing_auction_details.htm...
    Updating opportunities/e-auctions/how_do_i/viewing_bid_details.htm...
    Updating opportunities/e-auctions/how_do_i/viewing_a_list_of_auctions.htm...
    Updating opportunities/e-auctions/how_do_i/withdrawing_from_an_auction.htm...
    Updating opportunities/e-auctions/screen_level_help/list_of_auctions.htm...
    Updating opportunities/e-auctions/screen_level_help/new_bid.htm...
    Updating opportunities/e-auctions/screen_level_help/view_auction_details.htm...
    Updating opportunities/e-auctions/screen_level_help/view_bid_details.htm...
    Updating opportunities/e-auctions/introduction_to_e-auctions.htm...
    Updating opportunities/introduction_to_opportunities.htm...
    Finished updating HTML topics in 0 sec(s) : total 12 topic(s).
    Processing Full-text-search data...
    Finished processing Full-Text-Search data in 0 sec(s)
    Applying WebHelp 5.50 Template...
    Finished applying Template in 1 sec(s)
    Processing Mark of the Web...
    Finished compiling WebHelp in 3 sec(s)
    Compilation complete.

    Hi again
    And that's why we call them bugs.
    Did you remember to report it as same to Adobe? The link is in my sig.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML within the day - $24.95!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Problem with running java program

    Hey again!
    I missed out some information in last posting.. here is the full description
    I have just installed 1.5.0_06 and have set paths and what otherwise is necessary to run the java programs. I was testing the install and run a standard HelloWorld.java program
    I got the following error:
    Exception in thread main java.lang.NoClassDefFoundError: HelloWorld
    what is wrong...
    Here is the entire HelloWorld.java
    public class HelloWorld
    public HelloWorld()
    System.out.println("Hello World");
    public static void main(String[] args)
    HelloWorld hw = new HelloWorld();
    I have checked that the path is correct too..
    Hopefully someone can help me!
    Anders

    Your Path is set, probably the problem is classpath.
    Change the cmd/command prompt to the directory that contains your HelloWorld.class file, verifying that it exists. If it does, issue this command from that directory:
    java -cp . HelloWorld
    Important: include the period and surrounding spaces
    If that works, you can learn about setting and using the classpath here:
    http://java.sun.com/j2se/1.5.0/docs/tooldocs/index.html#general
    By the way, just add a reply to your original post with the additional information, rather than creating another post. That eliminates duplication of replies.

  • Win2000 NoClassDefFoundError running java.exe from DOS prompt

    I am using Windows 2000 with J2SE v 1.3.1_02 and have a problem when I run java.exe from the command line for classes that are defined to be in a package. I can both compile and run this program from the TextPad editor but when I run it from a DOS prompt I get the error "Exception in thread "main" java.lang.NoClassDefFoundError: MyClass"
    My CLASSPATH is set to D:\
    The files MyClass.java and MyClass.class are in the directory D:\MyProject
    here is the source:
    package MyProject;
    public class MyClass
         public static void main(String[] args)
              System.out.println("MyClass main");
    Note that if I comment out the package statement and add "." to CLASSPATH then it runs from the DOS prompt. Why does the program run from inside TextPad but not from the DOS prompt? Seems to be some type of bug in java.exe on Windows 2000 when the keyword package is used.

    It turns out that if you use the main method in a class that declares the package statement you need to use the fully qualified name to run the program. Using this statement works for this problem:
    java MyProject/MyClass
    the forward slash is required even though is a Windows system.

  • Problem with running the midlet class (Error with Installation suite )

    hi everyone...
    i have problem with running the midlet class(BluetoothChatMIDlet.java)
    it keep showing me the same kind of error in the output pane of netbeans...
    which is:
    Installing suite from: http://127.0.0.1:49296/Chat.jad
    [WARN] [rms     ] javacall_file_open: wopen failed for: C:\Users\user\javame-sdk\3.0\work\0\appdb\delete_notify.dat
    i also did some research on this but due to lack of forum that discussing about this,im end up no where..
    from my research i also find out that some of the developer make a changes in class properties..
    where they check the SIGN DISTRIBUTION...and also change the ALIAS to UNTRUSTED..after that,click the EXPORT KEY INTO JAVA ME SDK,PLATFORM,EMULATOR...
    i did that but also didnt work out..
    could any1 teach me how to fix it...
    thanx in advance... :)

    actually, i do my FYP on bluetooth chatting...
    and there will be more than two emulators running at the same time..
    one of my frens said that if u want to run more than one emulator u just simply click on run button..
    and it will appear on the screen..

  • I ve a problem with running the javabeans

    dear all
    i ve a problem with running javabean in forms 9i all codes, program units are correct. i think there is something with classpath which i dont where to put the path of bean jar files. however the simple code for the Colorpicker and keyFilter dont work when clicking the button to fire the trigger to bring the bean up.
    thank you
    Walaa eddien

    Walaa,
    Make sure you've entered the implementation class (do not append the class extension). For example, if you have a class example.class in the package otn.oracle.forum, the implementation class should be: otn.oracle.forum.example
    Make sure you place the containing java archive in <OH>/forms90/java and do not forget to update the configuration section (default or app specific) parameter archive_jini accordingly.
    Jeroen van Schaijk

  • Running java.exe task preventing remote stop, probably from JMS?

    Hi,
              We are using WL 8.1 SP2 running on Windows 2003. A server is setup in Node Manager. It could start and stop fine from Remote Start tab in admin console before JMS stuff are added. If I stop both admin and server NT services directly, I could still see a running Java.exe in task manager. What could be the problem?
              Tommy

    Try to see:
    http://forums.cgsociety.org/showthread.php?t=294973
    Bye,
    leo

  • Problems with running Applet through HTML

    I am currently having problems with running my file through the HTML. For some reason when I open it in the browser it keeps saying Error. I am programming in NetBeans.
    The code I am using is:
    <html>
    <head>
    <title></title>
    </head>
    <body>
    <applet code=”CarApplet.class” codebase="RedCarApplet.jar" width=690 height=300></applet>
    </body>
    </html>

    Heres the error message, I see that it cannot find the class I have stated above. Any solutions?
    My class is in the 'build' folder but, the HTML file is in the 'src' folder. Now my applet contains a 'jar' file, do I need to add that to the HTML code?
    load: class ‚Ä?TunerApplet.class‚Ä? not found.
    java.lang.ClassNotFoundException: ‚Ä?TunerApplet.class‚Ä?
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.FileNotFoundException: C:\Users\*****\*******\NetBeansProjects\RadioApplet\src\‚Ä?TunerApplet\class‚Ä?.class (The system cannot find the path specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(Unknown Source)
         at java.io.FileInputStream.<init>(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 9 more
    Exception: java.lang.ClassNotFoundException: ”TunerApplet.class”

  • Problem with runas command. Elevation error

    Running on Win 8.1 Pro I'm facing a problem with runas.
    What I'm trying to do is launch an mmc as my domain admin account.
    Therefore I type this command from an elevated cmd (Right-click "Run as Administrator"):
    runas /user:Contoso\MyDomainAdmin /noprofile mmc
    This worked like a charm in Windows 7, and on my Win81Pro client it yields:
    RUNAS ERROR: Unable to run - mmc
    740: The requested operation requires elevation.
    The account I'm logged in with, is local admin, and the UAC slider is set in the bottom.
    In the eventviewer, I only see some special logons where my normal account is trying to impersonate my domain admin account, and the next event, the domain admin's session is destroyed.
    If this is by design, how would I then run mmc as my domain admin and at the same time avoid its credentials being stored on the local machine?
    Thanks in advance!

    yes, you need to be local admin to be able to elevate!
    I've tested this on a system here and I reproduce the issue you encountered. Some investigation showed running a program that requires elevation using runas is not  possible http://msdn.microsoft.com/en-us/library/bb756922.aspx
    MCP/MCSA/MCTS/MCITP

  • Solution Manager systems RAM requirements - problems with the Java Engine

    Hello,
    I am about to install SAP Solution Manager 7 on a WIndows 2003 Server x64 but I need to know what the RAM requirements are? I have been having problems with the Java Engine starting and it seems to time out, I have heard that this is a very RAM hungry process and it might be why?
    Many thanks for your help in advance,
    Omar

    Hello Omar,
    To size SAP Solution Manager 7.0 EHP1 we recommend to use the SAP Solution Manager Quicksizer Tool at:
    http://service.sap.com/sizing-solman
    Here you find information on how to use the tool, how to collect input data for E2E Scenario Sizing, on SAP E2E RCA Sizing, Introscope Tuning, Wily Enterprise Manager Cluster Setup for E2E RCA Scenario and BI Aggregation Strategy in E2E Scenario.
    Please find more information about installing Solution Manager in:
    http://service.sap.com/instguides -> SAP Solution Manager
    I hope this information helps.
    Thanks,
    Mark

  • [SOLVED] Problem with running GUI apps as root

    Hi,
    I have a serious problem with running any kind of software having GUI as root, which is indispensable for editing system files. For example I want to edit /etc/pacman.conf file with KWrite, and here's what I get
    [zbyszek@barca ~]$ xhost +
    access control disabled, clients can connect from any host
    [root@barca zbyszek]# kwrite /etc/pacman.conf
    kwrite(11282): Session bus not found
    KCrash: Application 'kwrite' crashing...
    KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
    sock_file=/root/.kde4/socket-barca/kdeinit4__0
    Warning: connect() failed: : Nie ma takiego pliku ani katalogu
    KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi directly
    drkonqi(11284): Session bus not found
    Can anyone help me with this? Can anyone tell me how to login as root?
    Thank you in advance.
    Last edited by Zibi1981 (2010-10-05 19:30:20)

    O.K., but how to run KWrite as root on my account??? That was my main question
    karol wrote:
    Try running 'xhost +' as root.
    https://bbs.archlinux.org/viewtopic.php?pid=817674
    Maybe vim is in edit mode when you press 'i' but it doesn't show '-- INSERT --' at the bottom of the screen.
    Here you are
    [root@barca zbyszek]# xhost +
    access control disabled, clients can connect from any host
    [root@barca zbyszek]# kwrite /etc/pacman.conf
    kwrite(12941): Session bus not found
    KCrash: Application 'kwrite' crashing...
    KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi from kdeinit
    sock_file=/root/.kde4/socket-barca/kdeinit4__0
    Warning: connect() failed: : Nie ma takiego pliku ani katalogu
    KCrash: Attempting to start /usr/lib/kde4/libexec/drkonqi directly
    drkonqi(12942): Session bus not found
    Last edited by Zibi1981 (2010-09-25 10:19:50)

  • JCoIDoc IDocLibrary 3.0.2 Problems with IDocServerExample.java

    Hello, I´m facing a problem with IDocServerExample.java. I created a new project in eclipse, added the package com.sap.conn.idoc.examples and the class IDocServerExample.java. I configured the files "MYSERVER.jcoServer" and "BCE.jcoDestination" and started the application. Then I get the following error messages: *********************************************************************************************************************************************************
    com.sap.conn.jco.JCoException: (102) RFC_ERROR_COMMUNICATION: Unable to get repository at com.sap.conn.jco.rt.DefaultServer.update(DefaultServer.java:136) at com.sap.conn.jco.rt.DefaultServer.(DefaultServer.java:105) at com.sap.conn.idoc.jco.DefaultJCoIDocServer.(DefaultJCoIDocServer.java:35) at com.sap.conn.idoc.jco.DefaultJCoIDocServerFactory.createServer(DefaultJCoIDocServerFactory.java:17) at com.sap.conn.idoc.jco.DefaultJCoIDocServerFactory.createServer(DefaultJCoIDocServerFactory.java:13) at com.sap.conn.jco.rt.DefaultServerManager.getServer(DefaultServerManager.java:108) at com.sap.conn.jco.rt.StandaloneServerFactory.getServerInstance(StandaloneServerFactory.java:170) at com.sap.conn.idoc.jco.JCoIDoc.getServer(JCoIDoc.java:78) at com.sap.conn.idoc.examples.IDocServerExample.main(IDocServerExample.java:18) Caused by: com.sap.conn.jco.JCoException: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connection parameters: TYPE=B DEST=JCOSERVER01 MSHOST=arm115tx GROUP=PUBLIC R3NAME=T01 PCS=1 LOCATION CPIC (TCP/IP) on local host rz1462 with Unicode ERROR service '?' unknown TIME Tue Jul 07 09:09:40 200 RELEASE 711 COMPONENT NI (network interface) VERSION 39 RC -3 DETAIL NiErrSet COUNTER 2 at com.sap.conn.jco.rt.MiddlewareJavaRfc.generateJCoException(MiddlewareJavaRfc.java:615) at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect(MiddlewareJavaRfc.java:1280) at com.sap.conn.jco.rt.ClientConnection.connect(ClientConnection.java:661) at com.sap.conn.jco.rt.PoolingFactory.init(PoolingFactory.java:103) at com.sap.conn.jco.rt.ConnectionManager.createFactory(ConnectionManager.java:171) at com.sap.conn.jco.rt.DefaultConnectionManager.createFactory(DefaultConnectionManager.java:44) at com.sap.conn.jco.rt.ConnectionManager.getFactory(ConnectionManager.java:160) at com.sap.conn.jco.rt.RfcDestination.initialize(RfcDestination.java:789) at com.sap.conn.jco.rt.RfcDestination.getSystemID(RfcDestination.java:817) at com.sap.conn.jco.rt.RepositoryManager.getRepository(RepositoryManager.java:32) at com.sap.conn.jco.rt.RfcDestination.getRepository(RfcDestination.java:891) at com.sap.conn.jco.rt.DefaultServer.update(DefaultServer.java:132) ... 8 more Caused by: RfcException: [null] message: Connect to message server host failed Connection parameters: TYPE=B DEST=JCOSERVER01 MSHOST=arm115tx GROUP=PUBLIC R3NAME=T01 PCS=1 LOCATION CPIC (TCP/IP) on local host rz1462 with Unicode ERROR service '?' unknown TIME Tue Jul 07 09:09:40 200 RELEASE 711 COMPONENT NI (network interface) VERSION 39 RC -3 DETAIL NiErrSet COUNTER 2 Return code: RFC_FAILURE(1) error group: 102 key: RFC_ERROR_COMMUNICATION at com.sap.conn.rfc.engine.RfcIoControl.error_end(RfcIoControl.java:255) at com.sap.conn.rfc.engine.RfcIoControl.ab_rfcopen(RfcIoControl.java:94) at com.sap.conn.rfc.api.RfcApi.RfcOpen(RfcApi.java:83) at com.sap.conn.jco.rt.MiddlewareJavaRfc$JavaRfcClient.connect(MiddlewareJavaRfc.java:1273) ... 18 more
    Does anyone know what I´m doing wrong? With thanks, Veit

    Im having the same issue here.  Has anyone found a solution to this?

  • Facing problem with running exe from my java code

    Hello,
    I have to run the exe from java code for which I m using Runtime and Process classes. The exe runs in the following way on command line
    C:/ myexe -j [now press enter]
    input sentence followed by ! [now press enter]
    And after this exe gives the output.
    So is there any way to achieve this programmatically in Java?
    Thanks in advance.
    Regards,

    I m confused .. how can i pass input to the Process through InputStream? I think it will need OutputStream for that.
    Here is my code...
    import java.io.*;
    class CallToExe
    static BufferedReader br;
    public static void main(String[] args)
    File F = new File("C:/Chasen.exe");
    try
    if( F.exists())
         System.out.println("Exe exists");
         Runtime rt = Runtime.getRuntime();
         Process proc = rt.exec("C:/chasen.exe");
         br = new BufferedReader(new InputStreamReader(in));
         int a = in.read();
         System.out.println(a);
         String res = br.readLine();
         System.out.println(res);     
         while(!res.equals(null))
         System.out.println(res);     
         res = br.readLine();
    proc.waitFor();
         proc.destroy();
    catch(NullPointerException npe)
         npe.printStackTrace();
    catch (Exception IOEx)
    IOEx.printStackTrace();
    But it doesnt work as my chasen.exe needs arguments from stdin.
    The way exe works is as follows.
    on command prompt>>
    C:/chasen.exe -j [ Need to press ENTER here]
    input statement . [ Need to press ENTER here too]
    Then output is displayed on command prompt which can be taken from InputStream of the process. But I m not able to properly run this exe itself with all the arguments frm Stdin

  • Problem with running sample code from XML Schema Processor for Java

    Hi there,
    I downloaded the XML Schema Processor for Java and tried it out. Unfortunately, it failed at the first step. FYI, I included all xmlparserv2.jar and xmlschema.jar in my classpath.
    I compiled XSDSample.java with a warning: XSDSample.java uses a deprecated API. Recompile with "-deprecation" for details. There was no problem with compiling XSDSetSchema.java.
    When I tried to run report.xml by typing java XSDSample report.xml, I got Parsing report.xml
    NonParserException: null.
    I guess that report.xml from the sample is not valid.
    Could any one give me a hint? Any suggestion would be greatly appreciated.
    ---Denali
    null

    Please post this message at:
    Forums Home » Oracle Technology Network (OTN) » Products » Database » XML DB

Maybe you are looking for