mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-05-21 18:12:14 +08:00
GP-0: LaunchSupport can now find Eclipse JustJ JDK on Linux
This commit is contained in:
@@ -50,7 +50,7 @@ public class LinuxJavaFinder extends JavaFinder {
|
||||
|
||||
@Override
|
||||
protected File getJdkHomeFromJavaHome(File javaHomeDir) {
|
||||
if (javaHomeDir.getName().equals("jre")) {
|
||||
if (javaHomeDir.getName().equals("jre") && !javaHomeDir.getAbsolutePath().contains("org.eclipse.justj")) {
|
||||
return javaHomeDir.getParentFile();
|
||||
}
|
||||
return javaHomeDir;
|
||||
|
||||
Reference in New Issue
Block a user