- go to your vainstall directory
- create a "class" directory where .class files will be created by javac
- add "class" and "lib/jniregistry.jar" to
your CLASSPATH
Windows:
set CLASSPATH=class;lib\jniregistry.jar;%CLASSPATH%
Unix SH, KSH or BASH:
export CLASSPATH=class:lib/jniregistry.jar:$CLASSPATH
Unix CSH:
setenv CLASSPATH class:lib/jniregistry.jar:$CLASSPATH
- compile the package, in this order:
javac -d class src/com/memoire/vainstall/*.java
javac -d class src/com/memoire/vainstall/gui/*.java
javac -d class src/com/memoire/vainstall/xui/*.java
javac -d class src/com/memoire/vainstall/tui/*.java
javac -d class src/com/memoire/vainstall/aui/*.java
- if you use Ant, and have ant.jar in your CLASSPATH, you can
compile VAInstall's anttask:
javac -d class src/com/memoire/vainstall/ant/*.java
- go to "class" and make lib/vainstall.jar:
cd class
jar c0f ../lib/vainstall.jar *
- delete "class":
cd ..
Windows:
deltree class
Unix:
rm -rf class
- you're ready to use your freshly recompiled VAInstall