Package Details: java-service-wrapper 3.5.40-1

Git Clone URL: https://aur.archlinux.org/java-service-wrapper.git (read-only)
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: siasia
Maintainer: skydrome
Last Packager: skydrome
Votes: 141
Popularity: 0.435754
First Submitted: 2011-09-28 06:51
Last Updated: 2019-09-04 02:07

Latest Comments

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

applebloom commented on 2019-06-30 18:36

BUILD FAILED /home/narf/.cache/yay/java-service-wrapper/src/wrapper_3.5.39_src/build.xml:560: javah does not exist under Java 10 and higher, use the javac task with nativeHeaderDir instead

With Java 10 and 12.

CurtisLeeBolin commented on 2019-05-08 21:16

I am using openjdk 10.

$ javac --version
javac 10.0.2
init:java-missing:

convert:

update-info:
     [copy] Copying 1 file to /home/lee/.tmp/java-service-wrapper/src/wrapper_3.5.39_src/src/java/org/tanukisoftware/wrapper

compile-java-warn:
     [echo] **********************************************************************
     [echo] * WARNING
     [echo] * The jar is being built for Java version 11.  This will not be
     [echo] * compatible with older JVMs.
     [echo] **********************************************************************

compile-java:core:
    [javac] Compiling 110 source files to /home/lee/.tmp/java-service-wrapper/src/wrapper_3.5.39_src/build/classes
    [javac] javac: invalid target release: 11
    [javac] Usage: javac <options> <source files>
    [javac] use --help for a list of possible options

BUILD FAILED
/home/lee/.tmp/java-service-wrapper/src/wrapper_3.5.39_src/build.xml:532: Compile failed; see the compiler error output for details.

AlPiotrowicz commented on 2019-04-26 07:35

Unable to build it, cause javac command doesn't exist in jre-11 and it doesn't applying a patch and produces "javah does not exist under Java 10 and higher" error. If I use an "old" method to check the version in pkgbuild it also fails with:


Buildfile: /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.38_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.38. [echo] * The OS Name is "linux", resolved from "Linux". [echo] * The Architecture is "x86", resolved from "amd64". [echo] * The distribution name will be: wrapper-linux-x86-64-3.5.38 [echo] **********

init:java-missing:

convert:

update-info: [copy] Copying 1 file to /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.38_src/src/java/org/tanukisoftware/wrapper

compile-java-warn:

compile-java:core: [javac] Compiling 1 source file to /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.38_src/build/classes

check:junit:

compile-java:junit: [javac] Compiling 1 source file to /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.38_src/build/testclasses

compile-java:

jar:jar: [jar] Building jar: /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.38_src/lib/wrapper.jar [jar] Building jar: /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.38_src/lib/wrappertest.jar [jar] Building jar: /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.38_src/lib/wrapperdemo.jar [jar] Building jar: /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.38_src/lib/wrappertest2.jar

jar:

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.38. [echo] * The OS Name is "linux", resolved from "Linux". [echo] * The Architecture is "x86", resolved from "amd64". [echo] * The distribution name will be: wrapper-linux-x86-64-3.5.38 [echo] **********

update-info-c: [copy] Copying 1 file to /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.38_src/src/c

compile-c-unix-check:

compile-c-unix: [mkdir] Created dir: /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.38_src/bin [mkdir] Created dir: /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.38_src/test [echo] Build native components using 'make' and Makefile: Makefile-linux-x86-64.make [exec] if test ! -d .deps; then mkdir .deps; fi [exec] gcc -O3 -fPIC -Wall --pedantic -DLINUX -DJSW64 -D_FILE_OFFSET_BITS=64 -fpic -D_GNU_SOURCE -DUNICODE -D_UNICODE -pthread wrapper.c wrapperinfo.c wrappereventloop.c wrapper_unix.c property.c logger.c logger_file.c wrapper_file.c wrapper_i18n.c wrapper_hashmap.c wrapper_ulimit.c wrapper_encoding.c wrapper_jvminfo.c -lm -o ../../bin/wrapper [exec] gcc -O3 -fPIC -Wall --pedantic -DLINUX -DJSW64 -D_FILE_OFFSET_BITS=64 -fpic -D_GNU_SOURCE -DUNICODE -D_UNICODE -c wrapper_i18n.c [exec] gcc -O3 -fPIC -Wall --pedantic -DLINUX -DJSW64 -D_FILE_OFFSET_BITS=64 -fpic -D_GNU_SOURCE -DUNICODE -D_UNICODE -c wrapperjni_unix.c [exec] In file included from wrapperjni.h:33, [exec] from wrapperjni_unix.c:44: [exec] org_tanukisoftware_wrapper_WrapperManager.h:2:10: fatal error: jni.h: Nie ma takiego pliku ani katalogu [exec] #include <jni.h> [exec] ^~~~~~~ [exec] compilation terminated. [exec] make: [Makefile-linux-x86-64.make:48: wrapperjni_unix.o] Błąd 1 [exec] make: Oczekiwanie na niezakończone zadania....

BUILD FAILED /tmp/makepkg/java-service-wrapper/src/wrapper_3.5.38_src/build.xml:688: exec returned: 2

Total time: 7 seconds

DDoSolitary commented on 2019-04-13 15:46

@dluciv patch is part of the base-devel group and is expected to has been installed when building the package, so it's unnecessary to list it in makedepends.

dluciv commented on 2019-04-13 15:31

It requires patch as build dependency

skydrome commented on 2019-02-22 03:50

fixed for using yay. The explanation given to me was that yay runs makepkg 3 separate times for each phase of building, so variables are lost. Wish there wasnt the need to check for a specific java version but there are still some apps that wont run on newer versions.

skydrome commented on 2019-02-21 18:43

I dont use aur helpers so I never caught that. I just tried a few other helpers and it works the way it should. yay is ignoring the _target variable set in prepare(). Use yay -G and makepkg manually

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

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 ?

topcat420 commented on 2019-01-27 16:14

Thank you, flipmess. That solved my compiling error.