java again really
mjs at CLEMSON.EDU
Thu Jan 3 15:58:29 UTC 2008
On Thu, 2008-01-03 at 07:01 -0700, Karl Larsen wrote:
> Knute Johnson wrote:
> >> Knute Johnson wrote:
> >>> To install and run Sun Java on F8 look at the simplified instructions
> >>> on this site;
> >>> http://rabbitbrush.frazmtn.com/sun-java-on-F8.html
> >>> You don't need to remove anything before installing Sun Java. JEdit
> >>> should work with icedtea anyway.
> >> Some of the things the page says are wrong. But it will be easy now
> >> with sim links to use the right java and jedit will work. By the way, I
> >> tried it with icedtea and it did not work at ALL!
> > What is wrong with the document?
> Funny you should ask :-)
> The document is good but it appears the two lib files are already on F8
> and it leaves out the most important part. You need to use the new java
> when you call java from a terminal. I got done with the document but
> when I would type java -version I got the wimpy version Fedora sends.
> So I looked at /usr/bin/java and it is linked to
> /etc/alternatives/java. So I mv java old.java. Then link to the new java
> with this:
> [root at k5di bin]# ln -s /usr/java/default/bin/java /etc/alternatives/java
> The default/bin/java will be the latest one in the /usr/java/ directory.
> With this addition my jedit was installed fast and it works right. I
> needs to be added to the document.
No, what needs to be added to the document is instructions on how to use
the alternatives facility to get these links set up properly.
I can understand how Karl or anyone else might be led to fix these
things up by hand, as above, but it's better to use the tool designed
for the job. But in order to do so, one needs to know what that tool
is. It's not as common knowledge as it ought to be.
Clemson University Math Sciences
mjs AT clemson DOT edu
More information about the users