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

Jon Burgess jburgess777 at googlemail.com
Sat Oct 13 11:57:11 BST 2007


On Sat, 2007-10-13 at 08:40 +0200, David Füreder wrote:
> 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
> 

While the above steps result in a working Java install it can cause
problems if you want to switch back to the Fedora supplied GCJ etc.

The recommended approach is to download the nosrc.rpm file from
jpackage.org and then use these to convert the Sun package 
into an installable RPM by following http://www.jpackage.org/nosrc.php

The file you want is probably:
http://www.jpackage.org/browser/rpm.php?jppversion=1.7&id=7539 

	Jon






More information about the talk mailing list