[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Sun/Oracle Java



On 04/17/2014 04:21 AM, Alex Mestiashvili wrote:
On 04/16/2014 10:09 PM, Ric Moore wrote:
On 04/16/2014 03:16 AM, Frank Weißer wrote:
Hi Oliver!
>
> Facing the same problem a while ago, i somewhere found a hint to add
>
> deb http://www.duinsoft.nl/pkg debs all
>
> to sources.list. Don't remember from where, but it works for me on
> debian testing.
>
>
I use this with Debian Wheezy and Jessie

|sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update
sudo apt-get install oracle-java7-installer

It does everything, including updating the browser, correcting the links in alternatives and setting paths. It's blooming magic. I too have an app that refuses to run with OpenJDK. Ric http://www.webupd8.org/2012/01/install-oracle-java-jdk-7-in-ubuntu-via.html





But it is not for Debian!, even if it works it doesn't mean that it is a good idea to inlcude ubuntu ppa-s into debian.

the official way seem to be java-package: https://wiki.debian.org/JavaPackage

I personally stick to rraptor: https://github.com/rraptorr/oracle-java7
All it does is fetch Oracle Java, straight from Oracle and install it. Then it updates alternatives and your browser. THAT is the major benefit of it, that you don't have to bleed from your eyeballs trying to do all of that on your own. That much is pretty much standard between Ubuntu, Debian, Mint, etc. It does not install anything else from that ppa, just a script that does what it does. Keep in mind that many do not even know of the existence of alternatives. Plus, it will auto-update to the latest Java version in the usual apt-get update apt-get upgrade session.

Or, continue to use the brass-knuckles method of installing Oracle Java on your own. Hint: You will never get alternatives set correctly, unless you are a real dyed-in-the-wool guru. I just checked out the how-to for java-package. That appears to be a lot of work. I'll stick with the method I use. I never have to touch it. Ric


--

My father, Victor Moore (Vic) used to say:

"There are two Great Sins in the world...

..the Sin of Ignorance, and the Sin of Stupidity.

Only the former may be overcome." R.I.P. Dad.

https://linuxcounter.net/cert/44256.png

X-oldie-warning: Toothless but still vicious



Reply to: