GP-6012: Some server related JDK 25 fixes

This commit is contained in:
Ryan Kurtz
2026-07-01 10:32:40 -04:00
parent 7b2ba503f7
commit e3cdfcce5b
3 changed files with 9 additions and 5 deletions
+4 -4
View File
@@ -5,7 +5,7 @@
# Usage: ghidraSvr [ console | status | install | uninstall | start | stop | restart ]
#---------------------------------------------------------------------------------------
# The Java 21 (or later) runtime installation must either be on the system path, specified by the
# The Java 25 (or later) runtime installation must either be on the system path, specified by the
# JAVA_HOME environment variable or preferably set explicitly with the GHIDRA_JAVA_HOME variable
# below. Since this script may be used during service initialization, reliance on environmental
# settings such as JAVA_HOME may be problematic. It is also important to note that once installed
@@ -18,11 +18,11 @@
# installed as a systemd service the Java path will be locked-in to the generated ghidra.service
# script.
#
# Example: The symbolic link "/usr/lib/jvm/java-21-openjdk" should be specified in favor of a
# version-specific path such as "/usr/lib/jvm/java-21-openjdk-21.0.5.0.10-3.el8.x86_64".
# Example: The symbolic link "/usr/lib/jvm/java-25-openjdk" should be specified in favor of a
# version-specific path such as "/usr/lib/jvm/java-25-openjdk-25.0.5.0.10-3.el8.x86_64".
# Uncomment the following line and set JAVA_HOME before installing as a service
# GHIDRA_JAVA_HOME=/usr/lib/jvm/java-21-openjdk
# GHIDRA_JAVA_HOME=/usr/lib/jvm/java-25-openjdk
OPTION=$1
+1 -1
View File
@@ -20,7 +20,7 @@
:: Usage: ghidraSvr [ console | status | install | uninstall | start | stop | restart ]
:: ---------------------------------------------------------------------------------------
:: The Java 21 (or later) runtime installation must either be on the system path, specified by the
:: The Java 25 (or later) runtime installation must either be on the system path, specified by the
:: JAVA_HOME environment variable or preferably set explicitly with the GHIDRA_JAVA_HOME variable
:: below. Since this script may be used during service initialization, reliance on environmental
:: settings such as JAVA_HOME may be problematic. It is also important to note that once installed
+4
View File
@@ -97,6 +97,10 @@ wrapper.java.additional.11=-Ddb.buffers.DataBuffer.compressedOutput=true
#wrapper.java.additional.18=-Dcom.sun.management.jmxremote.authenticate=false
#wrapper.java.additional.19=-Dcom.sun.management.jmxremote.ssl=false
# The wrapper calls java.lang.System::load in com.sun.jna.Native.
# The below line will prevent a warning from being displayed.
wrapper.java.additional.20=--enable-native-access=ALL-UNNAMED
# YAJSW will by default assume a POSIX spawn for Linux and Mac OS X systems, unfortunately it has
# not yet been implemented for Mac OS X. The default process support within YAJSW for Mac OS X is
# broken so we must force the use of BSD process support which appears to work properly. To enable