JOELib Tutorial: A Java based cheminformatics/computational chemistry package | ||
---|---|---|
Prev | Chapter 1. Installing JOELib | Next |
Get an up-to-date version of the JOELib library from the homepage at http://joelib.sourceforge.net.
Get an up-to-date version of the JOELib library.
Get an up-to-date version of the Ant library (see the Section called Ant - XML based makefile mechanism).
Set the environent variables JAVA_HOME and ANT_HOME and extend the PATH variable with $ANT_HOME/bin.
setenv JAVA_HOME /usr/local/j2sdk1.4.0 setenv ANT_HOME ~/tmp/ant141 setenv PATH ${PATH}:$ANT_HOME/bin
Change your current directory to joelib/ant. Now you can compile and start an example with:
ant compile ant MoleculeLoadTest
You can use ant -projecthelp to get a list of other examples.
Get an up-to-date version of the JOELib library.
Get an up-to-date version of the Ant library (see the Section called Ant - XML based makefile mechanism).
Open a MS-DOS box.
Set the environent variables JAVA_HOME and ANT_HOME and extend the PATH variable with $ANT_HOME/bin.
set JAVA_HOME=C:\Programme\j2sdk1.4.0 set ANT_HOME=C:\lib\java\ant1.4.1 set PATH=%PATH%:%ANT_HOME%\bin
Change your current directory to joelib/ant. Now you can compile and start an example with:
ant compile ant MoleculeLoadTest
You can use ant -projecthelp to get a list of other examples.
Unfortunately Windows98 don't support the makefile-mechanism entirely so it's necessary to change the standard calling mechanism.
Get an up-to-date version of the JOELib library.
Get an up-to-date version of the Ant library (see the Section called Ant - XML based makefile mechanism).
Open a MS-DOS box.
Open the ant/build.xml-file and comment the following line:
<property environment="env"/>
with
<!-- <property environment="env"/> -->
Add the paths to your Java Development Kit and Ant with the following lines:
<property name="env.JAVA_HOME" value="C:/Programme/j2sdk1.4.0" /> <property name="env.ANT_HOME" value="C:/lib/java/ant1.4.1" />
Change your current directory to joelib. Now you can compile and start an example with:
build.bat compile build.bat MoleculeLoadTest
You can use build.bat -projecthelp to get a list of other examples.
If you were using a batch file it's important to use the '\'-slash under Windows98 ! Windows XP works also with the '/'-slash.