Package Details: launch4j 3.50-2

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: jsimon0
Last Packager: jsimon0
Votes: 17
Popularity: 0.000000
First Submitted: 2008-03-15 21:36 (UTC)
Last Updated: 2025-02-04 13:54 (UTC)

Dependencies (2)

Required by (1)

Sources (1)

Latest Comments

« First ‹ Previous 1 2

jsimon0 commented on 2021-02-18 22:59 (UTC)

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

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

newsboost commented on 2017-10-25 08:33 (UTC)

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 (UTC) (edited on 2017-10-24 14:03 (UTC) by sflor)

https://sourceforge.net/p/launch4j/bugs/172/ Doesn't seem to work with Java 9.

newsboost commented on 2017-10-24 13:59 (UTC)

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

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

Red_Squirrel commented on 2013-12-24 12:02 (UTC)

Done, thank you for the tip

stef312 commented on 2013-12-24 09:03 (UTC)

Please add 'staticlibs' in options : options=('!strip' 'staticlibs') Otherwise, files in opt/launch4j/w32api/ are removed. Thanx, stef312

Red_Squirrel commented on 2013-08-21 09:21 (UTC)

Updated to 3.1.0 beta2

Red_Squirrel commented on 2013-02-19 14:04 (UTC)

Adopted and updated the package to the latest release ;)