Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

java application wont run

0 views
Skip to first unread message

john

unread,
Dec 19, 2003, 2:36:33 AM12/19/03
to
i set the path for java in autoexec.bat file as c:\jdk1.4
\bin
but it compiles.
at run time it displays a message E#xception in
thread "main" java.lang.NoClassDefFoundError : ClassName

huv to run java applications

elizabeth.lorentsen

unread,
Dec 22, 2003, 7:14:34 PM12/22/03
to
Hey,

i fink i know the prob,

i suppose you want to run java apps, this is how...

make batch file an write...
<The address to java vm> -classpath <the address to app> <package name> <app
name>
for example

C:\jdk1.4\java.exe -classpath C:\my_app my_app.my_app

try this, it should work if you understand me, you could allways try
www.java.sun.com and go to the forums

cya
tom

"john" <anon...@discussions.microsoft.com> wrote in message
news:083a01c3c602$d3a38890$a301...@phx.gbl...

0 new messages