Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Java cmd-line problem windows 8

La VloZMay 31 2013 — edited Jun 1 2013
Hii all :)

I have a problem :(
Compiling using javac works fine but excuting with java doesn't work.
everything is good, Path and CLASSPATH !!!! and the folder conntain the class !!!!
exemple :
javac Main.java (Works good)
java Main (Doesn't work)
it tell me impossible to found the class or load it !!!!!!!
if i execute the in the command line :
java
i see the java help !!!!!

it works on windows xp but not on windows 8 !!!!!!, i searched on google but i didn't find anything !!!!!! :(

can someone help please??
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 29 2013
Added on May 31 2013
8 comments
2,215 views