The new gcj package with version 5 libraries and compiler has been available in rawhide for a couple of weeks now.
This package is available from the yum development repo as gcc-java.*.4.1.2-3.
If you are a maintainer of a package that has a dependency on libgcj please make sure that your package builds. I don't expect there to be many problems, but it's worth checking.
Thanks, Andrew.
On Mon, 2007-03-12 at 11:45 +0000, Andrew Haley wrote:
The new gcj package with version 5 libraries and compiler has been available in rawhide for a couple of weeks now.
This is super cool. Just ran the new eclipse package in rawhide and got 1.5 language and library support working out of the box. Nice!
OpenOffice.org seems unhappy though. When starting it it spins for a while (100% cpu for 5 seconds) and then just says: $ ooffice javaldx: Could not find a Java Runtime Environment! (It does then start up though)
Cheers,
Mark
Mark Wielaard writes:
On Mon, 2007-03-12 at 11:45 +0000, Andrew Haley wrote:
The new gcj package with version 5 libraries and compiler has been available in rawhide for a couple of weeks now.
This is super cool. Just ran the new eclipse package in rawhide and got 1.5 language and library support working out of the box. Nice!
OpenOffice.org seems unhappy though. When starting it it spins for a while (100% cpu for 5 seconds) and then just says: $ ooffice javaldx: Could not find a Java Runtime Environment! (It does then start up though)
OK. I suspect that the first place to start looking for that is java-1.5.0-gcj. I guess you've already made sure your alternatives are pointing to the right place.
Andrew.
On Sun, 2007-03-18 at 14:55 +0000, Andrew Haley wrote:
Mark Wielaard writes:
OpenOffice.org seems unhappy though. When starting it it spins for a while (100% cpu for 5 seconds) and then just says: $ ooffice javaldx: Could not find a Java Runtime Environment! (It does then start up though)
OK. I suspect that the first place to start looking for that is java-1.5.0-gcj.
$ rpm -q java-1.5.0-gcj java-1.5.0-gcj-1.5.0.0-4.fc7 java-1.5.0-gcj-1.5.0.0-4.fc7
I guess you've already made sure your alternatives are pointing to the right place.
$ /usr/sbin/alternatives --display java java - status is auto. link currently points to /usr/lib/jvm/jre-1.5.0-gcj/bin/java /usr/lib/jvm/jre-1.5.0-gcj/bin/java - priority 1500 slave keytool: /usr/lib/jvm/jre-1.5.0-gcj/bin/keytool slave rmiregistry: /usr/lib/jvm/jre-1.5.0-gcj/bin/rmiregistry slave jre_exports: /usr/lib/jvm-exports/jre-1.5.0-gcj slave jre: /usr/lib/jvm/jre-1.5.0-gcj /usr/lib/jvm/jre-1.5.0-gcj.x86_64/bin/java - priority 1500 slave keytool: /usr/lib/jvm/jre-1.5.0-gcj.x86_64/bin/keytool slave rmiregistry: /usr/lib/jvm/jre-1.5.0-gcj.x86_64/bin/rmiregistry slave jre_exports: /usr/lib/jvm-exports/jre-1.5.0-gcj.x86_64 slave jre: /usr/lib/jvm/jre-1.5.0-gcj.x86_64 Current `best' version is /usr/lib/jvm/jre-1.5.0-gcj/bin/java.
Mark Wielaard wrote:
On Mon, 2007-03-12 at 11:45 +0000, Andrew Haley wrote:
The new gcj package with version 5 libraries and compiler has been available in rawhide for a couple of weeks now.
This is super cool. Just ran the new eclipse package in rawhide and got 1.5 language and library support working out of the box. Nice!
OpenOffice.org seems unhappy though. When starting it it spins for a while (100% cpu for 5 seconds) and then just says: $ ooffice javaldx: Could not find a Java Runtime Environment! (It does then start up though)
Is this with java-1.5.0-gcj? If so, can you see if:
ln -s java-1.5.0-gcj-1.5.0.0 /usr/lib/jvm/java-1.4.2-gcj
helps?
Tom
Hi Tom,
On Sun, 2007-03-18 at 12:22 -0400, Thomas Fitzsimmons wrote:
OpenOffice.org seems unhappy though. When starting it it spins for a while (100% cpu for 5 seconds) and then just says: $ ooffice javaldx: Could not find a Java Runtime Environment! (It does then start up though)
Is this with java-1.5.0-gcj?
I think so. javaldx seems to go through lots of locations to find something called java and then tries to run the JREProperties class (from /usr/lib64/openoffice.org/program/ on it). Running that class by hand seems to go fine, but all it does is print out some mysterious numbers that don't tell me anything.
If so, can you see if:
ln -s java-1.5.0-gcj-1.5.0.0 /usr/lib/jvm/java-1.4.2-gcj
helps?
Not that I can see.
Cheers,
Mark
java-devel@lists.fedoraproject.org