Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Fedora This forum is for the discussion of the Fedora Project.


  Search this Thread
Old 07-23-2008, 05:31 PM   #1
LQ Newbie
Registered: Dec 2006
Posts: 23

Rep: Reputation: 15
trying java 1.5.0_16 in fc9 x64 but the sun download says amd64 and it doesn't work

where can i get the x64 version? any 1.5.0 release will do.

also does fc9 use shadow passwords? or something better? or worse?

Old 07-23-2008, 05:48 PM   #2
LQ Guru
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 11.04, Debian testing
Posts: 5,019

Rep: Reputation: 132Reputation: 132
It does work. Download the rpm.bin package to your home folder and then do
chmod +x *rpm.bin
and then as root:
rpm -ivh *rpm
Now you still need to configure things. Visit jpackage org and set up their repository (should be documented on their site), then install the java compat package.
Install galternatives and switch to your sun java or use the CLI update-alternatives set of commands to do so.
Test from the terminal with
java -version
Now you may still wish to set up your environment(often not strictly required but it makes things easier) by putting this in your .bash_profile:
export JAVA_HOME=/path/to/java_directory
export J2RE_HOME=/path/to/java_directory/jre
export PATH = $PATH:$JAVA_HOME/bin
export classpath=.:$JAVA_HOME:$JAVA_HOME/lib
Do source .bash_profile or log out (sometimes the source command does not work too well). Then test with:
echo $J2RE_HOME
echo $PATH

Last edited by jay73; 07-23-2008 at 05:57 PM.
Old 07-23-2008, 05:59 PM   #3
LQ Newbie
Registered: Dec 2006
Posts: 23

Original Poster
Rep: Reputation: 15

i had already installed it through the rpm with a different brain and didn't update the brain i am currently using with the information from my spare brain.

haha anyway the bin package was erroring trying to install the rpm. the last time i installed it i forgot to add it to alternatives also or i would have known i already installed it. it's the stupid things that cause me the most trouble. thanks.


fc9, installing, java, sun, x64

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Microphone doesn't work in FC9 mickeyboa Fedora 1 06-07-2008 09:17 PM
LXer: SUSE Linux now available on Sun x64 workstations LXer Syndicated Linux News 0 04-06-2007 01:01 PM
LXer: Sun backs SuSE on x64 workstations LXer Syndicated Linux News 0 04-04-2007 02:31 PM
Where is java compiler in 10.2 x64 bits?? Camara SUSE / openSUSE 3 01-10-2007 10:17 PM
Can not download sun java Zarik Linux - Software 2 03-02-2004 11:17 AM > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 09:50 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration