mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 19:42:36 +02:00
GP-0: LaunchSupport can now find Eclipse JustJ JDK on Linux
This commit is contained in:
parent
5aedf25ee6
commit
6f3c2d363d
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ public class LinuxJavaFinder extends JavaFinder {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
protected File getJdkHomeFromJavaHome(File javaHomeDir) {
|
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.getParentFile();
|
||||||
}
|
}
|
||||||
return javaHomeDir;
|
return javaHomeDir;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue