Choose style:

Author Topic: Updating Java -SOLVED  (Read 1421 times)

0 Members and 1 Guest are viewing this topic.

Offline jlschwartz

  • Trusted User
  • Member
  • *****
  • Posts: 339
  • Karma: 125
  • Forum User
    • View Profile
  • Peppermint version(s): Peppermint 10 - 64bit
Updating Java -SOLVED
« on: November 12, 2015, 12:13:30 pm »
I downloaded a new version of rationalplan and it installs but it won't run.  The rationalplan forum tells me that I need to update to the latest Java on my system - preferably from Oracle.  Please advise the best way to do that.  Thanks.  Jeff
« Last Edit: November 12, 2015, 05:19:23 pm by jlschwartz »

Offline scifidude79

  • Global Moderator
  • Hero
  • *****
  • Posts: 4029
  • Karma: 863
    • View Profile
  • Peppermint version(s): Peppermint 9
Re: Updating Java
« Reply #1 on: November 12, 2015, 12:23:54 pm »
I'm not sure if it's the best method, but you can download a Linux build of the latest Java from Oracle's website and follow their installation instructions:

http://www.java.com/en/download/linux_manual.jsp

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26280
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Updating Java
« Reply #2 on: November 12, 2015, 01:21:20 pm »
For Oracle Java 9, run these commands in sequence:
Code: [Select]
sudo add-apt-repository ppa:webupd8team/java
then
Code: [Select]
sudo apt-get update
then
Code: [Select]
sudo apt-get install oracle-java9-installer
then
Code: [Select]
sudo apt-get install oracle-java9-set-default
after installation run:
Code: [Select]
java -version
and this is what you should get
Quote
java version "1.9.0-ea"
Java(TM) SE Runtime Environment (build 1.9.0-ea-b50)
Java HotSpot(TM) 64-Bit Server VM (build 1.9.0-ea-b50, mixed mode)
or something very similar

Source:
http://www.webupd8.org/2015/02/install-oracle-java-9-in-ubuntu-linux.html

If you'd prefer Java 8 .. see here:
http://www.webupd8.org/2012/09/install-oracle-java-8-in-ubuntu-via-ppa.html



BE AWARE .. Java is a know security risk, so if it's an application that requires Java and not your web browser, it'd be a good idea to disable it in your web browser
« Last Edit: November 12, 2015, 01:25:29 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline jlschwartz

  • Trusted User
  • Member
  • *****
  • Posts: 339
  • Karma: 125
  • Forum User
    • View Profile
  • Peppermint version(s): Peppermint 10 - 64bit
Re: Updating Java -SOLVED
« Reply #3 on: November 12, 2015, 05:20:35 pm »
Thanks for your help.  As always, your support is the best.  It works great now.  Thanks again.  Jeff

Online PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26280
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Updating Java -SOLVED
« Reply #4 on: November 12, 2015, 06:52:55 pm »
And as always you're most welcome Jeff :)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline VinDSL

  • Global Moderator
  • Hero
  • *****
  • Posts: 5443
  • Karma: 957
  • Peppermint Mod
    • View Profile
  • Peppermint version(s): Developmental Builds
Re: Updating Java -SOLVED
« Reply #5 on: November 13, 2015, 02:46:15 pm »
Makes OpenOffice 4.1.2 happy too (dark theme and all)...   ;D