LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 06-02-2012, 08:01 AM   #1
nooralain
Member
 
Registered: Apr 2012
Distribution: Centos,ubuntu
Posts: 49

Rep: Reputation: Disabled
Installing java environment on reh at ,cent os


i would like to know how to install java jre

on red hat or centos

i have a trivoli directory server setup and would like to install on cent os but it says that its not a supported platform so i downloaded red hat through torrent and would like to install
but it needs java so how to install that

ANd i heard you can disable the operating system check on that setup....
Please can anybody help me.
 
Old 06-03-2012, 05:45 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Java : Install the package jdk-1.6.0_31-fcs for your architecture:
32bit http://ftp.scientificlinux.org/linux...1-fcs.i586.rpm
64bit http://ftp.scientificlinux.org/linux...fcs.x86_64.rpm

Setting up the new java : 1) su
2)
/usr/sbin/alternatives --install /usr/bin/java java /usr/java/jdk1.6.0_31/bin/java 2

3) /usr/sbin/alternatives --config java
.. And select the "sun jdk6".

.
 
Old 06-03-2012, 09:09 AM   #3
nooralain
Member
 
Registered: Apr 2012
Distribution: Centos,ubuntu
Posts: 49

Original Poster
Rep: Reputation: Disabled
dude thanks for tht i belive thats the development kit and not the jre

well anyways it must have the jre


well can you gimme the jre way
Thanks

Last edited by nooralain; 06-03-2012 at 09:11 AM.
 
Old 06-03-2012, 10:01 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
No jre available, that installs that easy, and (usually)
also configures the /etc/alternatives/ stuff.

And : It's only a few MB difference from a jre version.
( One day you may need 'javac' from the jdk version.)
 
Old 06-03-2012, 10:49 AM   #5
nooralain
Member
 
Registered: Apr 2012
Distribution: Centos,ubuntu
Posts: 49

Original Poster
Rep: Reputation: Disabled
honestly i dont know java but heading to learn that
i just needed that to install the software coz it needed the java applet as it has the installation gui with 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
Installing Java runtime environment... jim_naisium Slackware 11 11-13-2007 06:52 PM
installing Java Run Environment kypbre Linux - Software 1 07-12-2007 05:34 AM
Problems installing Java Runtime Environment veri745 Fedora 7 04-10-2007 05:48 AM
Installing JAva runtime environment jcai Linux - General 3 09-28-2004 03:48 PM
installing java runtime environment Jack Ditchburn Linux - Software 4 04-13-2003 01:10 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:07 PM.

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