JDeveloper Quickstart

Problems with a space character in Domain

If you have a SOA Quickstart installation on Windows, and your domain directory name contains a space character - you will have a problem starting up the integrated WLS server.

You will see something similar (my directory is named Jon Petter)

  Error: Could not find or load main class Petter\AppData\Roaming\JDeveloper\system12.\DefaultDomain

To fix this you can go to the directory mentioned - and change the file: /bin/setStartupEnv.cmd.


  set EXTRA_JAVA_PROPERTIES=%EXTRA_JAVA_PROPERTIES% -Dem.oracle.home=D:\Oracle\Middleware1221\em -DINSTANCE_HOME=C:\Users\Jon Petter\AppData\Roaming\JDeveloper\system12.\DefaultDomain -Djava.awt.headless=true -Doracle.sysman.util.logging.mode=dual_mode

to (adding “ before and after in the INSTANCE_HOME):

set EXTRA_JAVA_PROPERTIES=%EXTRA_JAVA_PROPERTIES% -Dem.oracle.home=D:\Oracle\Middleware1221\em -DINSTANCE_HOME="C:\Users\Jon Petter\AppData\Roaming\JDeveloper\system12.\DefaultDomain" -Djava.awt.headless=true -Doracle.sysman.util.logging.mode=dual_mode