diff options
Diffstat (limited to 'development/apache-ant/README')
-rw-r--r-- | development/apache-ant/README | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/development/apache-ant/README b/development/apache-ant/README index 5203b0d6bd..c033ccc4a3 100644 --- a/development/apache-ant/README +++ b/development/apache-ant/README @@ -7,6 +7,16 @@ object that implements a Task interface. This package is using upstream's recommendation of ANT_HOME=/usr/share/ant -apache-ant uses `javac` and friends to compile java projects. Using the stock -'gcc-java' package, by exporting JAVA_HOME=/usr/lib{64}/jvm envirnoment -variable. Or from slackbuilds.org, one of jdk, openjdk* works just fine. +apache-ant uses `javac` and friends to compile java projects. +If you use the stock 'gcc-java' package, then you will need to export the +JAVA_HOME environment variable, and make it point to the Java5 run-time +provided by the GNU Compiler Collection, e.g.: + + export JAVA_HOME=/usr/lib/jvm (for Slackware, 32-bit) + +or: + + export JAVA_HOME=/usr/lib64/jvm (for Slackware64) + +If you need a more recent Java run-time, then any of the jdk or openjdk +packages from slackbuilds.org will work just fine. |