Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Resolved Exception in Application start method (Mac OSX)

Hexis bots go brrr
Joined
Dec 9, 2016
Messages
4,787
Recently ran into this errors on the latest .jar build of the client in IntelliJ. The code snippet below is the full error I am receiving immediately from the start of the build.
Running on Mac OSX.
Code:
Exception in Application start method
Exception in thread "main" java.lang.RuntimeException: Exception in Application start method
    at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$155(LauncherImpl.java:182)
    at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoSuchMethodError: com.sun.tools.attach.AttachOperationFailedException.if(Ljava/lang/String;)Ljava/lang/String;
    at nul.IiiiIIiIiiIi.<clinit>(eoa:127)
    at nul.iiIIiIiiiiiI.<init>(poa:127)
    at com.runemate.boot.Boot.start(msb:18)
    at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(LauncherImpl.java:863)
    at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(PlatformImpl.java:326)
    at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
    at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
java.lang.NoSuchMethodError: com.sun.tools.attach.AttachOperationFailedException.if(Ljava/lang/String;)Ljava/lang/String;
    at nul.IIIiiIiiIIII.<clinit>(cra:97)
    at nul.IiiiIIiIIiii.<clinit>(kra:68)
    at nul.IiiIIIiiiiII.run(zua:20)
An unhandled error occurred while shutting down.

Process finished with exit code 1
 
Last edited:
Joined
Jan 12, 2017
Messages
87
i am having a similar issue on Windows, i am trying to make my own combat script so i decided to check out some of the Opensource versions. they all come up with the same issue:


Exception in Application start method
Exception in thread "main" java.lang.RuntimeException: Exception in Application start method
at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$155(LauncherImpl.java:182)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NoSuchMethodError: sun.jvmstat.perfdata.monitor.AliasFileParser.enum(Ljava/lang/String;)Ljava/lang/String;
at nul.iIiIIIiIIiii.<clinit>(zra:78)
at com.runemate.boot.Boot.start(qib:225)
at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$162(LauncherImpl.java:863)
at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$175(PlatformImpl.java:326)
at com.sun.javafx.application.PlatformImpl.lambda$null$173(PlatformImpl.java:295)
at java.security.AccessController.doPrivileged(Native Method)
at com.sun.javafx.application.PlatformImpl.lambda$runLater$174(PlatformImpl.java:294)
at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
at com.sun.glass.ui.win.WinApplication.lambda$null$148(WinApplication.java:191)
... 1 more
java.lang.NoSuchMethodError: sun.jvmstat.perfdata.monitor.MonitorStatus.enum(Ljava/lang/String;)Ljava/lang/String;
at nul.IIIiiIiiiIIi.<clinit>(hpa:147)
at nul.iiiIIIiiiIII.run(jsa:227)
Exception in thread "RMShutdownHook" java.lang.NoSuchMethodError: sun.jvmstat.perfdata.monitor.MonitorStatus.enum(Ljava/lang/String;)Ljava/lang/String;
at nul.iiiIIIiiiIII.run(jsa:39)

Process finished with exit code 1
 
Hexis bots go brrr
Joined
Dec 9, 2016
Messages
4,787
i fixed mine by redirecting the jre environment inside intellij
 
Hexis bots go brrr
Joined
Dec 9, 2016
Messages
4,787
In IntelliJ: Run -> Edit Configurations -> Select the configuration you've made -> JRE
 
Joined
Jan 12, 2017
Messages
87
so youre running something else than a 32bit SDK?
im kinda lost atm, mine is currently set up ''C:\Program Files (x86)\Java\jdk1.8.0_121''
 
In IntelliJ: Run -> Edit Configurations -> Select the configuration you've made -> JRE
nevermind i think i found it, i selected JRE instead of JDK

Thank You!!
 
Hexis bots go brrr
Joined
Dec 9, 2016
Messages
4,787
so youre running something else than a 32bit SDK?
im kinda lost atm, mine is currently set up ''C:\Program Files (x86)\Java\jdk1.8.0_121''
 

nevermind i think i found it, i selected JRE instead of JDK

Thank You!!
you can also select the jre that runemate installs for your automatically. Somewhere inside Program Files(x86)/RuneMate/jre i think
 
Top