ant trouble
Hello.
When I build any java project with ant I get
BUILD FAILED
/home/sacha/work/alt/addons/1_build_test/saxpath-1.0-FCS/build.xml:159: Cannot use classic compiler, as it is not available A common solution is to set the environment variable JAVA_HOME to your jdk directory.
Total time: 7 seconds
What is the right way to avoid this? Setting JAVA_HOME does not seems
to be a good decision, because, for instance, while it can be set in
debian/rules JAVA_HOME can be different on different machines. Any
suggestion?
--
Alexander Kotelnikov
Saint-Petersburg, Russia
Reply to: