Re: java again really

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

 



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@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.

man alternatives

> 
> Karl
> 
> 
-- 
                Matthew Saltzman

Clemson University Math Sciences
mjs AT clemson DOT edu
http://www.math.clemson.edu/~mjs

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux