Code Monkey home page Code Monkey logo

Comments (6)

tibbon avatar tibbon commented on June 20, 2024

Similarly:

~/C/Galaxia ❯❯❯ ./gradlew run1 g3-split-petal ✱

> Task :run
java.lang.NoClassDefFoundError: com/apple/eawt/QuitHandler
        at java.base/java.lang.Class.getDeclaredMethods0(Native Method)
        at java.base/java.lang.Class.privateGetDeclaredMethods(Class.java:3119)
        at java.base/java.lang.Class.getMethodsRecursive(Class.java:3260)
        at java.base/java.lang.Class.getMethod0(Class.java:3246)
        at java.base/java.lang.Class.getMethod(Class.java:2065)
        at processing.core.PApplet.runSketch(PApplet.java:10707)
        at processing.core.PApplet.main(PApplet.java:10467)
        at org.templegalaxia.GalaxiaGui.main(GalaxiaGui.java:23)
Caused by: java.lang.ClassNotFoundException: com.apple.eawt.QuitHandler
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(BuiltinClassLoader.java:582)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(ClassLoaders.java:190)
        at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:499)
        ... 8 more

> Task :run FAILED

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':run'.
> Process 'command '/Library/Java/JavaVirtualMachines/jdk-10.0.1.jdk/Contents/Home/bin/java'' finished with non-zero exit value 1

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

* Get more help at https://help.gradle.org

BUILD FAILED in 4s
3 actionable tasks: 1 executed, 2 up-to-date
~/C/Galaxia ❯❯❯                                                                                                                                                                ✘ 1 g3-split-petal

from galaxia.

tibbon avatar tibbon commented on June 20, 2024

I will admit, I rarely/never use Java, so I might be missing something obvious here.

from galaxia.

Geethree avatar Geethree commented on June 20, 2024

Hey Tibbon. Apologies I wasn't getting notifications from these issues. Does the PR you submitted solve your issue?

from galaxia.

Geethree avatar Geethree commented on June 20, 2024

It looks like you have java 10 installed, but you'll need java 8 to run this bit of software. @meawoppl ?

from galaxia.

meawoppl avatar meawoppl commented on June 20, 2024

from galaxia.

tibbon avatar tibbon commented on June 20, 2024

Looks like my problem was that I had Java / JRE 10 on there, instead of 8/1.8

from galaxia.

Related Issues (2)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.