|
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
|
|||
|
|||
Configure Sagetv to use different Java version?
I have updated my Ubuntu Server to 20.04 and had Java 11 as the system default, however my Unifi install requires Java 8, tried to make Unifi use 11 but no luck, so system default is Java 8. However, Sagetv does not work on 8, but it does work on 11.
I remember a long time ago there was some work around to test a newer version of Java only for sagetv, now I can't find the how-to to do that. I have both versions currently installed, I just don't know how to make Sagetv use Java 11. Can anyone point me to the way to do that please?
__________________
SageTV Server v9.2.2, Ubuntu Server 18.04.4 x64, Java 1.8.0_252, Xeon E5-2690, 32GB, 6X6TB WD Red - Software Raid 6, 2X HDHR3 (OTA), 3X HD-200 |
#2
|
|||
|
|||
I'm not running the Linux version but from what I can see you should be able to modify the 'startsagecore' and 'sageclient.sh' scripts to include a full path to java, rather than letting it find it based upon your PATH environment variable.
__________________
Windows Installer |
#3
|
|||
|
|||
Thank you for the response, you were on the right path (which jogged my memory).....had to edit /opt/sagetv/server/sagesettings and add:
PATH=/usr/lib/jvm/java-11-openjdk-amd64/bin:$PATH export PATH
__________________
SageTV Server v9.2.2, Ubuntu Server 18.04.4 x64, Java 1.8.0_252, Xeon E5-2690, 32GB, 6X6TB WD Red - Software Raid 6, 2X HDHR3 (OTA), 3X HD-200 |
#4
|
|||
|
|||
Quote:
__________________
New Server - Sage9 on unRAID 2xHD-PVR, HDHR for OTA Old Server - Sage7 on Win7Pro-i660CPU with 4.6TB, HD-PVR, HDHR OTA, HVR-1850 OTA Clients - 2xHD-300, 8xHD-200 Extenders, Client+2xPlaceshifter and a WHS which acts as a backup Sage server |
#5
|
|||
|
|||
Quote:
K
__________________
If you wish to see what I am up to and support my efforts visit my Patreon page |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Any Java concerns with SageTV version 9? | smithzoos | SageTV Software | 4 | 06-17-2017 01:17 PM |
Windows sagetv client how to change java version it uses | michaeldjcox | SageTV Software | 8 | 02-05-2017 11:30 AM |
Java version for SageTV v9 | oshapir | SageTV Github Development | 4 | 01-18-2016 10:48 AM |
Which Java version is stable with which SageTV version? | reboot_this | SageTV Software | 2 | 04-27-2007 06:17 AM |
What's the most stable version of Java for SageTV 3.0.x? | mkanet | SageTV Beta Test Software | 4 | 09-01-2005 07:30 PM |