LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices



Reply
 
Search this Thread
Old 12-08-2004, 12:11 AM   #1
uphu
Member
 
Registered: Dec 2004
Posts: 44

Rep: Reputation: 15
Java SDK in Fedora Core 3 (64 bit)


Ok, I'm running on an AMD 64 so to install the java sdk I downloaded j2sdk-1_4_2_06-linux-ia64-rpm.bin. Next, I followed the instuctions located here: http://java.sun.com/products/archive...ml#install-pkg

This is what my terminal looked like:

Code:
[uphu@localhost ~]$ chmod a+x j2sdk-1_4_2_06-linux-ia64-rpm.bin
[uphu@localhost ~]$ ./j2sdk-1_4_2_06-linux-ia64-rpm.bin
              Sun Microsystems, Inc.
          Binary Code License Agreement
[agreement here, blah blah blah]
Do you agree to the above license terms? [yes or no]
yes
Unpacking...
Checksumming...
0
0
Extracting...
./j2sdk-1_4_2_06-linux-ia64-rpm.bin: line 370: ./install.sfx.3913: cannot execute binary file
Done.
[uphu@localhost ~]$
So any ideas whats wrong?

Last edited by uphu; 12-08-2004 at 12:13 AM.
 
Old 12-08-2004, 07:51 AM   #2
uphu
Member
 
Registered: Dec 2004
Posts: 44

Original Poster
Rep: Reputation: 15
...um, no one knows?
 
Old 12-08-2004, 08:03 AM   #3
dr_zayus69
Member
 
Registered: Sep 2004
Location: western massachusetts
Distribution: fedora core 3, Suse 10
Posts: 877

Rep: Reputation: 35
did you try doing it as root?
 
Old 12-08-2004, 04:16 PM   #4
uphu
Member
 
Registered: Dec 2004
Posts: 44

Original Poster
Rep: Reputation: 15
Yes, and I tried doing it in the directory its located too. Its always the same result.
 
Old 12-08-2004, 04:45 PM   #5
csfalcon
Member
 
Registered: Jun 2004
Location: MD
Distribution: Fedora Core
Posts: 269

Rep: Reputation: 31
do it as root as in you login as a super user. do

Code:
su -
it will ask for you root password, after that you prompt will turn to "#" instead of "$". And then try installing JDK again.

Use this as a reference: http://www.csfalcon.com/wiki/csfalcon/JavaSDK

Last edited by csfalcon; 06-09-2008 at 03:04 PM.
 
Old 12-08-2004, 04:54 PM   #6
uphu
Member
 
Registered: Dec 2004
Posts: 44

Original Poster
Rep: Reputation: 15
Yes, I already did that and it gives the same error.
 
Old 12-08-2004, 06:24 PM   #7
rhimbo
LQ Newbie
 
Registered: Dec 2004
Posts: 29

Rep: Reputation: 15
Might be a permissions probelem

Hi,
I had this problem and it was a permissions problem. After I solved the permissions problem, I still had the same error.
The second time it turned out to be that I had the i386 .bin archive file instead of the amd64 .bin file. I was installing remotely on an AMD Opteron 64-bit SMP server (and didn't know it at the time). :-)
I fetched the correct version from the developer.sun.com web site and it all deflated perfectly.
 
Old 12-08-2004, 06:47 PM   #8
uphu
Member
 
Registered: Dec 2004
Posts: 44

Original Poster
Rep: Reputation: 15
Well, its funny because I'm running on an AMD 64 but I cannot install the ia64 while I can, and have in the past, installed i586. The problem then was that I couldn't install bluej. It was a .jar and I typed

Code:
java -jar bluej*.jar
...and there was some error.

when you say the the amd64 .bin file you mean is64 .bin, right?

Edit: Nevermind I got it all working. I installed the wrong one. Apparently they don't have a 1.4.2 for AMD 64's so I had to get JDK 1.5.0 for AMD 64

Last edited by uphu; 12-08-2004 at 09:12 PM.
 
  


Reply


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
Need Help : Can't Install Fedora Core 4 64 Bit maverick_007 Fedora - Installation 8 10-26-2005 07:33 AM
Fedora Core 64 Bit Guide leon85 Fedora 1 08-14-2005 06:01 PM
Java SDK and Fedora Core 3 caps_phisto Fedora 5 01-12-2005 03:02 PM
32-bit doesn't work on fedora core kkrzyho Linux - Laptop and Netbook 1 12-28-2004 12:10 AM
Fedora Core 2 : 64-bit shamgar03 Fedora 3 07-15-2004 03:43 AM


All times are GMT -5. The time now is 11:47 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration