3

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?

vidarlo
  • 22,691
FoxKar
  • 31

1 Answers1

2

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

Kulfy
  • 17,696