Steinar Bang <[EMAIL PROTECTED]> writes: > Java compilation fails in ant, unless I've set the JAVA_HOME in the > environment before starting emacs. Is there a way to make it pick up > the classpath to the current JDK in the jde-jdk-registry setting? > > From looking at the jde-ant.el source, I thought setting > jde-ant-use-global-classpath to t would help, but it didn't. > > Any hints and tips appreciated!
Try to put the /usr/lib/j2se/XXX/lib/tools.jar in the classpath or specify another compiler with by setting the "build.compiler" variable in your build.xml. A good (and really fast compiler) is jikes. Best regards and happy new year, -- Arnaud
