You are not logged in.

#1 2020-09-18 19:42:42

teunissenstefan
Member
Registered: 2019-01-16
Posts: 10

[SOLVED] Change the Java version that Astah uses

I have installed astah-uml from the AUR because I need it for my college course but it won't run:
message
So I click on "yes" and I get this:
message

I have tried installing both jdk8-openjdk and jre8-openjdk but the problem remains. The application still tried to run with version 11. I can't uninstall 11 because I also need that for my development course. Is there any way to change the version that Astah uses? Or any other known fix?

I also tried installing astah-community from the AUR and it did open the application, but I got this error: java.lang.NoClassDefFoundError: com/sun/java/swing/plaf/windows/WindowsLookAndFeel. Which I had no idea how to resolve. It seems weird that it thinks that it's on Windows.

Last edited by teunissenstefan (2020-09-18 21:04:30)

Offline

#2 2020-09-18 20:52:46

yochananmarqos
Member
Registered: 2020-02-05
Posts: 222

Re: [SOLVED] Change the Java version that Astah uses

You can have more than one Java version installed and use archlinux-java to set the default version. See: https://wiki.archlinux.org/index.php/Ja … etween_JVM

Offline

#3 2020-09-18 21:04:19

teunissenstefan
Member
Registered: 2019-01-16
Posts: 10

Re: [SOLVED] Change the Java version that Astah uses

Lifesaver. I didn't look there because I didn't expect there to be something simple like this. Thank you.

Offline

Board footer

Powered by FluxBB