2013/1/23 Mark Thomas <ma...@apache.org>:
> On 23/01/2013 17:46, Williams, Nick wrote:
>>  Interesting problem I'd welcome feedback on:
>>
>> I have an OS environmental variable JAVA_HOME set to C:\Program
>> Files\Java\jdk1.8 (so, JAVA_HOME is set to the JDK home). My belief
>> was that I SHOULD be able to leave off the tools.jar. However, that
>> does not work.
>
> That is just the way catalina.bat reports it. It only reports it as
> JAVA_HOME if you use the debug option.
>
> If JAVA_HOME is set, tools.jar is not put on the classpath. I think it
> used to be. There is probably an argument for adding it if JAVA_HOME
> rather than JRE_HOME is set.
>

setenv.sh can be used to configure CLASSPATH.

I do not think it is worth adding tools.jar by default. This is a rare use case.

Best regards,
Konstantin Kolinko

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to