mirror of
https://git.freebsd.org/ports.git
synced 2025-06-16 10:10:31 -04:00
crashes when several JDK versions are installed and javawm(1) picks higher version (happens when /usr/ports/Mk/bsd.java.mk is absent, contrary to documented selection process which is designed to behave almost identically WRT presence/absence of /usr/ports/Mk/bsd.java.mk - While here, simplify the script a bit and remove keywords and their expansion, they are useless for wrapper scripts PR: 250268 Submitted by: rodrigo
6 lines
159 B
Bash
6 lines
159 B
Bash
#!/bin/sh
|
|
|
|
JAVA="%%LOCALBASE%%/bin/java"
|
|
SH3D_JAR="%%JAVALIBDIR%%/%%JARNAME%%"
|
|
|
|
JAVA_VERSION=%%JAVA_VERSION%% exec "${JAVA}" -Xmx1024m -jar "${SH3D_JAR}" "$@"
|