Error : \Java\jdk1.6.0_17\lib\tools.jar was unexpected at this time

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. :)

猜你喜欢

转载自shift8.iteye.com/blog/1405872