[OSM-talk] Java under Fedora (was RE: Does potlatch make it too easy for people to unintentionally screw things up?)
Rick Collins
gnuarm.2006 at arius.com
Sat Oct 13 15:05:19 BST 2007
There are a series of messages under this thread
that seem to have lost all line returns. In my
email program (Eudora) I see each entire message
as a single long line which is wrapped in my
display. This makes them very, very hard to read. Why is this happening?
At 09:51 AM 10/13/2007, you wrote:
>Jon Burgess wrote: > 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
> > Well, yes that is the approach that google
>revealed. I think I have only downloaded the
>wrong thing from Sun 3 times so far. But I have
>tried again, and got a little further this
>time. Steps were: 1. As you suggested get the
>nosrc.rpm from
>http://www.jpackage.org/browser/rpm.php?jppversion=1.7&id=7539
>2. rpm -i java-1.6.0-sun-1.6.0.3-1jpp.nosrc.rpm
>3. Download jdk-6u3-linux-i586.bin from
>Sun. Start at X, select Java(TM) SE
>Development Kit 6 Update 3, get "Linux
>self-extracting file". Move
>jdk-6u3-linux-i586.bin to
>/usr/src/redhat/SOURCES/. 4. rpmbuild -ba
>/usr/src/redhat/SPECS/java-1.6.0-sun.spec 5.
>Find finished rpm files in
>/usr/src/redhat/RPMS/i586. 6. rpm -ivh --test
>java*. 7. Discover we apparently need
>/usr/X11R6/bin/mkfontdir, instead of
>/usr/bin/mkfontdir, and also libodbc.so and
>libodbcinst.so. Hmm, lucky this is the simple
>way of getting a JRE! 8. Discover detailed
>discussion of all this at
>http://liquidat.wordpress.com/2007/05/31/howto-sun-java-on-fedora-7/.
>9. Consider modifying spec files, etc, etc,
>etc. 10. Go back to using Potlatch, and resolve
>to just nuke all GCJ stuff and install the Sun
>rpm directly. Tomorrow. 11. Against better
>judgement, install unixODBC and
>unixODBC-devel. Now have libodbc.so and
>libodbsinst.so. 12. rpm -ivh --test
>java*. Nope, still fails with libodbc and
>libodbcinst, and mkfontdir. Now so impressed by
>how straightforward it is to have a JRE on
>Fedora in the approved way that I need to take a
>good lie down! ;-) And there you have it. I
>think my "or" still stands! cheers Andrew.
>_______________________________________________
>talk mailing list talk at openstreetmap.org
>http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/talk
More information about the talk
mailing list