Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

\Java\jdk1.6.0_03\bin was unexpected at this time

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.

like image 797
Shantanu Avatar asked Jun 23 '13 06:06

Shantanu


1 Answers

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).

like image 69
Milan Pandey Avatar answered Sep 16 '22 15:09

Milan Pandey