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.38
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 9 .. 12 Next › Last »

applebloom commented on 2019-02-17 17:23 (UTC) (edited on 2019-02-17 17:33 (UTC) by applebloom)

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

https://p.teknik.io/MuSuN