when our application server fails to start with the message \Java\jdk1.6.0_17\lib\tools.jar was unexpected at this time., we thought it is because the version is not supported in our application server.
we have installed in c:\program files(x86)\java and set the java home for the same.
But later I came across the following link
then came to know the jdk it is because of the space that was available in the installation path of java.
Then we reinstalled java in a path without spaces. changed the java_home correspondingly.
then tried starting the application server it worked. 
本文介绍了一种常见的Java应用服务器启动失败的问题,即遇到“tools.jar was unexpected at this time”错误。通过调整Java安装路径去除空格并更新JAVA_HOME环境变量的方式成功解决了该问题。
492

被折叠的 条评论
为什么被折叠?



