while installing oracle on linux red hat 5 its giving java.lang error how can i get rid of it?
migrated from stackoverflow.com Sep 8 '10 at 9:29
This question came from our site for professional and enthusiast programmers.
The most likely cause of applications on RHE5 throwing Java errors (assuming Java is found at all) is the default Red Hat Enterprise install that points /usr/bin/java at /etc/alternatives/java and thence to a RH-provided non-Sun/Oracle Java.
For maximum compatibility, install the version of Oracle Java recommended by the application's install notes. Delete /etc/alternatives/java and recreate it soft-linked to this Java.