LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices

Tags used in this thread
Popular LQ Tags , , , , ,

Reply
 
Thread Tools
Old 07-23-2008, 05:31 PM   #1
backthefup
LQ Newbie
 
Registered: Dec 2006
Posts: 23
Thanked: 0
trying java 1.5.0_16 in fc9 x64 but the sun download says amd64 and it doesn't work


[Log in to get rid of this advertisement]
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.
backthefup is offline  
Tag This Post , , , , ,
Reply With Quote
Old 07-23-2008, 05:48 PM   #2
jay73
Senior Member
 
Registered: Nov 2006
Location: Belgium
Distribution: Ubuntu 8.04 / 9.04
Posts: 4,781
Thanked: 89
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 05:57 PM..
jay73 is offline     Reply With Quote
Old 07-23-2008, 05:59 PM   #3
backthefup
LQ Newbie
 
Registered: Dec 2006
Posts: 23
Thanked: 0

Original Poster
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.
backthefup is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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/Novell 3 01-10-2007 10:17 PM
Can not download sun java Zarik Linux - Software 2 03-02-2004 11:17 AM


All times are GMT -5. The time now is 12:35 PM.

Main Menu
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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration