How to solve "\Java\jdk1.7.0_45' was unexpected at this time." while starting jboss-eap-6.2
来源:互联网 发布:法语考研方向知乎 编辑:程序博客网 时间:2024/06/06 18:05
Solution is very simple, just replaced a snip of code in standlone.bat
if "x%JAVA_HOME%" == "x" ( set JAVA=java echo JAVA_HOME is not set. Unexpected results may occur. echo Set JAVA_HOME to the directory of your local JDK to avoid this message.) else ( if not exist "%JAVA_HOME%" ( echo Here ----------------------------------> note this line !! echo JAVA_HOME '%JAVA_HOME%' path doesn't exist goto END ) else ( echo Setting JAVA property to '%JAVA_HOME%\bin\java' set "JAVA=%JAVA_HOME%\bin\java" ))
Replaced by the following code
if "x%JAVA_HOME%" == "x" ( set JAVA=java echo JAVA_HOME is not set. Unexpected results may occur. echo Set JAVA_HOME to the directory of your local JDK to avoid this message.) else ( if not exist "%JAVA_HOME%" ( echo Here ---------------------------------- note this line !! echo JAVA_HOME "%JAVA_HOME%" path doesn't exist goto END ) else ( echo Setting JAVA property to "%JAVA_HOME%\bin\java" set "JAVA=%JAVA_HOME%\bin\java" ))
0 0
- How to solve "\Java\jdk1.7.0_45' was unexpected at this time." while starting jboss-eap-6.2
- cmd command “was unexpected at this time”
- How to solve HornetQ message block (HQ214024) by setting it to paging mode. Jboss EAP 6.1
- How to solve this issue?
- WEBLOGIC 11G 异常 qtjava.zip was unexpected at this time 处理方案
- "the input line is too long, [笑脸符号] was unexpected at this time"解决思路
- How to solve this problem oC
- How to solve the issue of RSARTE's starting problem
- How to solve "java.lang.VerifyError: Expecting a stackmap frame at branch target 6 in method"
- How to solve performance issue while inquiring material transaction distribution?
- how to change dimension at view time
- no consoles to display at this time
- JBOSS-eap-6.2目录
- Failed to load the JNI shared library "C:\Program Files(X86)\Java\jdk1.8.0_45\bin\.....
- JAVA的环境变量配置(JDK1.6.0_45)
- Invalid content was found starting with element No child element is expected at this point.
- Invalid content was found starting with element No child element is expected at this point.
- How to solve laptop
- 后缀树 - 多模式匹配
- smallbin double linked list corrupted
- !!!Chapter 3 The Data Link Layer
- KMP 单模式匹配, 实现 strStr()
- hee
- How to solve "\Java\jdk1.7.0_45' was unexpected at this time." while starting jboss-eap-6.2
- Android开发学习笔记:数据存取之SQLite浅析
- SQLite 管理工具 SQLiteDeveloper 及破解
- 搭建SSh框架,我们应该遵循的步骤
- 黑马程序员_java基础加强2
- mysql startup issue
- 黑马程序员_Dom的学习总结
- 云计算服务与水电服务的异同
- 小众化的世界——细分与普及