If you search for this issue you will find all sorts of fixes that actually work. To summarize the two key ones:
- Exit JDeveloper, delete [JDEV_USER_HOME]\system11.1.1.9.40.66.73\DefaultDomain
- Make sure the path to [JDEV_USER_HOME] contains no spaces or dots
Another, newer “common” issue is solved by:
- Crack open [MIDDLEWARE_HOME]\wlserver_10.3\common\wlst\modules\jython-modules.jar and add your windows version to javashell.py (see http://unversioned.blogspot.com/2012/12/jdevelopers-integrated-weblogic-on.html for more on that fix).
I’m running Windows 7, so the Jython fix was not for me, and the first two I have used successfully in the past, but they failed me today. Before giving up entirely and going to a pre-build VM fall-back position, I opened up [MIDDLEWARE_HOME]\Middleware11119\wlserver_10.3\common\bin\commEnv.cmd and found something funny (not “ha ha” funny but “&#%!@?!” funny). Instead of the JAVA_HOME path I provided during the JDeveloper Studio installation that is also reflected in the Help > About > Properties it has the path from System properties placed there by an Oracle 12c installation.
So I changed the JAVA_HOME in commEnv.cmd, deleted [JDEV_USER_HOME]\system11.1.1.9.40.66.73\DefaultDomain one more time and was off and running.
© Scott S. Nelson