wood burning stoves*
The moose likes Beginning Java and the fly likes RE : Java Beginner Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "RE : Java Beginner" Watch "RE : Java Beginner" New topic

RE : Java Beginner


Joined: Sep 24, 2001
Posts: 2
I would like help from all the Java Gurus out there.
Recently , I tried to run my java code and though it compiles fine when running it gives me an error saying "Exception in thread "main" java.lang.NoClassDefFoundError: Hello...
I have checked my path and it is correct and actually I had not done anything to the computer before and it was running before. I wonder if ther is anything that I had missed out or if I am over looking something.
Sanjay Balu

Joined: Aug 29, 2001
Posts: 11
Hi Jitty,
set your classpath to the current directory,where your java class file is.
set classpath=%classpath%;.;
Consider Paul's rocket mass heater.
subject: RE : Java Beginner
Similar Threads
how to launch a swing app remotely
RE : JAVA Question for ALL
RAD 7.5.4 - Debugger going to wrong lines during debug session
Solved : JTDS MSSQL Pagination problem.
Socket connection problem, need a hand..