Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Linux Newbie > Needed jdk install help, kinda urgent pls assist!!!!!
Connect with Facebook
 Linux Newbie   If you're new to the wonderful world of Linux, start here!

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 06-02-2008   #1 (permalink)
Just Joined!
 
Join Date: May 2008
Posts: 20
Needed jdk install help, kinda urgent pls assist!!!!!

Hi all,
I am trying to install jdk on linux and there are many files with different extensions...
Now if its an rpm file i use
rpm -ivf <filename.rpm>
to install the pkg.
However there is also a .bin file, what does it do?

What is the major difference between these 2 files?

jdk-6u3-linux-amd64.bin
jdk-6u3-linux-amd64-rpm.bin

Also would like to know which to install....
and when it comes to installation just a ./filename.bin would be sufficient for .bin files?
or are there anything else to be taken care of?

Thanks
wrapster is offline  


Reply With Quote
Old 06-02-2008   #2 (permalink)
Trusted Penguin
 
daark.child's Avatar
 
Join Date: Apr 2006
Location: South Yorks, UK
Posts: 3,906
You need to let us know what Linux distribution you are using. The rpm.bin file is for distributions that use the RPM packaging tools e.g. Fedora, Mandriva, openSUSE, PCLinuxOS etc. The other file works on any Linux distro.
daark.child is offline   Reply With Quote
Old 06-02-2008   #3 (permalink)
Just Joined!
 
Join Date: May 2008
Posts: 20
I am using fedora, ver-3
i would also like to know,since the version is very old,
Is it possible to install rpm pkgs?
Also do i need to download any extra pkgs to make this installation?

thanks
wrapster is offline   Reply With Quote
Old 06-02-2008   #4 (permalink)
Trusted Penguin
 
daark.child's Avatar
 
Join Date: Apr 2006
Location: South Yorks, UK
Posts: 3,906
Wel, Fedora is an rpm based distro, so yes you should be able to install rpms. To install the rpm.bin file, you need to do
Code:
$chmod +x jdk-6u3-linux-amd64-rpm.bin
$./jdk-6u3-linux-amd64-rpm.bin
That will extract an rpm file which you can install using the rpm command e.g. "rpm -Uvh somefile.rpm".

Make sure you download the right package for your architecture i.e. don't download the amd64 package if you are running the 32 bit version of Fedora.
daark.child is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe

Safe, Secure Backup


All times are GMT. The time now is 10:51 PM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2