This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
SET CLASSPATH=C:\ADIRECTORY\ajarfile.jar;%CLASSPATH% You would probably need to do that in your C:\AUTOEXEC.BAT file and then reboot the machine. The %CLASSPATH% tells the system to put the "old" or "previous" value of the CLASSPATH at the end of the new CLASSPATH. If there was no previous CLASSPATH you can use SET CLASSPATH=C:\ADIRECTORY\ajarfile.jar;. Note the semicolon and period at the end! -Barry
Hi Steve, You can just drop a copy of the jar in your jre/lib/ext directory or you can append the fully qualified name to your CLASSPATH envrionment variable (eg C:\MyJars\MyClasses.jar) or you can build a classpath on most of the java utilities (like javac, java, etc.) with a -classpath flag like this: javac -classpath .;C:\MyJars\MyClasses.jar source.java Hope this helps, Michael Morris
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher