[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Need help with packaging: what helper should be used (MavenBuilder / JavaHelper)?



On Mon, Jan 16, 2012 at 8:07 AM, Andreas Tille <andreas@an3as.eu> wrote:
>     After copying the suggested rules file including
>
>      JAVA_HOME := /usr/lib/jvm/java-6-openjdk
>
>     The build ended up very quickly saying:
>
>      You must specify a valid JAVA_HOME or JAVACMD!
>
>     Hmmm ...  Any hint what might be wrong here?

You probably want to B-D on default-jdk and use
/usr/lib/jvm/default-java as JAVA_HOME.

If you must explicitly use OpenJDK, then your JAVA_HOME has to include
your architecture, something like /usr/lib/jvm/java-6-openjdk-amd64.

Regards,

-- 
Miguel Landaeta, miguel at miguel.cc
secure email with PGP 0x7D8967E9 available at http://keyserver.pgp.com/
"Faith means not wanting to know what is true." -- Nietzsche


Reply to: