This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hi all, I installed Tomcat 4 on my PC.But I am having problem starting it when I click the startup.bat file it give me a error saying that WINDOWS CANNOT FIND 'DJava.endorsed.dirs=.' .What might be the problem I am having JDK 1.4 Any help will be highly appreciated Bye Mukul
I am having the same problem as Mukul. I am trying to run Tomcat on WindowsXP. My JAVA_HOME env variable is set to C:\Program Files\Java\j2re1.4.1 which seems correct. However I am getting a "Windows connot find '-Djava.endorsed.dirs=' error when it trys to use JAVA_HOME. Any suggestions? Thanks!
JAVA_HOME can be anything you need it to be. The important part is that it is the path which leads to the bin directory of the SDK that you want to provide the JVM for the web server. Different people set up their machines differently. Not wrong, just different. I have the same issue with XP, although when comparing to the JAVA_HOME definition on both a WinNT and Win2K system, there is no difference in the format of the JAVA_HOME definition, just differences in the path itself. Make sure there are no additional characters after the directory name that is the parent of bin. Many path variables end with ..;.; to indicate that the current and parent directory should also be checked, these should not be included here. Not sure if that will fix it, but give it a shot. Kat >^..^<
Originally posted by Nigel Kat: JAVA_HOME can be anything you need it to be. The important part is that it is the path which leads to the bin directory of the SDK that you want to provide the JVM for the web server. Different people set up their machines differently. Not wrong, just different.
With the caveat that the poster was referring to a particular version of JAVA_HOME that definately *is* wrong. You can't substitute a JRE for a JDK.