That looks incorrect to me. Both look wrong. Your PATH should include the locations of the java.exe file, etc. Is that a system PATH or a user PATH? If it is a system PATH, I would be surprised you can get any programs to run at all. If it is a user PATH you should simply delete it. Run the following commands at the command line and tell us what the results are:-Mark Justison wrote:. . .
my PATH and my CLASSPATH both point to C:\Users\lib and C:\Users\lib\myJar.jar
. . . Am I typing in the command incorrectly?
You should usually set a system PATH to include your Java® installation folder towards its beginning, and there is usually no need to include the lib folders because they don't contain .exe files.echo %PATH%
echo %CLASSPATH%
Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer
Experience keeps a dear School, but Fools will learn in no other.
---
Benjamin Franklin - Postal official and Weather observer
Don't get me started about those stupid light bulbs. |