weblogic启动报错

 刚安装了weblogic10,新建了域,启动的时候报:

"The JRE was not found in directory C:\PROGRA~1\Java\JDK16~1.0.6.0. (JAVA_HOME)
Please edit your environment and set the JAVA_HOME
variable to point to the root directory of your Java installation.
Press any key to continue . . ."

 

      确认java_home,path环境变量已经配置,在setDomainEnv.cmd中确认SUN_JAVA_HOME和JAVA_HOME路径正确,不过启动还是报错。

        最后在setDomainEnv.cmd找到错误打印语句的所在,判断路径出现乱码,确认C:\Program Files\Java\jdk1.6.0这种路径的空格有问题,于是把jdk重新安装放在D:/program下,卸载weblogic10,重新安装,最后ok.



你可能感兴趣的:(java,jdk,c,weblogic,sun,Path)