LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 11-22-2012, 04:26 AM   #1
mohitvad
Member
 
Registered: Feb 2010
Posts: 34

Rep: Reputation: 0
how to install sun jdk 1.6 on redhat 6


Hi,

Can anybody give me steps to download and install sun jdk 1.6 on Redhat 6 . because the machine itself cannot access internet but accessible on local network so i need to download the pkg and install.

Thanks,
Mohit
 
Old 11-22-2012, 04:30 AM   #2
jamil.isayyed
LQ Newbie
 
Registered: Jul 2012
Location: Palestine
Posts: 27

Rep: Reputation: Disabled
Hi,

you can check this link to install it http://www.tecmint.com/install-jdk-j...-fedora-17-12/

have fun, do not hasitate to ask other questions

Thanks
 
Old 11-22-2012, 04:31 AM   #3
jamil.isayyed
LQ Newbie
 
Registered: Jul 2012
Location: Palestine
Posts: 27

Rep: Reputation: Disabled
also this link can help u

https://access.redhat.com/knowledge/...vironment.html
 
Old 11-22-2012, 05:17 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2014.08, Slack14.1 DebWheezy, +50+ other Linux OS, for test only.
Posts: 14,135

Rep: Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639Reputation: 2639
Package : jdk-1.6.0_37-fcs.<arch>.rpm

32bits (i386-i686) http://ftp.scientificlinux.org/linux...7-fcs.i586.rpm
> jdk-1.6.0_37-fcs.i586.rpm

64bits x86_64 http://ftp.scientificlinux.org/linux...fcs.x86_64.rpm
> jdk-1.6.0_37-fcs.x86_64.rpm

1) su 2) yum localinstall --nogpgcheck jdk-1.6.0_37-fcs.<arch>.rpm

2)
/usr/sbin/alternatives --install /usr/bin/java java /usr/java/jdk1.6.0_37/bin/java 2

3) /usr/sbin/alternatives --config java
... And select the "Sun Java".

.
 
  


Reply

Tags
jdk6


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
Installing Sun JDK 7 on Redhat 5.4 64 bit Linux prajakta_s_c Red Hat 1 09-06-2011 04:30 PM
how to install sun-java6-jdk on Red Hat danndp Red Hat 6 02-18-2011 06:22 AM
[SOLVED] install sun jdk for freenet jonnie Linux - Software 3 01-10-2011 02:56 PM
I can't install sun-java6-jdk sun-java6-bin sun-java6-jre citye Linux - Newbie 2 10-18-2009 05:54 AM
LXer: How To Install Sun Java SE 6 JDK and NetBeans 5.5.1 - Fedora 7 LXer Syndicated Linux News 0 08-22-2007 07:51 PM


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