Whenever I am starting my WebLogic server I am getting this error msg in my eclipse console:
\Java\jdk1.6.0_03\bin was unexpected at this time.
My m/c is a 64bit one.
Whenever I am starting my WebLogic server I am getting this error msg in my eclipse console:
\Java\jdk1.6.0_03\bin was unexpected at this time.
My m/c is a 64bit one.
In case if someone encountered this question now, like I just did, If you are using 32 bit Java on a 64 bit machine, you can use following way to set JAVA_HOME to get rid of space issue in class path. No need to provide quotes.
C:\progra~2\Java\jdk1.7.0_67
progra~2 refers to Program Files(x86).
Check your path variables. The most common cause of it is forgetting quotes.
Your %JAVA_HOME% could be set to path like this:
C:\program files(x86)\Java\jdk1.6.0_03
and spaces in such a path are not resolved until put into double quotes:
"C:\program files(x86)\Java\jdk1.6.0_03"
Shantanu,
You are getting this problem because you have a misconfigured value in your path environment variable.
Go to Computer->Properties->Advanced System Settings select Environment Variables 1) Make sure that the value for "path" in user variables is correct. 2) Make sure that the value for "path" in System variables is correct. 3) Check to see if there's a classpath Variable defined in user/system variables and make sure its correct too.
I remember when installing MKS toolkit I think, it appended the path variable with its own JDK location. I removed it all together and got rid of this error.
Please check your Java version, this error we can see because of 32 or 64 bit java version.
Example :
You have downloaded software version working on Java 32 but you have already installed Java 64.
There may be \Java\jdk1.6.0_03\ installed on your machine and conflicting with JDK of WLServer. Uninstall and run the server will resolve the issue.