LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 07-23-2008, 04:31 PM   #1
backthefup
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?

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

Rep: Reputation: 133Reputation: 133
It does work. Download the rpm.bin package to your home folder and then do
Code:
chmod +x *rpm.bin
and then as root:
Code:
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
Code:
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:
Code:
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:
Code:
echo $JAVA_HOME
echo $J2RE_HOME
echo $PATH

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

Original Poster
Rep: Reputation: 15
doh

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.
 
  


Reply

Tags
fc9, installing, java, sun, x64



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 08:17 PM
LXer: SUSE Linux now available on Sun x64 workstations LXer Syndicated Linux News 0 04-06-2007 12:01 PM
LXer: Sun backs SuSE on x64 workstations LXer Syndicated Linux News 0 04-04-2007 01:31 PM
Where is java compiler in 10.2 x64 bits?? Camara SUSE / openSUSE 3 01-10-2007 09:17 PM
Can not download sun java Zarik Linux - Software 2 03-02-2004 10:17 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 05:48 AM.

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