Angus Ferguson wrote:Try to run the app from the java folder, please.
Just go one level up.. / and try it
It's good to be able to use someting, it's better to understand how it works.
www.goanation.net

No, it didn't; in order to create XXX.class you have to use the javac command.when I run C:\Java\src>java MooseGreetings.java
it created MooseGreetings.class
It's good to be able to use someting, it's better to understand how it works.
www.goanation.net
It completely messes up your programming by making it impossible to find the requisite files, that is what it doesDaniel Demesmaecker wrote:. . . classpath variable, I know what it does . . .
It's good to be able to use someting, it's better to understand how it works.
www.goanation.net
Campbell Ritchie wrote:
It completely messes up your programming by making it impossible to find the requisite files, that is what it doesDaniel Demesmaecker wrote:. . . classpath variable, I know what it does . . .
![]()
Unfortunately there are still old books around telling you to set a system CLASSPATH, so we need to know what the user has done.
It's good to be able to use someting, it's better to understand how it works.
www.goanation.net
Yedija Tjin wrote:after reading all your help I go thru all the step again. this is what I did wrong...
All things are lawful, but not all things are profitable.
It's good to be able to use someting, it's better to understand how it works.
www.goanation.net
That's a pleasureYedija Tjin wrote:Thank you

Since you haven't shown us your PATH, we don't know that you have set it correctly. It might have been possible to correct your problem by editing the PATH, so, as Daniel Desmaecker said, you can install multiple different Java® versions.. . . 2. I install mix version jdk version 8 and 11 somehow it didn't work, so what I did was I uninstall everything and just install jdk ver 11 . . .
| Don't get me started about those stupid light bulbs. |