FC5 - quick yum fix for java plugin?

Paul Howarth paul at city-fan.org
Sat Apr 22 16:10:59 UTC 2006


On Sat, 2006-04-22 at 12:05 -0400, Marc M wrote:
> I am having trouble getting my java plugin to work properly.  I am
> trying to run a cbt on a training website and firefox sends me to the
> java site for the plugin.  I have downloaded the rpm.bin file, run the
> script, chmodded the rpm to 777, and I still get the following.  
> 
> Does anyone have any good updated yum locations where I can just grab
> a good file with some updated repo's, that are likely to fix all of
> these dependencies? 
> 
> Thx
> Marc
> *****************************paste************************************************************* 
> 
> [root at localhost Desktop]# chmod 777 jre-1_5_0_06-linux-i586.rpm
> [root at localhost Desktop]# rpm -Uvh jre-1_5_0_06-linux-i586.rpm
> error: Failed dependencies:
>         jaas is needed by (installed)
> tomcat5-server-lib-5.5.15-1jpp_6fc.i386 
>         java >= 0:1.4 is needed by (installed) jessie-1.0.1-3.i386
>         java is needed by (installed) wsdl4j-1.5.1-1jpp_4fc.noarch
>         java is needed by (installed) axis-1.2.1-2jpp_2fc.noarch
>         java >= 0: 1.4.2 is needed by (installed)
> tomcat5-common-lib-5.5.15-1jpp_6fc.i386
>         java-gcj-compat >= 1.0.31 is needed by (installed)
> jakarta-commons-logging-1.0.4-2jpp_10fc.i386

... snip lots of dependencies.

The problems you are seeing here are one of the reasons that the release
notes specifically advise against installing the Sun Java RPM. Moreover,
Sun's Java licensing prevents anyone else from distributing
better-packaged binary RPMs. So, your best option, albeit somewhat of a
hassle, is to build your own java RPMs the jpackage way. Here's a HOWTO:

http://www.city-fan.org/tips/JpackageJava

Paul.




More information about the fedora-list mailing list