View Single Post
Old 10-21-2007, 06:15 PM   #1 (permalink)
incynr8
Purify with flame
 
incynr8's Avatar
 
Join Date: Apr 2006
Location: On some dinky hill
Send a message via AIM to incynr8

x86-64 Java 1.7.0 install on Fedora/RPm based machines.

If you use iced_tea java 1.7.0 you can use full 64 bit platform and browser plugin support..

using yum:

yum –enablerepo=development install *\icedtea\*

then

/usr/bin/alternatives –config java

'2' will probably be
/usr/lib/jvm/jre-1.7.0-icedtea.x86_64/bin/java

so:
Enter to keep the current selection[+], or type selection number: 2

then check with:
[incynr8@zundf0lg3 ~]$ java -version
java version "1.7.0"
IcedTea Runtime Environment (build 1.7.0-b21)
IcedTea 64-Bit Server VM (build 1.7.0-b21, mixed mode)

ok now 64 bit real Java is installed it's that stupid plugin you really want for 64 bit moz/firefox and not 32 bit browser and plugins or two browsers or resorting to Konquerer like all the other FAQs out there. And Blackdown is dead, although some dizzy can still run it, if you want 1.4.2Java.....

Web plugin for Firefox 64 bit browser.
# cd /usr/lib64/mozilla/plugins/

# ln -s /usr/lib/jvm/java-1.7.0-icedtea-1.7.0.0.x86_64/jre/lib/amd64/gcjwebplugin.so .



just to show packages:

[incynr8@zundf0lg3 ~]$ yum list java*
Installed Packages
java-1.5.0-gcj.x86_64 1.5.0.0-14.fc7 installed
java-1.7.0-icedtea.x86_64 1.7.0.0-0.19.b21.snaps installed
java-1.7.0-icedtea-demo.x86_64 1.7.0.0-0.19.b21.snaps installed
java-1.7.0-icedtea-devel.x86_64 1.7.0.0-0.19.b21.snaps installed
java-1.7.0-icedtea-javadoc.x86_64 1.7.0.0-0.19.b21.snaps installed
java-1.7.0-icedtea-plugin.x86_64 1.7.0.0-0.19.b21.snaps installed
java-1.7.0-icedtea-src.x86_64 1.7.0.0-0.19.b21.snaps installed
java_cup.x86_64 1:0.10-0.k.6jpp.1 installed

check plugin
Test Java Virtual Machine - 1.4.2_xx, 1.5.0, 6.0, 1.3.0_xx, 1.3.1_xx, 1.4.0_xx, 1.4.1_xx


now you can run java apps in 64 and have a 64 bit java browser without waiting for a new distribution or dumbing at least your browser down to 32 bit.


After fighting blackdown of FC7 and not wanting 1.42. anyway, while not settling for 32bit on 64, this I found was the cleanest way.
__________________


incynr8 is offline   Reply With Quote