LinuxQuestions.org
Review your favorite Linux distribution.
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 01-23-2013, 01:56 AM   #1
n.nikhilkumar001.k
LQ Newbie
 
Registered: Jan 2013
Posts: 1

Rep: Reputation: Disabled
how to install and configure java on linux redhat 6


Hello everyone . i m new to linux and want to run java programs on linux platform i have knowledge of java but don't know how to configure & install java on linux please guide me thanx.......
 
Old 01-23-2013, 02:53 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016, Slack14.1 Deb Jessie, + 50+ other Linux OS, for test only.
Posts: 16,276

Rep: Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156Reputation: 3156
Welcome to LQ.

Example, a 32bits RHEL 6 :
# rpm -Uvh jdk-1.6.0_37-fcs.i586.rpm
http://ftp.scientificlinux.org/linux...7-fcs.i586.rpm
Or # yum localinstall --nogpgcheck jdk-1.6.0_37-fcs.i586.rpm

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

# /usr/sbin/alternatives --config java
... And then 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
[SOLVED] Major headache trying to install/configure Java plugin for Chrome theAdmiral Debian 3 01-16-2013 05:38 PM
firefox- Java & RedHat v5 install bstafford51 Linux - Software 3 04-02-2010 10:27 AM
install mysql-connector-java redhat sssl Linux - Newbie 1 05-01-2009 09:38 PM
how to install tomcat4 and how to configure in redhat linux 9.0 rajasekarvr Red Hat 1 04-23-2004 04:35 AM
java install under redhat 9 xiangshan Linux - Software 2 04-09-2004 09:10 PM


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