ringo / ringojs

RingoJS is a JavaScript platform built on the JVM and optimized for server-side applications.
https://ringojs.org
Apache License 2.0
838 stars 101 forks source link

RingoJS not working on Ubuntu 18.04 #402

Closed mpsaavedra closed 4 years ago

mpsaavedra commented 5 years ago

every time i try to execute RingoJS in my computer i get this error

Uncaught exception: java.lang.NullPointerException at org.ringojs.tools.launcher.Main.getRingoHome(Main.java:169) at org.ringojs.tools.launcher.Main.(Main.java:50) at org.ringojs.tools.launcher.Main.main(Main.java:44)

uname -a Linux working-laptop 4.15.0-43-generic #46-Ubuntu SMP Thu Dec 6 14:45:28 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Java --version

openjdk 10.0.2 2018-07-17 OpenJDK Runtime Environment (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4) OpenJDK 64-Bit Server VM (build 10.0.2+13-Ubuntu-1ubuntu0.18.04.4, mixed mode)

botic commented 5 years ago

Where is your RINGO_HOME environment variable pointing to? Or do you have a ringo.home Java property set? If not set, Ringo tries to use the location of the Main class as RINGO_HOME. Since a lot of the class loading process has been changed with Java 9+ there might be the root issue.

Are you using RingoJS 1.2.1 or master?

botic commented 4 years ago

No feedback. Closed.