-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Bobi,
On 7/22/2011 8:15 AM, Bobi St wrote: > sorry, I thought the settings I was asking for, are valid for all > OS. Sometimes, yes. But if you had told us everything up front, if would have been one question and one answer. You would have had your answer yesterday at 21:00 UTC. > error came: no JDK nor JRE was set (although JRE was set). > > I tried to set JDK_HOME to jre6 as well, but the same error message. Why would you set JDK_HOME (environment variable)? > Only after installing (the latest) JDK, and setting JDK_HOME towards > it, I could start Tomcat with the startup.bat. Something else must be happening. Are you starting as a service? If so, you will need to configure the JRE to use during the installation process, or through the service configuration utility. No amount of messing around with environment variables with make a bit of difference. If you are running from the command-line, what script are you using? If you use startup.bat which calls catalina.bat, you should read the scripts to see what environment variables are relevant. You'll notice that JDK_HOME is not one of them. Other options are potentially more useful. Read the script and you'll see what variables are relevant. - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk4p6jgACgkQ9CaO5/Lv0PDxNgCeNhD7ILk2bTgq5TGs6uomKoKc UGoAoKcU4M+bKQVJ2mHg+QCezyjmb0pb =UJCo -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org