while installing oracle on linux red hat 5 its giving java.lang error how can i get rid of it?
-
4You're a long way from The Perfect Question: msmvps.com/blogs/jon_skeet/archive/2010/08/29/…– duffymoSep 8, 2010 at 9:23
-
1Installing Oracle? I cannot install a company ^O). What exactly (application) are you installing?– The Elite GentlemanSep 8, 2010 at 9:26
-
2Please post the complete error message/stack trace.– ChristianSep 8, 2010 at 9:34
-
You could install Windows? Usually helps.– Thorbjørn Ravn AndersenSep 8, 2010 at 12:08
Add a comment
|
1 Answer
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.
-
oh god, mangling the Linux alternatives setup for your own purposes is such a bad idea. Please don't.– OphidianSep 8, 2010 at 13:28
-