Comments (7)
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.
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.
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.
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.
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 :(
I had to use OpenJDK version 17 to be able to build Android in Linux.... but it is working now for me
I suggest you look at my posts and the first users posts on https://forums.solar2d.com/t/how-i-made-solar2d-works-on-linux/356469/13
from corona.
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?
@amigojapan already installed JDK 17
from corona.
It suppose to use built in JDK… oh. It’s linux, nevermind. Make sure you have javac as well
from corona.
Related Issues (20)
- File either missing or mislabelled HOT 2
- Really machine HOT 1
- [html5]:Cannot get the width and height of the screen when Chrome Zoom Level Not Set to 100%
- [BUG] Amazon IAP Completely Broken HOT 1
- Unity Ads are not loading on iOS HOT 1
- Game show a black screen
- [LINUX]: runtime bug with admob
- [PHYSICS]: Wheel Joint axis issue.
- Microsoft Defender SmartScreen prevents installation of Solar2D HOT 2
- Trouble with corona/librtt/Corona/CoronaObjects.cpp line 268 and 285. Compilation error related to the Rtt::Display class HOT 3
- Timing bug in scene transitions HOT 2
- Android: API Level 34 HOT 5
- Google billing v2 no longer works with pending purchases since the update to billing library 6 HOT 3
- Support Android builds larger than 500MB in size HOT 4
- Can't Build for Android with 3707 HOT 3
- [BUG] - Default.png not working correctly so iPad apps are not able to run fullscreen
- Update to Unity Ads Plugin is needed for Google Play User Data policy HOT 9
- [PLATFORM]: Windows SideBySide errors after installing 3707
- ERROR: Build Failed: Error code: 256 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from corona.