LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Having trouble installing Java 1.6 on Redhat via a SSH connection (https://www.linuxquestions.org/questions/linux-newbie-8/having-trouble-installing-java-1-6-on-redhat-via-a-ssh-connection-677978/)

shellcrash 10-21-2008 04:24 AM

Having trouble installing Java 1.6 on Redhat via a SSH connection
 
Hi there,

I'm experiencing difficulty installing JRE 1.6 on my Redhat web server. I require the Java libraries in order to install a certain module for my website. Here is a log of the actions I took to try and install Java:

Code:

inflating: jre1.6.0_07/plugin/i386/ns7/libjavaplugin_oji.so
  inflating: jre1.6.0_07/plugin/i386/ns7-gcc29/libjavaplugin_oji.so
 extracting: jre1.6.0_07/plugin/desktop/sun_java.png
  inflating: jre1.6.0_07/plugin/desktop/sun_java.desktop
    linking: jre1.6.0_07/javaws/javaws  -> ../bin/javaws
Creating jre1.6.0_07/lib/rt.jar
Creating jre1.6.0_07/lib/jsse.jar
Creating jre1.6.0_07/lib/charsets.jar
Creating jre1.6.0_07/lib/ext/localedata.jar
Creating jre1.6.0_07/lib/plugin.jar
Creating jre1.6.0_07/lib/javaws.jar
Creating jre1.6.0_07/lib/deploy.jar
*** glibc detected *** free(): invalid pointer: 0xb7e68280 ***
./jre-6u7-linux-i586-bin: line 440: 25757 Aborted                (core dumped) "$javahome/bin/java" -client -Xshare:dump >/dev/null 2>&1
*** glibc detected *** free(): invalid pointer: 0xb7e68280 ***
./jre-6u7-linux-i586-bin: line 43: 25761 Aborted                (core dumped) "$javaprefix/bin/java" com.sun.servicetag.Installer -source "$source" >/dev/null 2>&1

Done.
root@server [/usr/local/bittorrent]# java
-bash: java: command not found
root@server [/usr/local/bittorrent]#


jay73 10-22-2008 01:51 PM

Have you tried the rpm.bin version? Or did you already install an rpm.bin version of another jre (you can't do so for more than one).

It is curious that just a few days ago, someone posted another jdk1.6 issue that affected Red Hat only. Maybe a bug in the jre?

shellcrash 10-23-2008 06:18 AM

I tried the RPM as well. It gave the same problem and I uninstalled it with the "rpm -e" command. Do you have the link of the thread with the JRE issue on Redhat? Maybe that person has a solution to my problem.

ehawk 10-23-2008 07:13 PM

Have you tried looking/posting here?

http://forums.sun.com/forum.jspa?forumID=14

shellcrash 10-24-2008 06:54 AM

Believe it or not, I haven't gotten a single reply on sun's forum!


All times are GMT -5. The time now is 05:19 AM.