LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   OOO 3.0.1 FC6 install error : java-gcj-compat is needed (https://www.linuxquestions.org/questions/linux-software-2/ooo-3-0-1-fc6-install-error-java-gcj-compat-is-needed-711965/)

powah 03-16-2009 09:02 AM

OOO 3.0.1 FC6 install error : java-gcj-compat is needed
 
I have to use the old FC6 instead of the latest Fedora distro.

I downloaded OOO 3.0.1 and untar it.
# cd OOO300_m15_native_packed-1_en-US.9379/RPMS
# rpm -Uvih *rpm
error: Failed dependencies:
java-gcj-compat is needed by (installed) antlr-2.7.6-4jpp.2.i386
/usr/bin/rebuild-gcj-db is needed by (installed) gjdoc-0.7.7-11.i386

# rpm -qi java-gcj-compat
package java-gcj-compat is not installed

# java -version
java version "1.6.0_12"
Java(TM) SE Runtime Environment (build 1.6.0_12-b04)
Java HotSpot(TM) Client VM (build 11.2-b01, mixed mode, sharing)

Should I use JavaSetup.jar in OOO or install java-gcj-compat?

How to use JavaSetup.jar in OOO or install java-gcj-compat?
# yum install java-gcj-compat
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core 100% |=========================| 1.1 kB 00:00
extras 100% |=========================| 1.1 kB 00:00
updates 100% |=========================| 1.2 kB 00:00
Reading repository metadata in from local files
Parsing package install arguments
Nothing to do

AlucardZero 03-16-2009 10:27 AM

Post the output of rpm -qa | grep java

unixmen 03-16-2009 10:33 AM

You need this package :
java-1.4.2-gcj-compat-1.4.2.0-40jpp.110.i386.rpm

or
# yum install java-1.4.2-gcj-compat



Voila :)

powah 03-16-2009 12:21 PM

Quote:

Originally Posted by AlucardZero (Post 3477141)
Post the output of rpm -qa | grep java

# rpm -qa | grep java
libgtk-java-2.8.6-4.fc6
libglade-java-2.12.5-3.fc6
glib-java-0.2.6-3.fc6
java-1.4.2-gcj-compat-1.4.2.0-40jpp.110
libgnome-java-2.12.4-3.fc6
cairo-java-1.0.5-3.fc6
libvte-java-0.12.1-4.fc6
libgconf-java-2.12.4-4.fc6

# rpm -qi java-1.4.2-gcj-compat
Name : java-1.4.2-gcj-compat Relocations: (not relocatable)
Version : 1.4.2.0 Vendor: Red Hat, Inc.
Release : 40jpp.110 Build Date: Tue 10 Oct 2006 02:39:10 PM EDT
Install Date: Wed 07 Jan 2009 11:31:28 AM EST Build Host: hs20-bc1-7.build.redhat.com
Group : Development/Languages Source RPM: java-1.4.2-gcj-compat-1.4.2.0-40jpp.110.src.rpm
Size : 441 License: GPL
Signature : DSA/SHA1, Wed 11 Oct 2006 12:20:07 AM EDT, Key ID b44269d04f2a6fd2
Packager : Red Hat, Inc. <http://bugzilla.redhat.com/bugzilla>
URL : ftp://sources.redhat.com/pub/rhug/java-gcj-compat
Summary : JPackage runtime scripts for GCJ
Description :
This package installs directory structures, shell scripts and symbolic
links to simulate a JPackage-compatible runtime environment with GCJ.

# rpm -qi java-gcj-compat
package java-gcj-compat is not installed

Please help.
Thanks.


All times are GMT -5. The time now is 08:47 AM.