Package Details: launch4j 3.14-1

Git Clone URL: https://aur.archlinux.org/launch4j.git (read-only, click to copy)
Package Base: launch4j
Description: Cross-platform Java executable wrapper
Upstream URL: http://launch4j.sf.net
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

pkgname="launch4j"
pkgver="3.13"
pkgrel="3"
arch=('x86_64')
license=('custom')
pkgdesc="Cross-platform Java executable wrapper"
url="http://launch4j.sf.net"
depends=('java-runtime' 'glibc')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}-linux-x64.tgz")
sha256sums=('75426a7fcd20afcb76dcca465dad1c3c405e46ba7bd8eac43455c97083ac1f4d')
options=('!strip' 'staticlibs')

package()
{
  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]
Version=1.0
Encoding=UTF-8
Type=Application
Categories=Java;Development;
Name=launch4j
Comment=Cross-platform Java executable wrapper
Path=/opt/launch4j
Exec=/opt/launch4j/launch4j
Icon=/opt/launch4j/src/images/build.png
Terminal=false

EoF

  cat > launch4j.sh << EoF
#!/bin/bash
/opt/launch4j/launch4j

EoF

  install -D -m 644 $srcdir/launch4j.desktop $pkgdir/usr/share/applications/launch4j.desktop
  install -D -m 755 $srcdir/launch4j.sh $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

https://sourceforge.net/p/launch4j/bugs/172/

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>(XStream.java:145)
at com.thoughtworks.xstream.XStream.<init>(XStream.java:181)
at com.thoughtworks.xstream.XStream.<init>(XStream.java:169)
at net.sf.launch4j.config.ConfigPersister.<init>(ConfigPersister.java:73)
at net.sf.launch4j.config.ConfigPersister.<clinit>(ConfigPersister.java:66)
at net.sf.launch4j.Main.main(Main.java:58)
Caused by: java.lang.StringIndexOutOfBoundsException: begin 0, end 3, length 1
at java.base/java.lang.String.checkBoundsBeginEnd(String.java:3116)
at java.base/java.lang.String.substring(String.java:1885)
at com.thoughtworks.xstream.core.JVM.getMajorJavaVersion(JVM.java:25)
at com.thoughtworks.xstream.core.JVM.<clinit>(JVM.java:12)
... 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
URL : http://launch4j.sf.net
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.