Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I need to install sun-java6-jdk for my red hat server rather than than the free alternative GNU compiler for java (GCJ); but i can't install it...on Debian i can, but on red hat is impossible...has anyone worked with this?
Have you visited java.com at all?
For RedHat you want the RPM file.
On http://java.com/en/download/manual.jsp you'll find both 32-bit en 64-bit RPMs.
Download the appropriate RPM file to your /tmp directory and execute
Thanks for the answer...but it's not workin, i might be doing something wrong:
Quote:
OpenSIPS:/home/opensips/Desktop# mv jre-6u23-linux-i586-rpm.bin /tmp/
OpenSIPS:/home/opensips/Desktop#yum --nogpgcheck localinstall /tmp/jre-6u23-linux-i586-rpm.bin
Loaded plugins: rhnplugin, security
Setting up Local Package Process
Cannot open file: /tmp/jre-6u23-linux-i586-rpm.bin. Skipping.
Nothing to do
Distribution: pclos2010.12, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 9,305
Rep:
'jre-6u23-linux-i586-rpm.bin' is an installer, that will install
the rpm package : # sh jre-6u23-linux-i586-rpm.bin
Next you can do these two command to have java in your path :
1)
# /usr/sbin/alternatives --install /usr/bin/java java /usr/java/jre1.6.0_23/bin/java 2
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.