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

Question Trying to set up IntelliJ on Mac

Discussion in 'Developer Support' started by Aozzyr, Mar 18, 2017.

  1. Aozzyr

    Joined:
    Jan 21, 2015
    Messages:
    1
    Likes Received:
    2
    Currently trying to setup in IntelliJ. I've followed a couple of tutorials and tried searching other forums for answers, but to no avail. I've gotten all the way through (added library from RuneMate.jar), but the console is telling me this:
    [Debug] Java Home: /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre
    [Debug] Java Version: 8u121 x64 (Oracle Corporation)
    [Debug] RuneMate Version: 2.5.0
    [Debug] Operating System: Mac OS X x64
    Exception in Application start method
    Exception in thread "JavaFX Application Thread" java.lang.NullPointerException
    at nul.iiiiiIiiiIiI.float(ena:11815)
    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)
    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.CountedTimerTaskUtils.this(Ljava/lang/String;)Ljava/lang/String;
    at nul.IIIiiiIIiiiI.<clinit>(uub:216)
    at nul.iIIIIiIiIiiI.this(uub:13884)
    at nul.iiiiiiIiIIIi.<init>(fu:303)
    at nul.IIiIiiIiiiII.<init>(fu:21694)
    at nul.iIIIIiIiIiiI.this(uub:11149)
    at nul.IiiiIIiIIIii.<init>(npb:180)
    at nul.IiiIiIiiiIII.<clinit>(bqb:162)
    at nul.iiIiiIiiIiii.<clinit>(spa:218)
    at nul.iiiiiIiiiIiI.initialize(ena:16218)
    at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2548)
    at javafx.fxml.FXMLLoader.loadImpl(FXMLLoader.java:2441)
    at javafx.fxml.FXMLLoader.load(FXMLLoader.java:2409)
    at nul.iIiiiIiIIiII.this(mma:144)
    at nul.iIiiiIiIIiII.<init>(mma:79)
    at nul.iIiiiIiIIiII.<init>(mma:155)
    at nul.iiiiiIiiiIiI.<init>(ena:32)
    at nul.iiiiiIiiiIiI.this(ena:15828)
    at com.runemate.boot.Boot.start(gmb:100)
    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.AttachPermission.this(Ljava/lang/String;)Ljava/lang/String;
    at nul.iIIiIIiIIiIi.<clinit>(dma:130)
    at nul.iiiiIIiIIiii.<clinit>(dna:199)
    at nul.IIiiiIiiiIIi.run(lua:223)
    Exception in thread "RMShutdownHook" java.lang.NoSuchMethodError: com.sun.tools.attach.AttachOperationFailedException.this(Ljava/lang/String;)Ljava/lang/String;
    at nul.IIiiiIiiiIIi.run(lua:176)

    Process finished with exit code 0

    Also here are my Configuration Settings:
    --- Double Post Merged, Mar 18, 2017, Original Post Date: Mar 17, 2017 ---
    UPDATE and FIX: Added "/jre" to the end of my JRE configuration so it's now "*/Contents/Home/jre"
     
    Crawl3r and Slex like this.
  2. Slex

    Joined:
    Jan 23, 2017
    Messages:
    111
    Likes Received:
    19
    Common problem on Mac (that stupid folder) glad you've found it
     
  3. Crawl3r

    Crawl3r InfoSec Fanatic

    Joined:
    Dec 13, 2017
    Messages:
    7
    Likes Received:
    1
    Not all heroes wear capes.

    Sorry to res an old post, but this is still relevant! I came across this problem this evening, googled the whole error and your fix was the ONLY thing on google, and it still works :) Thanks
     

Share This Page

Loading...