mirror of
https://github.com/2006-Scape/2006Scape.git
synced 2026-07-03 00:31:51 +00:00
Fix 32-bit java (#289)
This commit is contained in:
@@ -11540,7 +11540,7 @@ public class Game extends RSApplet {
|
|||||||
|
|
||||||
public Game() {
|
public Game() {
|
||||||
//Test if they're on 32-bit, warn them if they are
|
//Test if they're on 32-bit, warn them if they are
|
||||||
if (!System.getProperty("os.arch").contains("64"))
|
if (!System.getProperty("sun.arch.data.model").contains("64"))
|
||||||
{
|
{
|
||||||
JOptionPane.showMessageDialog(null, "You're running 32-bit java. This will definitely cause problems.\nYou can get the right Java 8 at AdoptOpenJDK.net", "You're running 32-bit Java!", JOptionPane.INFORMATION_MESSAGE);
|
JOptionPane.showMessageDialog(null, "You're running 32-bit java. This will definitely cause problems.\nYou can get the right Java 8 at AdoptOpenJDK.net", "You're running 32-bit Java!", JOptionPane.INFORMATION_MESSAGE);
|
||||||
System.out.println("Please upgrade to 64-bit java to avoid problems! (AdoptOpenJDK.net)");
|
System.out.println("Please upgrade to 64-bit java to avoid problems! (AdoptOpenJDK.net)");
|
||||||
|
|||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Reference in New Issue
Block a user