mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-10-22 18:22:23 -09:00
GT-3146: Preventing Ghidra from launching with 32-bit Java (fixes #882).
This commit is contained in:
@@ -224,10 +224,11 @@ public class LaunchSupport {
|
||||
javaRange = min + "-" + max;
|
||||
}
|
||||
|
||||
System.out.println("*******************************************************");
|
||||
System.out.println("******************************************************************");
|
||||
System.out.println(
|
||||
javaName + " " + javaRange + " could not be found and must be manually chosen!");
|
||||
System.out.println("*******************************************************");
|
||||
javaName + " " + javaRange + " (" + javaConfig.getSupportedArchitecture() +
|
||||
"-bit) could not be found and must be manually chosen!");
|
||||
System.out.println("******************************************************************");
|
||||
|
||||
File javaHomeDir = null;
|
||||
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
|
||||
@@ -259,7 +260,7 @@ public class LaunchSupport {
|
||||
}
|
||||
System.out.println(
|
||||
"Java version " + javaVersion + " is outside of supported range: [" +
|
||||
javaRange + "]");
|
||||
javaRange + " " + javaConfig.getSupportedArchitecture() + "-bit]");
|
||||
}
|
||||
catch (FileNotFoundException e) {
|
||||
System.out.println(
|
||||
|
||||
Reference in New Issue
Block a user