Package Details: java-service-wrapper 3.5.37-1

Git Clone URL: (read-only)
Package Base: java-service-wrapper
Description: Enables a Java Application to be run as a Windows Service or Unix Daemon
Upstream URL:
Licenses: GPL2
Conflicts: java-service-wrapper-bin
Submitter: siasia
Maintainer: skydrome
Last Packager: skydrome
Votes: 140
Popularity: 0.163953
First Submitted: 2011-09-28 06:51
Last Updated: 2019-02-05 19:06

Latest Comments

1 2 3 4 5 6 ... Next › Last »

applebloom commented on 2019-02-17 17:23

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.

berturion commented on 2019-02-17 08:19

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







     [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] **********************************************************************



     [copy] Copying 1 file to /home/bertrand/.cache/yay/java-service-wrapper/src/wrapper_3.5.37_src/src/java/org/tanukisoftware/wrapper

     [echo] **********************************************************************
     [echo] * WARNING
     [echo] * The jar is being built for Java version .  This will not be
     [echo] * compatible with older JVMs.
     [echo] **********************************************************************

    [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

/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 ?

topcat420 commented on 2019-01-27 16:14

Thank you, flipmess. That solved my compiling error.

flipmess commented on 2019-01-24 12:59

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

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

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

openjdk 11 is out and java10.patch should be applied for it too

fuan_k commented on 2018-10-19 20:59

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

fails with java 8 too

phaseburn commented on 2018-04-23 00:36

Build fails when using jdk10-openjdk, as that package doesn't provide bin/javah (

Builds just fine when using jdk9-openjdk.