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

Re: java again really



>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

Feel free to send me a short document on how to use the alternatives 
program and I will gladly include it.

One of the problems with Linux is the amount of common knowledge that 
isn't common.  I'm still a part time user and I have to look up 
things all the time.  It takes a lot of time.  The sole purpose of my 
document was to provide minimal instructions to a simple path to get 
Sun's Java installed and working.  These were the bits I had to 
ferret out to get it installed.

-- 
Knute Johnson
Molon Labe...



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