How are you compiling this??
are you using the form:
javac ProjectName.java
to run
java ProjectName
Have you changed your CLASSPATH variable?
server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20
you have to compile the java program with the same directory in which you saved the source file.this will definitely work.
indianscorpion2
Junior Poster in Training
82 posts since May 2005
Reputation Points: 9
Solved Threads: 1
freesoft_2000
Practically a Master Poster
623 posts since Jun 2004
Reputation Points: 25
Solved Threads: 10
For first time users, I recommend downloading BlueJ. Install JRE 1.4(or 5) SDK into its default directory. Make some class in BlueJ then hit "compile". Right-click and run your main method.
Phaelax
Practically a Posting Shark
858 posts since Mar 2004
Reputation Points: 92
Solved Threads: 51
no, beginning users shouldn't use any IDE.
It prevents them from learning the basics by hiding those basics from them.
jwenting
duckman
8,392 posts since Nov 2004
Reputation Points: 1,662
Solved Threads: 337
Hi everyone,
You can use a no frills ide called Java IDE 1.7
It seems to be a very simple ide to use and free. This ide is something like borland's
turbo c compiler.
Yours Sincerely
Richard West
freesoft_2000
Practically a Master Poster
623 posts since Jun 2004
Reputation Points: 25
Solved Threads: 10