Package Details: java-service-wrapper 3.5.59-1

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.24
First Submitted: 2011-09-28 06:51 (UTC)
Last Updated: 2024-10-03 13:19 (UTC)

Dependencies (2)

Sources (1)

Pinned Comments

skydrome commented on 2020-02-06 04:41 (UTC) (edited on 2020-02-06 04:44 (UTC) by skydrome)

pacman.conf

[home_skydrome_Arch]
Server = https://download.opensuse.org/repositories/home:/skydrome/Arch/x86_64

Add key

wget https://download.opensuse.org/repositories/home:/skydrome/Arch/x86_64/home_skydrome_Arch.key
pacman-key --add home_skydrome_Arch.key
pacman-key --lsign-key 2e4b3a0b799d7113

Latest Comments

« First ‹ Previous 1 2 3 4 5 6 7 8 .. 12 Next › Last »

skydrome commented on 2019-11-07 19:19 (UTC) (edited on 2019-11-07 19:19 (UTC) by skydrome)

==> Starting prepare()...

==> Detected Java 13.0.1

patching file build.xml

You should see that line at the beginning ^

BUILD SUCCESSFUL Total time: 15 seconds

==> Finished making: java-service-wrapper 3.5.41-1

try not using any "aur helpers" if it doesnt work for you

AlPiotrowicz commented on 2019-11-07 15:58 (UTC)

After last update cannot compile it irrespectively java version used, same error as in my post below. For the most recent 13-openjdk it throws "javah does not exist" error.

applebloom commented on 2019-06-30 18:36 (UTC)

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 (UTC)

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 (UTC) (edited on 2019-04-26 07:37 (UTC) by AlPiotrowicz)

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 (UTC) (edited on 2019-04-13 15:46 (UTC) by DDoSolitary)

@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 (UTC) (edited on 2019-04-13 15:32 (UTC) by dluciv)

It requires patch as build dependency

skydrome commented on 2019-02-22 03:50 (UTC) (edited on 2019-02-22 03:56 (UTC) by skydrome)

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 (UTC) (edited on 2019-02-21 18:47 (UTC) by skydrome)

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