Bug#646385: javahelper: jh_build fails because of missing architecture in JVM path (openjdk on amd64)
Niels Thykier
niels at thykier.net
Sun Oct 23 18:24:56 UTC 2011
On 2011-10-23 20:10, Benjamin Mesing wrote:
> Package: javahelper
> Version: 0.37
> Severity: important
>
> Hi,
>
> when I use jh_build this results in :
> jh_build --no-javadoc umlet.jar sourcefiles/src
> find sourcefiles/src -name *.java -and -type f -print0 | xargs -0 /usr/lib/jvm/java-6-openjdk/bin/java
> xargs: /usr/lib/jvm/java-6-openjdk/bin/javac: No such file or directory
>
> This is due to the recent multiarch support in OpenJDK
> http://lists.debian.org/debian-java/2011/08/msg00164.html
>
> Best regards
>
> Ben
>
>
> [...]
Hey,
By the looks of it, jh_build uses JAVA_HOME if set. Otherwise it uses
/usr/lib/jvm/default-java or /usr/lib/jvm/java-gcj (in order) if either
of those are present. I see no mention of java-6-openjdk at all.
The only problem I can spot in javahelper is jh_makepkg is still using
java-6-openjdk, but as I recall umlet is already in the archive?
~Niels
More information about the pkg-java-maintainers
mailing list