mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02: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:
parent
e2d47f4c35
commit
61c15860f0
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue