1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Resolved RuntimeException & NoSuchMethodError

Discussion in 'Developer Support' started by ghoi, Jun 1, 2016.

  1. ghoi

    Joined:
    Nov 26, 2015
    Messages:
    9
    Likes Received:
    0
    Hi all,

    I'm setting up my environment to start developing. I'm on a mac (if that helps). I've tried to follow Party's beginner guide, so I have my hello world bot, but after compiling and running, I immediately get this:

    Code (Text):
    1. Exception in Application start method
    2. Exception in thread "main" java.lang.RuntimeException: Exception in Application start method
    3.     at com.sun.javafx.application.LauncherImpl.launchApplication1(LauncherImpl.java:917)
    4.     at com.sun.javafx.application.LauncherImpl.lambda$launchApplication$156(LauncherImpl.java:182)
    5.     at java.lang.Thread.run(Thread.java:745)
    6. Caused by: java.lang.NoSuchMethodError: sun.jvmstat.perfdata.monitor.protocol.local.LocalEventTimer.try(Ljava/lang/String;)Ljava/lang/String;
    7.     at nul.IiiIIIiIIiIi.try(cob:202)
    8.     at nul.IIiiiIiIIIII.try(xwb:20)
    9.     at nul.IIiiiIiIIIII.super(xwb:183)
    10.     at nul.IiIIIIiiiIiI.try(sub:157)
    11.     at com.runemate.boot.Boot.try(ihc:273)
    12.     at java.util.Arrays$ArrayList.forEach(Arrays.java:3880)
    13.     at com.runemate.boot.Boot.start(ihc:94)
    14.     at com.sun.javafx.application.LauncherImpl.lambda$launchApplication1$163(LauncherImpl.java:863)
    15.     at com.sun.javafx.application.PlatformImpl.lambda$runAndWait$176(PlatformImpl.java:326)
    16.     at com.sun.javafx.application.PlatformImpl.lambda$null$174(PlatformImpl.java:295)
    17.     at java.security.AccessController.doPrivileged(Native Method)
    18.     at com.sun.javafx.application.PlatformImpl.lambda$runLater$175(PlatformImpl.java:294)
    19.     at com.sun.glass.ui.InvokeLaterDispatcher$Future.run(InvokeLaterDispatcher.java:95)
    20. java.lang.NoSuchMethodError: sun.jvmstat.perfdata.monitor.AbstractPerfDataBufferPrologue.try(Ljava/lang/String;)Ljava/lang/String;
    21.     at nul.iiiiIIiiiiiI.<clinit>(jqb:1)
    22.     at nul.iIIIIIiiiIIi.run(qub:157)
    23. An unhandled error occurred while shutting down.
    I've also tried to run SlashnHax's open source miner, and I get the same error.

    Potential problems:
    - I'm not sure if I picked the right JRE in my configurations. Couldn't find a mac 32 bit JRE (macs are only 64bit I think?) and couldn't find it in the Runemate directory, so I tried all of these options and it didn't work (pic attached)

    Thanks for any help!!

     

    Attached Files:

  2. Best Answer:
    Post #3 by Arbiter, Jun 1, 2016
  3. Serene

    Serene ( ͡° ͜ʖ ͡°)

    Joined:
    Mar 30, 2015
    Messages:
    2,408
    Likes Received:
    508
    #2 Serene, Jun 1, 2016
    Last edited: Jun 1, 2016
  4. Arbiter

    Arbiter Mod Automation

    Joined:
    Jul 26, 2013
    Messages:
    2,937
    Likes Received:
    1,266
    You're going to want the JDK for development purposes. If you use the JDK and you're still having issues, RuneMate auto-downloads the right JRE it needs to run. It's inside /Applications/RuneMate.app/... I forget the exact path but you should be able to find it easily. If you have trouble someone in the Dev Chat can likely Teamviewer you and help you. Sorry for the difficulty you're having. Apple doesn't like Java very much and doesn't make it easy.
     
  5. ghoi

    Joined:
    Nov 26, 2015
    Messages:
    9
    Likes Received:
    0
    Thanks guys I got it! Just had the wrong folder selected before ugh. The path on my computer was

    /Applications/RuneMate.app/Contents/PlugIns/jre.bundle/Contents/Home/jre

    if anyone else has this problem also
     

Share This Page

Loading...