SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux

Notices

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.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 07-16-2017, 07:52 AM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
Ubuntu 16.04 - which java package do I want?

Just setting up a new Ubuntu 16.04 build. I can't recall, which java is recommended?

(This is SageTV server-only)

thanks

Code:
matt@poweredge:~$ java -version
The program 'java' can be found in the following packages:
 * default-jre
 * gcj-5-jre-headless
 * openjdk-8-jre-headless
 * gcj-4.8-jre-headless
 * gcj-4.9-jre-headless
 * openjdk-9-jre-headless
Try: sudo apt install <selected package>
__________________
Server: Ubuntu 16.04 running Sage for Linux v9
Reply With Quote
  #2  
Old 07-16-2017, 08:02 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,760
I'd google for installing Oracle JRE. You have to add a PPA.
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #3  
Old 07-16-2017, 08:19 AM
matt91's Avatar
matt91 matt91 is offline
Sage Icon
 
Join Date: Feb 2005
Location: Washington, DC
Posts: 1,185
OK, thanks.

I followed this guide (for installing on Digital Ocean)
https://www.digitalocean.com/communi...n-ubuntu-16-04

and ended up installing: oracle-java8-installer

Haven't gotten to installing Sage yet, but hopefully this is what I need.

Code:
matt@poweredge:~$ java -version
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)
__________________
Server: Ubuntu 16.04 running Sage for Linux v9
Reply With Quote
  #4  
Old 07-16-2017, 10:34 AM
texneus texneus is offline
Sage Aficionado
 
Join Date: Nov 2009
Location: DFW
Posts: 269
Quote:
Originally Posted by matt91 View Post
Just setting up a new Ubuntu 16.04 build. I can't recall, which java is recommended?
I faced the same dilemma, I don't think there is an "official" answer.

If you are running a headless server (no desktop, no X11) I think you can install openjdk-8-jre-headless, default-jre otherwise and it should work. I tried it and it does seem to work fine...BUT...

If you read the build directions on Git, about half way down the page you will see the builds are made with Oracle Java (the real deal). Knowing this I backed out of OpenJDK and installed Oracle Java 8 "just in case". There are instructions here on how to install it.

https://github.com/google/sagetv/wiki

That said, I never had an issue with OpenJDK for the very short time I used it with SageTV.
Reply With Quote
  #5  
Old 07-16-2017, 02:41 PM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,508
Quote:
Originally Posted by texneus View Post
I faced the same dilemma, I don't think there is an "official" answer.

If you are running a headless server (no desktop, no X11) I think you can install openjdk-8-jre-headless, default-jre otherwise and it should work. I tried it and it does seem to work fine...BUT...

If you read the build directions on Git, about half way down the page you will see the builds are made with Oracle Java (the real deal). Knowing this I backed out of OpenJDK and installed Oracle Java 8 "just in case". There are instructions here on how to install it.

https://github.com/google/sagetv/wiki

That said, I never had an issue with OpenJDK for the very short time I used it with SageTV.
It shouldn't be a problem to use OpenJDK since SageTV doesn't use any of the proprietary Oracle things. Of note is that the Docker container also uses Oracle Java.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
Reply With Quote
  #6  
Old 07-17-2017, 05:33 AM
stuckless's Avatar
stuckless stuckless is offline
SageTVaholic
 
Join Date: Oct 2007
Location: London, Ontario, Canada
Posts: 9,541
Quote:
Originally Posted by EnterNoEscape View Post
It shouldn't be a problem to use OpenJDK since SageTV doesn't use any of the proprietary Oracle things. Of note is that the Docker container also uses Oracle Java.
The only reason that I know of to use Oracle vs OpenJDK is that Oracle java includes some image formats that are not in the OpenJDK. I know in using Phoenix where there are some image manipulation APIs that some of these APIs fail under OpenJDK (at least the unit tests fail). But I think for the most post, you can use either.
Reply With Quote
  #7  
Old 07-17-2017, 06:02 AM
EnterNoEscape's Avatar
EnterNoEscape EnterNoEscape is offline
SageTVaholic
 
Join Date: Jun 2010
Location: Harrisburg, PA
Posts: 2,508
Quote:
Originally Posted by stuckless View Post
The only reason that I know of to use Oracle vs OpenJDK is that Oracle java includes some image formats that are not in the OpenJDK.
Interesting. I did not know that.
__________________
SageTV v9 Server: ASRock Z97 Extreme4, Intel i7-4790K @ 4.4Ghz, 32GB RAM, 6x 3TB 7200rpm HD, 2x 5TB 7200rpm HD, 2x 6TB 7200rpm HD, 4x 256GB SSD, 4x 500GB SSD, unRAID Pro 6.7.2 (Dual Parity + SSD Cache).
Capture: 1x Ceton InfiniTV 4 (ClearQAM), 2x Ceton InfiniTV 6, 1x BM1000-HDMI, 1x BM3500-HDMI.

Clients: 1x HD300 (Living Room), 1x HD200 (Master Bedroom).
Software: OpenDCT :: WMC Live TV Tuner :: Schedules Direct EPG
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unsatisfied Java dependency with Ubuntu bkbonner SageTV Linux 15 10-14-2010 11:32 AM
WHS Package - which one is it? silverfoxxx SageTV Software 1 03-28-2008 11:08 AM
Is there a SW/HW bundle package with the HD100? Mitch G General Discussion 5 02-27-2008 07:07 AM


All times are GMT -6. The time now is 04:23 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.