Apparently java 10 is now required to build this. If I try to build with 8, I get the same error as berturion. I guess the version detection fails. Also, I had to build with makepkg "manually", as with a helper (yay) I got the same error.
Search Criteria
Package Details: java-service-wrapper 3.5.59-1
Package Actions
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.38 |
First Submitted: | 2011-09-28 06:51 (UTC) |
Last Updated: | 2024-10-03 13:19 (UTC) |
Dependencies (2)
- ant (ant-gitAUR) (make)
- java-environment (jdk12AUR, jdk10AUR, jdk10-openj9-binAUR, jdk7AUR, amazon-corretto-16AUR, jdk8-graalvm-binAUR, jdk16-graalvm-binAUR, jdk16-adoptopenjdkAUR, jdk8-armAUR, liberica-jre-11-binAUR, jdk11-j9-binAUR, jdk11-jbr-xdgAUR, jdk16-openjdkAUR, jdk14-openjdkAUR, jdk18-openjdkAUR, amazon-corretto-19-binAUR, jdk19-graalvm-binAUR, liberica-jre-11-full-binAUR, jdk19-graalvm-ee-binAUR, jdk13-openjdk-binAUR, liberica-jre-8-full-binAUR, jdk11-graalvm-binAUR, jdk-openj9AUR, jdk11-graalvm-ee-binAUR, jdk12-openjdkAUR, jdk11-dragonwell-standard-binAUR, jdk11-jetbrains-binAUR, jdk20-graalvm-binAUR, jdk17-graalvm-binAUR, jdk8-graalvm-ee-binAUR, zulu-15-binAUR, jdk20-openj9-binAUR, zulu-13-binAUR, jdk8-dragonwell-extended-binAUR, jdk8-dragonwell-standard-binAUR, jdk11-dragonwell-extended-binAUR, jdk17-dragonwell-standard-binAUR, jdk11AUR, jdk8-j9-binAUR, jdk7-j9-binAUR, jdk7r1-j9-binAUR, jdk8-dragonwell-extendedAUR, jdk13-openjdkAUR, jdk15-openjdkAUR, jdk21-graalvm-binAUR, jdk17-jetbrainsAUR, jdk8-openj9-binAUR, jdk-ltsAUR, microsoft-openjdk-11-binAUR, microsoft-openjdk-17-binAUR, microsoft-openjdk-21-binAUR, liberica-nik-24-full-binAUR, jdk21-jetbrains-gitAUR, zulu-17-binAUR, zulu-11-binAUR, zulu-8-binAUR, mandrel-binAUR, mandrel24-binAUR, liberica-jdk-17-full-binAUR, liberica-jdk-11-lite-binAUR, liberica-jdk-11-full-binAUR, liberica-jdk-11-binAUR, jdk17-graalvm-ee-binAUR, jdk21-graalvm-ee-binAUR, jdk22-graalvm-ee-binAUR, jdk20-graalvm-ee-binAUR, jdk22-graalvm-binAUR, jdk19-openjdkAUR, jdk17-jetbrains-binAUR, zulu-jdk-fx-binAUR, jabba-binAUR, jdk21-jetbrainsAUR, jdk17-zulu-prime-binAUR, zing-21-binAUR, zing-8-binAUR, jdk23-graalvm-ee-binAUR, jdk-android-studioAUR, java-openjdk-binAUR, amazon-corretto-17AUR, amazon-corretto-21-binAUR, jdk21-temurinAUR, amazon-corretto-8AUR, amazon-corretto-11AUR, jdk11-temurinAUR, liberica-jdk-full-binAUR, liberica-jdk-21-full-binAUR, liberica-jdk-8-full-binAUR, jdk17-temurinAUR, jdk8-temurinAUR, zulu-21-binAUR, jdk-temurinAUR, jdk8AUR, zulu-17-fx-binAUR, jdk8-perfAUR, zulu-fx-binAUR, zulu8-fx-binAUR, zulu11-fx-binAUR, zulu17-fx-binAUR, zulu21-fx-binAUR, jdk-openj9-binAUR, jdk11-openj9-binAUR, jdk17-openj9-binAUR, jre-jetbrainsAUR, jdk-openjdk-wakefieldAUR, jdk21-openj9-binAUR, zulu-23-binAUR, jdkAUR, jdk21-jetbrains-binAUR, java-openjdk-ea-binAUR, jre-zulu-binAUR, jre-zulu-fx-binAUR, jdk21-dragonwell-standard-binAUR, jdk21-dragonwell-extended-binAUR, jdk-openjdk, jdk11-openjdk, jdk17-openjdk, jdk21-openjdk, jdk8-openjdk) (make)
Sources (1)
Latest Comments
« First ‹ Previous 1 2 3 4 5 6 7 8 9 .. 12 Next › Last »
applebloom commented on 2019-02-17 17:23 (UTC) (edited on 2019-02-17 17:33 (UTC) by applebloom)
berturion commented on 2019-02-17 08:19 (UTC)
Hello, Compiling from AUR helper "yay", I have the following error:
Buildfile: /home/bertrand/.cache/yay/java-service-wrapper/src/wrapper_3.5.37_src/build.xml
init-setup:
init-windows:
init-unix:
init-bits-check:
init-bits-mismatch-check:
init:
init:msg:
[echo] **********************************************************************
[echo] * About to build a 64-bit version of Java Service Wrapper Community 3.5.37.
[echo] * The OS Name is "linux", resolved from "Linux".
[echo] * The Architecture is "x86", resolved from "aarch64".
[echo] * The distribution name will be: wrapper-linux-x86-64-3.5.37
[echo] **********************************************************************
init:java-missing:
convert:
update-info:
[copy] Copying 1 file to /home/bertrand/.cache/yay/java-service-wrapper/src/wrapper_3.5.37_src/src/java/org/tanukisoftware/wrapper
compile-java-warn:
[echo] **********************************************************************
[echo] * WARNING
[echo] * The jar is being built for Java version . This will not be
[echo] * compatible with older JVMs.
[echo] **********************************************************************
compile-java:core:
[mkdir] Created dir: /home/bertrand/.cache/yay/java-service-wrapper/src/wrapper_3.5.37_src/build/classes
[mkdir] Created dir: /home/bertrand/.cache/yay/java-service-wrapper/src/wrapper_3.5.37_src/build/testclasses
[mkdir] Created dir: /home/bertrand/.cache/yay/java-service-wrapper/src/wrapper_3.5.37_src/lib
[javac] Compiling 110 source files to /home/bertrand/.cache/yay/java-service-wrapper/src/wrapper_3.5.37_src/build/classes
[javac] javac: invalid target release:
[javac] Usage: javac <options> <source files>
[javac] use -help for a list of possible options
BUILD FAILED
/home/bertrand/.cache/yay/java-service-wrapper/src/wrapper_3.5.37_src/build.xml:532: Compile failed; see the compiler error output for details.
Total time: 10 seconds
It is like the variable $_target is not set correctly (maybe also $_ver and $_bit).
If I launch makepkg
from the folder .cache/yay/java-service-wrapper
, it works.
What could cause this ?
tcd commented on 2019-01-27 16:14 (UTC)
Thank you, flipmess. That solved my compiling error.
flipmess commented on 2019-01-24 12:59 (UTC)
i think PKGBUILD should say:
if [[ $(javac -version 2>&1 |grep -E "1[01].0") ]]; then
instead of:
if [[ $(javac -version |grep -E "1[01].0") ]]; then
Derek_Smits commented on 2019-01-18 22:27 (UTC)
if you want to use this package with java 11 you must edit PKGBUILD and: -add java10.patch in else block; on line 532 change "$_target" to "11"; (if you use pacaur you may see error as "ensure package version does not mismatch between .SRCINFO and PKGBUILD". if you'll see that you should go to pacaur cache directory (where PKGBUILD for java..-wrapper) and there open terminal and install java*.tar.xz using pacman -U filename)
rezad commented on 2019-01-10 15:39 (UTC)
I get this error:
java-service-wrapper/src/wrapper_3.5.37_src/build.xml:560: javah does not exist under Java 10 and higher, use the javac task with nativeHeaderDir instead
DDoSolitary commented on 2018-12-26 09:43 (UTC)
openjdk 11 is out and java10.patch should be applied for it too
fuan_k commented on 2018-10-19 20:59 (UTC)
Had to install the jdk8-openjdk
package, otherwise it would throw an error saying it couldn't find javac compiler (tools.jar).
bm456 commented on 2018-05-12 02:32 (UTC)
fails with java 8 too
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