“The strongest of all warriors are these two — Time and Patience.” ― Leo Tolstoy, War and Peace
“The strongest of all warriors are these two — Time and Patience.” ― Leo Tolstoy, War and Peace
Liutauras Vilda wrote:Pete, have a cow for continuous efforts and help. I'm sure that is why community is known as so sharing and welcoming
C:\Users\User>java -classpath. MooseGreetings
C:\Users\User>C:\>cd\java\src
C:\Users\User>C:\>cd\java\src>javac MooseGreetings.java
“The strongest of all warriors are these two — Time and Patience.” ― Leo Tolstoy, War and Peace
Pete Letkeman wrote:Looking at the screen shot provided it looks like the java_home on your system is not set correctly.
It should probably be set to
C:\Program Files\Java\JDK-9
providing this is where you have the JDK installed on your system, which I can make out looking at the screen shot provided.
Do you have Java installed to this location C:\Java\JDK-9 as well?
This could be part of the reason that some times some Java related things work and some times they do not.
What are the results of running the following command from the command prompt:
where java.exe
This should tell us at least one location where Java is installed.
Kristaps Balodis wrote:Try'd all kind about "C:\>cd\java\src_javac MooseGreetings.java" all what cmd it's whon it's:
C:\Users\User>C:\cd>\java\src_javac MooseGreetings.java
'C:\cd' is not recognized as an internal or external command,
operable program or batch file.
“The strongest of all warriors are these two — Time and Patience.” ― Leo Tolstoy, War and Peace
Don't get me started about those stupid light bulbs. |