How to set PATH and CLASSPATH system variables for Java in Windows Vista..
Control panel (Classic View)SystemClick on "Advanced system settings"Environmental VariablesSystem VariablesSelect the PATHClick EditAdd your path to the PATH variable.... normally .. C:\Program Files\Java\jdk1.6.0_(version)\bin
This tip is thanks to 'sha-k' at http://www.computing.net/answers/progra ... 15739.html
Regarding the CLASSPATH, it's also important to ensure the the CLASSPATH includes "." i.e. the current directory, preferably this is the first entry as well. This ensures Java checks your current directory first when looking to execute the class file with the "java" command (when using for e.g. Command Prompt).
tagged: java // Comments [0]
Related posts:Learning LaTeX and EclipseIncluding jar files in your projects in EclipseHow to set CLASSPATH (and PATH) for Java in LinuxRunning Java classes with packages in Command Prompt
Disclaimer The posts on this blog are provided "AS IS" with no warranties. The opinions expressed herein are my own personal opinions and do not represent any other person's views in anyway.