Package Details: java-service-wrapper 3.5.37-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: 139
Popularity: 0.047648
First Submitted: 2011-09-28 06:51
Last Updated: 2019-02-23 06:10

Latest Comments

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

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.

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