LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Java Dependency Errors (https://www.linuxquestions.org/questions/linux-software-2/java-dependency-errors-621739/)

Icantprintinlinux 02-17-2008 01:27 AM

Java Dependency Errors
 
Hey I am currently trying to get Alfresco installed. (using this documenation(http://wiki.alfresco.com/wiki/Instal...AR_on_Centos_5)

and I am trying to get java installed. I am required to use this specific jdk version. So i put this command in:
rpm –ivh java-1.6.0-sun-compat-1.6.0.04-1jpp.i586.rpm
and i get this error:

warning: java-1.6.0-sun-compat-1.6.0.04-1jpp.i586.rpm: Header V3 DSA signature: NOKEY, key ID c431416d
error: Failed dependencies:
jdk = 2000:1.6.0_04-fcs is needed by java-1.6.0-sun-compat-1.6.0.04-1jpp.i586

anybody know how I can go about fixing this depenancy issue? And I've had this error with both CentOS 5 and Fedora 7. And it needs this specific java version. Thanks Guys!

gzunk 02-17-2008 04:40 AM

From what I can tell the package you're trying to install isn't a JDK, but a collection of packages and libraries that you can add onto a basic Java installation.

You still need to actually install the JDK, I would assume first. That's what the error message is saying - that it needs the JDK before it will install. Download and install that particular version from Sun. By the looks of it, it's JDK 6 Update 4.

Download it from here: http://java.sun.com/javase/downloads/index.jsp

It may be that CentOS 5 and Fedora 7 have RPM packages for the JDK - and if so you should use those. But from what I recall, The licence that Java is released under means that you have to download it from Sun and accept the licence on their web page. I use Gentoo, so don't know anything about the Java packages on RPM based systems.


All times are GMT -5. The time now is 07:02 AM.