From bb9c19b834847697803e3dbe03152e40f095a0d0 Mon Sep 17 00:00:00 2001 From: Ryan Kurtz Date: Mon, 12 Jan 2026 07:11:34 -0500 Subject: [PATCH] GP-6012: Moving to JDK 25 --- Ghidra/RuntimeScripts/support/launch.properties | 3 +++ Ghidra/application.properties | 6 +++--- GhidraDocs/GettingStarted.md | 10 +++++----- README.md | 4 ++-- eclipse/GhidraEclipseFormatter.xml | 1 + 5 files changed, 14 insertions(+), 10 deletions(-) diff --git a/Ghidra/RuntimeScripts/support/launch.properties b/Ghidra/RuntimeScripts/support/launch.properties index 42e00fdba8..f13c8f1e5a 100644 --- a/Ghidra/RuntimeScripts/support/launch.properties +++ b/Ghidra/RuntimeScripts/support/launch.properties @@ -105,6 +105,9 @@ VMARGS=-Djavax.xml.accessExternalStylesheet= # Enable native access (required by FlatLaf) VMARGS=--enable-native-access=ALL-UNNAMED +# Hide unsafe memory access warning (triggered by Apache Felix) +VMARGS=--sun-misc-unsafe-memory-access=allow + # Settings directory used by the application to store application settings and data that persist # between application sessions, system reboots, and periodic system cleanup. Overridden values # are required to be absolute paths. The current user name may be incorporated into the settings diff --git a/Ghidra/application.properties b/Ghidra/application.properties index 1c6ddeaf6c..270f8a1900 100644 --- a/Ghidra/application.properties +++ b/Ghidra/application.properties @@ -2,9 +2,9 @@ application.name=Ghidra application.version=12.2 application.release.name=DEV application.layout.version=3 -application.gradle.min=8.5 +application.gradle.min=9.1 application.gradle.max= -application.java.min=21 +application.java.min=25 application.java.max= -application.java.compiler=21 +application.java.compiler=25 application.python.supported=3.14, 3.13, 3.12, 3.11, 3.10, 3.9 diff --git a/GhidraDocs/GettingStarted.md b/GhidraDocs/GettingStarted.md index f844576205..3f20a3edc9 100644 --- a/GhidraDocs/GettingStarted.md +++ b/GhidraDocs/GettingStarted.md @@ -51,12 +51,12 @@ a specific need. * Dual monitors strongly suggested ### Software -* Java 21 64-bit Runtime and Development Kit (JDK) (see [Java Notes](#java-notes)) - * Free long term support (LTS) versions of JDK 21 are provided by: +* Java 25 64-bit Runtime and Development Kit (JDK) (see [Java Notes](#java-notes)) + * Free long term support (LTS) versions of JDK 25 are provided by: * [Adoptium Temurin](https://adoptium.net/temurin/releases) - * [Amazon Corretto](https://docs.aws.amazon.com/corretto/latest/corretto-21-ug/downloads-list.html) + * [Amazon Corretto](https://docs.aws.amazon.com/corretto/latest/corretto-25-ug/downloads-list.html) * Python3 (3.9 to 3.14) - * Python 3.9 to 3.14 for [Debugger support](#debugger-notes) + * Python 3.7 to 3.14 for [Debugger support](#debugger-notes) * Python 3.9 to 3.14 for [PyGhidra support](#pyghidra-mode) * This is available from [Python.org](https://python.org) or most operating system's app stores or software repositories. For Linux it is recommended that the system's package repository be used @@ -210,7 +210,7 @@ For supported systems where native binaries have not been supplied, or those tha to run properly, it may be necessary to build the native Ghidra binaries. In order to build native binaries for your platform, you will need the following installed on your system: * A [supported](#minimum-requirements) version of a Java Development Kit -* [Gradle 8.5+](https://gradle.org/releases) (or supplied Gradle wrapper with Internet connection) +* [Gradle 9.1.0+](https://gradle.org/releases) (or supplied Gradle wrapper with Internet connection) * Software C/C++ build tools and library packages * __macOS:__ _Xcode_ or the abbreviated _Command Line Tools for Xcode_. Assuming you are connected to the Internet, _Xcode_ (which includes the command tools) may be installed directly from the diff --git a/README.md b/README.md index 1e5534e830..4640214ee3 100644 --- a/README.md +++ b/README.md @@ -47,8 +47,8 @@ Ghidra installation directory. To create the latest development build for your platform from this source repository: ##### Install build tools: -* [JDK 21 64-bit][jdk] -* [Gradle 8.5+][gradle] (or provided Gradle wrapper if Internet connection is available) +* [JDK 25 64-bit][jdk] +* [Gradle 9.1.0+][gradle] (or provided Gradle wrapper if Internet connection is available) * [Python3][python3] (version 3.9 to 3.14) with bundled pip * GCC or Clang, and make (Linux/macOS-only) * [Microsoft Visual Studio][vs] 2017+ or [Microsoft C++ Build Tools][vcbuildtools] with the diff --git a/eclipse/GhidraEclipseFormatter.xml b/eclipse/GhidraEclipseFormatter.xml index bb36d11835..2ddcf2328f 100644 --- a/eclipse/GhidraEclipseFormatter.xml +++ b/eclipse/GhidraEclipseFormatter.xml @@ -226,6 +226,7 @@ +