[OSM-talk] Java under Fedora (was RE: Does potlatch make it too easy for people to unintentionally screw things up?)

David Füreder nukehead at gmx.net
Sat Oct 13 07:40:35 BST 2007


Andrew Loughhead wrote:
> Brent Easton wrote:
>>> To be honest I don't really expect many people to switch from JOSM to  
>>> Potlatch. JOSM is the more powerful and more flexible editor. Potlatch  
>>> is really designed for those who are starting out, those who want to  
>>> make quick changes, and those who (like me) have very limited patience.
>>>     
>> Or, who find themselves sitting in front of a strange computer with an hour or two to kill. I  have said bad things in the past, but I have come to very much appreciate JOSM and be thankful that it was available. Thank you Richard.
>>   
> I guess you meant Potlatch.  My own "or": who get fed up with how hard 
> it is installing a JRE under Fedora, versus the much easier installation 
> of the macromedia player, and who also like the better rendering of the 
> Yahoo aerial photo background (apart from that 'dimmed' business! ;-)).
> 

Installing a JRE under Fedora is a bit tricky, that's true. That's how I 
do it (assuming you have downloaded jre-6u3-linux-amd64-rpm.bin):

chmod +x jre-6u3-linux-amd64-rpm.bin
su
./jre-6u3-linux-amd64-rpm.bin
update-alternatives --install /usr/bin/java java 
/usr/java/jre1.6.0_03/bin/java 1501
update-alternatives --auto java
java -version

That updates the alternatives system to point the /usr/bin/java symlink 
to the current JRE java. If another alternative to java has a higher 
priority than 1501, the java link won't update. You can then either 
increase the priority by using the same install command, but with a 
different priority or use the manual mode, e.g.:
update-alternatives --set java /usr/java/jre1.6.0_03/bin/java

You can look at the installed alternatives for java with:
alternatives --display java

I hope this helps a little.











More information about the talk mailing list