Resolved Cannot compile & run script MAC OS X - Help.

Discussion in 'Developer Support' started by bashbro900, Oct 6, 2016.

Tags:
  1. EDIT: I made the main class "com.runemate.boot.Boot"

    It can't ever run and compile... attached is a screenshot of the error
    Code (Javascript):
    1. /Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/bin/java -Didea.launcher.port=7534 "-Didea.launcher.bin.path=/Applications/IntelliJ IDEA CE.app/Contents/bin" -Dfile.encoding=UTF-8 -classpath "/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/charsets.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/deploy.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/ext/cldrdata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/ext/dnsns.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/ext/jaccess.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/ext/jfxrt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/ext/localedata.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/ext/nashorn.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/ext/sunec.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/ext/sunjce_provider.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/ext/sunpkcs11.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/ext/zipfs.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/javaws.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/jce.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/jfr.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/jfxswt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/jsse.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/management-agent.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/plugin.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/resources.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/jre/lib/rt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/lib/ant-javafx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/lib/dt.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/lib/javafx-mx.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/lib/jconsole.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/lib/packager.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/lib/sa-jdi.jar:/Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/lib/tools.jar:/Users/MikeISanAPPLE/IdeaProjects/Runemate/out/production/Runemate:/Users/MikeISanAPPLE/IdeaProjects/Runemate/RuneMate.jar:/Applications/IntelliJ IDEA CE.app/Contents/lib/idea_rt.jar" com.intellij.rt.execution.application.AppMain com.runemate.boot.Boot
    2. Exception in thread "main" java.lang.NoSuchMethodError: com.sun.tools.attach.AgentInitializationException.false(Ljava/lang/String;)Ljava/lang/String;
    3.     at nul.IiiIIIiiIiIi.false(ura:96)
    4.     at nul.IiiIIIiiIiIi.class(ura:4)
    5.     at com.runemate.boot.Boot.main(vrb:152)
    6.     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    7.     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    8.     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    9.     at java.lang.reflect.Method.invoke(Method.java:498)
    10.     at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
    11. java.lang.NoSuchMethodError: sun.jvmstat.perfdata.monitor.CountedTimerTask.false(Ljava/lang/String;)Ljava/lang/String;
    12.     at nul.iiIIIiIIiiIi.<clinit>(nz:17159)
    13.     at nul.IIIiiiIIiiII.<init>(nz:13219)
    14.     at nul.iiiiIiIiIiIi.<init>(nz:21259)
    15.     at nul.IIIIiiIiIiII.false(nyb:9485)
    16.     at nul.IiIiiIiiiIIi.<init>(wrb:146)
    17.     at nul.iIiiIIiiiiii.<clinit>(hsb:65)
    18.     at nul.iIIIIIiIIiII.run(epa:167)
    19. An unhandled error occurred while shutting down.
    20.  
    21. Process finished with exit code 1
    22.  
     

    Attached Files:

    #1 bashbro900, Oct 6, 2016
    Last edited: Oct 7, 2016
  2. Best Answer:
    Post #2 by auxi, Oct 6, 2016
  3. It should be: com.runemate.boot.Boot.
     
  4. that is what i thought.... But I get that error.
    --- Double Post Merged, Oct 6, 2016, Original Post Date: Oct 6, 2016 ---
    I changed com.runemate.boot to com.runemate.boot.Boot

    this error:

    Exception in thread "main" java.lang.NoSuchMethodError: com.sun.tools.attach.AgentInitializationException.false(Ljava/lang/String;)Ljava/lang/String;
    at nul.IiiIIIiiIiIi.false(ura:96)
    at nul.IiiIIIiiIiIi.class(ura:4)
    at com.runemate.boot.Boot.main(vrb:152)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at com.intellij.rt.execution.application.AppMain.main(AppMain.java:147)
    java.lang.NoSuchMethodError: sun.jvmstat.perfdata.monitor.CountedTimerTask.false(Ljava/lang/String;)Ljava/lang/String;
    at nul.iiIIIiIIiiIi.<clinit>(nz:17159)
    at nul.IIIiiiIIiiII.<init>(nz:13219)
    at nul.iiiiIiIiIiIi.<init>(nz:21259)
    at nul.IIIIiiIiIiII.false(nyb:9485)
    at nul.IiIiiIiiiIIi.<init>(wrb:146)
    at nul.iIiiIIiiiiii.<clinit>(hsb:65)
    at nul.iIIIIIiIIiII.run(epa:167)
    An unhandled error occurred while shutting down.

    Process finished with exit code 1
     

Share This Page

Loading...