Closed hellocatfood closed 1 year ago
Just wanted to highlight: I got the same message, but only on openjdk-11-jre. After switching to openjdk-8-jre the issue disappeared.
Sadly I am using openjkd-8-jre and I still got that error. I got it working by following the instructions provided by Autar in this SO post https://stackoverflow.com/questions/10995894/worldwind-runnable-jar-no-gluegen-rt-in-java-library-path Hope it helps!
I'm using Ubuntu 16.04 and the version I run was the 0.1.9
Actually downgrading to java-8 worked for me and installing some gtk3 modules :
sudo apt install libcanberra-gtk-module libcanberra-gtk3-module
sudo apt-get install openjdk-8-jdk
And here is the configuration for IntelliJ :
Please see this ss to :
If you have multiple Java versions installed on your machine, you can switch between them via (switching to java-8 helped):
$ sudo update-alternatives --config java
This link explains more. Just wanted to leave this here in case it helps anyone.
As of fbe6b37, OSM2World is now using a JOGL 2.4.0 release candidate. This makes current builds compatible with modern JDK versions and should take care of the need to downgrade to java-8 to run OSM2World.
I compiled the code using ant and tried to run the software by running
java -jar build/OSM2World.jar --gui
. I got the following error even when trying to run it without the gui:I'm using ubuntu 18.10