I have installed Java 11 on my pc, but one app doesn't work with that version.
Is there any way to install an additional version of Java?
I have installed Java 11 on my pc, but one app doesn't work with that version.
Is there any way to install an additional version of Java?
I had a similar issue. I need JDK 11 for Android Studio and JRE 8 for Thinkorswim. I haven't found a way that works automatically but a quick manual fix is to run the following command:
sudo update-alternatives --config java
Then select the version you need and press Enter, following the onscreen instructions.
It works the same even if you need to change javac
.
Here are the links that provided this solution: Install Oracle JDK 11 on Linux - Java Helps and Learning Center - Technical