Sun Java installation issues
NoOp
glgxg at sbcglobal.net
Mon Oct 6 18:22:10 UTC 2008
On 10/06/2008 04:18 AM, Glenn Holmer wrote:
> On Tue, 2008-09-23 at 14:17 -0700, NoOp wrote:
>> To install from Sun:
>
>> (unless you are adventurous and want to try Java SE 6 Update 10 RC).
>> Read the installation instructions from:
>> http://java.sun.com/javase/6/webnotes/install/jre/install-linux.html
>> [Installation of Self-Extracting Binary]
>> You'll want this one to go in your /usr/lib/jvm directory so that you
>> can use it system-wide.
>
> Does this really give it system-wide? In other words, if you open a
> console and type "java -version"? What about /etc/alternatives?
>
Ah, you're right. I use galternatives and add it there. I reckon that
there is a script that will do it all in one go, but I modify the
following in galternatives to point to the new java directories using
'add' :
ControlPanel
jar
java
java_vm
javaws
jcontrol
jexec
More information about the ubuntu-users
mailing list