|
SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here. |
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
Multiple Installed, how to select Java Version for Sage Use
I have two versions of Java installed on my SageTV Server (ubuntu 18). THey are versions 11 and 8. 11 was installed when I built the server but wanted to switch to 8 to test some things. I found this command line and it appears to work.
sudo update-alternatives --config javac After running this I see these results: sagetv@SageTV-Server:~$ sudo update-alternatives --config javac [sudo] password for sagetv: There are 2 choices for the alternative javac (providing /usr/bin/javac). Selection Path Priority Status ------------------------------------------------------------ 0 /usr/lib/jvm/java-11-openjdk-amd64/bin/javac 1111 auto mode 1 /usr/lib/jvm/java-11-openjdk-amd64/bin/javac 1111 manual mode * 2 /usr/lib/jvm/java-8-openjdk-amd64/bin/javac 1081 manual mode Press <enter> to keep the current choice[*], or type selection number: Even though it appears that Java 8 is the active version, when looking at the info tab in the sage client GUI on the Android Mini Client, it still shows version 11.11. Is there something else that need to be done to get this to switch??? |
#2
|
||||
|
||||
javac the java "compiler" so what you want is just 'java'.
__________________
Batch Metadata Tools (User Guides) - SageTV App (Android) - SageTV Plex Channel - My Other Android Apps - sagex-api wrappers - Google+ - Phoenix Renamer Downloads SageTV V9 | Android MiniClient |
#3
|
|||
|
|||
Thanks so much for the quick response.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to force Sage to use a newer version of Java? | rsteele | SageTV Software | 7 | 12-18-2015 12:22 PM |
Which version of Java is bundled with Sage V7? | KKnox | SageTV Software | 4 | 12-04-2010 11:31 AM |
Java update on WHS version of Sage? | Slipshod | SageTV Software | 4 | 04-14-2008 01:03 PM |
sage tv won't work when java access bridge is installed, arg!!! (hairpulling!!) | whocrazy | SageTV Software | 7 | 11-20-2006 12:16 AM |
Best version of java for dedicated Sage server? | blade | SageTV Software | 2 | 09-22-2006 01:11 PM |