I am new to Java and have some basic problem. Would appreciate your help guys.
I try to run a HelloWorld
program but having an error:
"Error: Could not find or load main class HelloWorld".
I noticed that Eclipse
saves the project in parallel virtual store directory and not the one I mentioned.
When I manually move the project to Eclipse_Workspace
directory it works just fine. What should I do for Eclipse
to save the files correctly?!
If needed:
I downloaded JDK 1.8.0_51
for Win 32
and Eclipse IDE for Java developers (Luna Service Release 1 (4.4.1))
. Win7 32 Ultimate
.
I added a Path
value in System Variables -
C:\Program Files\Java\jdk1.8.0_51\bin
Default Resource Path in Eclipse is:
C:\Program Files\Java\Eclipse_Workspace
Thanks