Package Details: launch4j 3.14-1

Git Clone URL: (read-only, click to copy)
Package Base: launch4j
Description: Cross-platform Java executable wrapper
Upstream URL:
Keywords: java
Licenses: custom
Submitter: fi-dschi
Maintainer: sflor (jsimon0)
Last Packager: sflor
Votes: 16
Popularity: 0.000000
First Submitted: 2008-03-15 21:36
Last Updated: 2021-05-10 06:33

Dependencies (2)

Required by (2)

Sources (1)

Latest Comments

1 2 Next › Last »

jsimon0 commented on 2021-02-25 16:55

@gbabin I updated the PKGBUILD to match SRCINFO but @sflor has you covered as well.

sflor commented on 2021-02-25 16:28

You can reset pkgrel to 1 with a new version. And run

makepkg --printsrcinfo > .SRCINFO

gbabin commented on 2021-02-25 16:27

PKGBUILD is at version 3.13-3 but .SRCINFO is at version 3.13-4

sflor commented on 2021-02-21 10:13

@jsimon0 added you as co maintainer, feel free to update it.

jsimon0 commented on 2021-02-18 22:59

An update PKGBUILD for 3.13

pkgdesc="Cross-platform Java executable wrapper"
depends=('java-runtime' 'glibc')
options=('!strip' 'staticlibs')

  mkdir -p ${pkgdir}/opt
  cp -aR ${srcdir}/launch4j ${pkgdir}/opt/
  chmod -R 755 ${pkgdir}/opt/launch4j
  mkdir -p ${pkgdir}/usr
  mkdir -p ${pkgdir}/usr/bin

  cat > launch4j.desktop << EoF
[Desktop Entry]
Comment=Cross-platform Java executable wrapper


  cat > << EoF


  install -D -m 644 $srcdir/launch4j.desktop $pkgdir/usr/share/applications/launch4j.desktop
  install -D -m 755 $srcdir/ $pkgdir/usr/bin/launch4j

Bleuzen commented on 2018-06-20 09:34

Hi, would it be possible to use the x64 version?

newsboost commented on 2017-10-25 08:33

Thanks a lot sflor, I didn't thought it was a general problem/bug as I have not used it before. Appreciate fast response and until now, I'll just execute it like this (oneliner): PATH=/usr/lib/jvm/java-8-openjdk/jre/bin/:$PATH launch4j

sflor commented on 2017-10-24 14:03

Doesn't seem to work with Java 9.

newsboost commented on 2017-10-24 13:59

I've downloaded this - I have no experience with launch4j. But I think this is not the intended behaviour:

$ launch4j
Exception in thread "main" java.lang.ExceptionInInitializerError
at com.thoughtworks.xstream.XStream.<init>(
at com.thoughtworks.xstream.XStream.<init>(
at com.thoughtworks.xstream.XStream.<init>(
at net.sf.launch4j.config.ConfigPersister.<init>(
at net.sf.launch4j.config.ConfigPersister.<clinit>(
at net.sf.launch4j.Main.main(
Caused by: java.lang.StringIndexOutOfBoundsException: begin 0, end 3, length 1
at java.base/java.lang.String.checkBoundsBeginEnd(
at java.base/java.lang.String.substring(
at com.thoughtworks.xstream.core.JVM.getMajorJavaVersion(
at com.thoughtworks.xstream.core.JVM.<clinit>(
... 6 more


Something seems wrong...

$ pacaur -Qiv launch4j
Root : /
Conf File : /etc/pacman.conf
DB Path : /var/lib/pacman/
Cache Dirs: /var/cache/pacman/pkg/
Hook Dirs : /usr/share/libalpm/hooks/ /etc/pacman.d/hooks/
Lock File : /var/lib/pacman/db.lck
Log File : /var/log/pacman.log
GPG Dir : /etc/pacman.d/gnupg/
Targets : launch4j
Name : launch4j
Version : 3.11-1
Description : Cross-platform Java executable wrapper
Architecture : x86_64
Licenses : custom
Groups : None
Provides : None
Depends On : java-runtime lib32-glibc
Optional Deps : None
Required By : None
Optional For : None
Conflicts With : None
Replaces : None
Installed Size : 14.60 MiB
Packager : Unknown Packager
Build Date : Tue 24 Oct 2017 01:24:46 PM CEST
Install Date : Tue 24 Oct 2017 01:24:53 PM CEST
Install Reason : Explicitly installed
Install Script : No
Validated By : None

As nothing else is broken on my system, I think maybe this package needs to be updated?

shpelda commented on 2014-02-03 14:09

Please link /opt/launch4j/launch4j from /bin so that it is available on PATH after install.