incubator-flex-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dirk Eismann <bort...@googlemail.com>
Subject Build from source: add JAVA_HOME/bin to Path
Date Thu, 07 Jun 2012 09:01:51 GMT
I just gave compiling from source a try and it went through to the
point where the Batik jar gets compiled and packaged - there Ant
exited with an error. The reason was that the "jar" program was not
known to the system which was due to the fact that JAVA_HOME/bin was
not on the search path. This was easy to fix but it should be added to
the README file in the source package (only JAVA_HOME is set but this
does not add the exeutables from /bin)

E.g. Windows users should make sure that their PATH is set to
PATH=%PATH%;%JAVA_HOME%\bin

Another option would be to always use absolute paths in the build
scripts, e.g. instead of

  <exec executable="jar">

use

  <exec executable="${JAVA_HOME}/bin/jar">

Dirk.

Mime
View raw message