@echo off
setlocal ENABLEDELAYEDEXPANSION
if defined CLASSPATH (set CLASSPATH=%CLASSPATH%;.) else (set CLASSPATH=.)
FOR /R .\lib %%G IN (*.jar) DO set CLASSPATH=!CLASSPATH!;%%G
Echo The Classpath definition is %CLASSPATH%
...
java MyClass
Friday, December 31, 2010
Building a CLASSPATH in Windows
Thanks to Real's How To:
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment