Windows cant open this file? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Windows cant open this file?

im trying to convert the hello world .java to .class but it says Windows cant open this file I dont know why...

2nd Sep 2016, 11:37 PM
Fabian Rodriguez
Fabian Rodriguez - avatar
4 Answers
+ 1
Don't just duble click on it! Open your CMD and use javac!
3rd Sep 2016, 12:33 AM
Sakura Ying
Sakura Ying - avatar
+ 1
i didn't used javac and write the path, i did and it worked tyvm
3rd Sep 2016, 12:35 AM
Fabian Rodriguez
Fabian Rodriguez - avatar
0
thank you very much i already solved it
3rd Sep 2016, 12:35 AM
Fabian Rodriguez
Fabian Rodriguez - avatar
0
You can run Java code without setting path variable variables, just go where the program is saved and by holding left shift key press right click n open cmd n run the code
3rd Sep 2016, 3:58 AM
Durgesh Reddiyar
Durgesh Reddiyar - avatar