Giter Club home page Giter Club logo

Comments (4)

alchem1ster avatar alchem1ster commented on June 2, 2024 1

The same. I think that need to update sdk inside Snap filesystem, because in log:

Detected Java version: 1.6 in: /snap/solar2d/x1/usr/lib/jvm/java-8-openjdk-amd64/jre

It doesn't use Java from the system :(

from corona.

clang-clang-clang avatar clang-clang-clang commented on June 2, 2024

Incompatible because this component declares an API of a component compatible with Java 11 and the consumer needed a runtime of a component compatible with Java 8

Try using JDK 11+.
The issue template may misleading.

from corona.

alchem1ster avatar alchem1ster commented on June 2, 2024
ccso@home:~$ javac -version
javac 17.0.10
ccso@home:~$ java -version
openjdk version "17.0.10" 2024-01-16
OpenJDK Runtime Environment (build 17.0.10+7-Ubuntu-122.04.1)
OpenJDK 64-Bit Server VM (build 17.0.10+7-Ubuntu-122.04.1, mixed mode, sharing)

The same issue. Maybe need to upgrade Java SDK inside snap? But how?

from corona.

clang-clang-clang avatar clang-clang-clang commented on June 2, 2024

Sorry I can't access linux right now and I'm not sure if this will fix the problem.

Can you export JAVA_HOME for your JDK installation location on your terminal, then set jdk/bin to PATH and try to open solar2d from the terminal?

It looks something like this:

# setup variable for current terminal
$ export JAVA_HOME=/somewhere/jdk11
$ export PATH=$JAVA_HOME/bin:$PATH
# start with above variables
$ solar2d

If the above settings do not build Android properly, we need to wait for the engine core to modify the JDK version on which it depends.

from corona.

Related Issues (20)

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.