REW Beta Release Installation on Kubuntu 18.04 failes on one machine on the other it works with openjdk-java.

D.-J. Walter

Registered
Thread Starter
Joined
Mar 2, 2019
Messages
2
Location
Germany
I installed REW 5.20Beta6 on a Lenovo B50-80 with a new installed Kubuntu 18.04 and the script worked. REW runs.
Now two months later I tried to install REW 5.20Beta6 on a Lenovo BL540, also with a new Kubuntu 18.04 installation. I get the Java failure.

-No suitable Java Virtual Machine could be found on your system. The version of the JVM must be 1.8.
-Please define INSTALL4J_JAVA_HOME to point to a suitable JVM.


On both machines I have only the openjdk and it worked on the B50. What can I do on the L540? I do not want Oracle Software. Sorry but Oracle is a ing problem making software over 20 years on windows and everywhere else. (and still allways manual work for updating).

nn@WaZi-L540:/media/djwalter/F_Systeme/11_Anwendungen/REW$
java -version
openjdk version "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)

sudo update-alternatives --config java
Result: only the openjdk available
Es gibt nur eine Alternative in Link-Gruppe java (die /usr/bin/java bereitstellt): /usr/lib/jvm/java-11-openjdk-amd64/bin/java

Nichts zu konfigurieren.

Kind regards

D.-J.
 

John Mulcahy

REW Author
Joined
Apr 3, 2017
Messages
7,212
You missed an important detail in the message: The version of the JVM must be 1.8

REW needs a Java 8 runtime.
 

D.-J. Walter

Registered
Thread Starter
Joined
Mar 2, 2019
Messages
2
Location
Germany
Thank you for the fast reply.
Yes -on the B50-80 was a JDK 8 installed, that was the reason why it worked on this machine. I installed OpenJDK8 with:
sudo apt-get install openjdk-8-jre icedtea-8-plugin
The check with
sudo update-alternatives --config java
shows now

Auswahl Pfad Priorität Status
------------------------------------------------------------
* 0 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1101 automatischer Modus
1 /usr/lib/jvm/java-11-openjdk-amd64/bin/java 1101 manueller Modus
2 /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java 1081 manueller Modus

and REW-Installation worked.
 
Top Bottom