mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-01-09 14:08:03 -05:00
GP-5381: Fixed a bug that prevented Ghidra from remembering the
last-used JDK when the JAVA_HOME environment variable was set (Closes #7503)
This commit is contained in:
@@ -202,6 +202,9 @@ public class LaunchSupport {
|
||||
if (javaHome != null) {
|
||||
javaHomeDir = new File(javaHome);
|
||||
if (appConfig.isSupportedJavaHomeDir(javaHomeDir, javaFilter)) {
|
||||
if (save) {
|
||||
appConfig.saveJavaHome(javaHomeDir);
|
||||
}
|
||||
System.out.println(javaHomeDir);
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user