Linux Operating System (MOSC)

MOSC Banner

getting invalid java path

edited Mar 5, 2016 4:04AM in Linux Operating System (MOSC) 3 commentsAnswered

i'm getting the following error  :

     [exec] The JDK wasn't found in directory /usr/java/java/jdk1.7.0_95/.

     [exec] Please edit the startWebLogic.sh script so that the JAVA_HOME

     [exec] variable points to the location of your JDK.

     [exec] Error: JAVA_HOME is not defined correctly.

     [exec]   We cannot execute /usr/java/java/jdk1.7.0_95//bin/java

i've double checked the setDomainEnv.sh and the java home is set to /usr/java/latest which points to

/usr/java/jdk1.7.0_95, the PATH statement has the correct path for java, the command which java , and java -version return the correct information..

is there any way i can see where the invalid java directory name   is being created ?

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center