Build fails when using jdk10-openjdk, as that package doesn't provide bin/javah (https://www.archlinux.org/packages/extra/x86_64/jdk10-openjdk/files/).
Builds just fine when using jdk9-openjdk.
Git Clone URL: | https://aur.archlinux.org/java-service-wrapper.git (read-only, click to copy) |
---|---|
Package Base: | java-service-wrapper |
Description: | Enables a Java Application to be run as a Windows Service or Unix Daemon |
Upstream URL: | https://wrapper.tanukisoftware.com/doc/english/introduction.html |
Licenses: | GPL2, custom:tanuki-community |
Submitter: | None |
Maintainer: | Salama |
Last Packager: | Salama |
Votes: | 144 |
Popularity: | 0.40 |
First Submitted: | 2011-09-28 06:51 (UTC) |
Last Updated: | 2024-10-03 13:19 (UTC) |
« First ‹ Previous 1 2 3 4 5 6 7 8 9 10 .. 12 Next › Last »
Build fails when using jdk10-openjdk, as that package doesn't provide bin/javah (https://www.archlinux.org/packages/extra/x86_64/jdk10-openjdk/files/).
Builds just fine when using jdk9-openjdk.
BUILD FAILED
/home/p/.cache/pacaur/java-service-wrapper/src/wrapper_3.5.34_src/build.xml:533: Unable to find a javac compiler; com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "/usr/lib/jvm/java-8-openjdk/jre"
sry, unintended. Forgot about arm, reverted back
I had to modify the PKGBUILD for building this on armv7h. "uname -m" returns "armv7l" but ant wants to see "armhf".
added aarch64
"In that case your can also set _arch to aarch64 when $CARCH = aarch64."
I meant
"In that case your can also set _arch to x86 (apparently this seems to build it just fine) when $CARCH = aarch64."
This also works on aarch64. Please add aarch64 to arch and change the build() line to [[ "$CARCH" = "x86_64" || "$CARCH" = "aarch64" ]] && _bits=64 || _bits=32. In that case your can also set _arch to aarch64 when $CARCH = aarch64.
Pinned Comments
skydrome commented on 2020-02-06 04:41 (UTC) (edited on 2020-02-06 04:44 (UTC) by skydrome)
pacman.conf
Add key