LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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, 12: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, 01:53 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
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



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 04:38 PM
firefox- Java & RedHat v5 install bstafford51 Linux - Software 3 04-02-2010 09:27 AM
install mysql-connector-java redhat sssl Linux - Newbie 1 05-01-2009 08:38 PM
how to install tomcat4 and how to configure in redhat linux 9.0 rajasekarvr Red Hat 1 04-23-2004 03:35 AM
java install under redhat 9 xiangshan Linux - Software 2 04-09-2004 08:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:52 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
Open Source Consulting | Domain Registration