Date: Wed, 19 Mar 2003 13:53:06 -0800 From: Milo Hyson <milo@cyberlifelabs.com> To: Doug Poland <doug@polands.org> Cc: freebsd-java@FreeBSD.ORG Subject: Re: Specifying jdk for tomcat 4.1.18 Message-ID: <3E78E6C2.2090209@cyberlifelabs.com> In-Reply-To: <32007.63.104.35.130.1048109532.squirrel@email.polands.org> References: <18118.63.104.35.130.1048108215.squirrel@email.polands.org> <3E78DDFF.7000500@cyberlifelabs.com> <32007.63.104.35.130.1048109532.squirrel@email.polands.org>
next in thread | previous in thread | raw e-mail | index | archive | help
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title></title> </head> <body> Doug Poland wrote:<br> <blockquote type="cite" cite="mid32007.63.104.35.130.1048109532.squirrel@email.polands.org"> <pre wrap="">Milo Hyson said: </pre> <blockquote type="cite"> <pre wrap="">Doug Poland wrote: </pre> <blockquote type="cite"> <pre wrap="">How do I specify a different jdk for tomcat? I can't find it anywhere in the conf/* files. Seems that tomcat41ctl has /usr/local/jdk1.3.1 compiled into it. Thought I might try tomcat with jdk1.4.1. </pre> </blockquote> <pre wrap="">It determines the JDK from the JAVA_HOME environment variable. </pre> </blockquote> <pre wrap=""><!---->What happens when I (as root) don't have JAVA_HOME set when /usr/local/etc/rc.d/020.jakarta-tomcat41.sh start is invoked? What happens on system startup? </pre> </blockquote> Tomcat will not start unless JAVA_HOME is set -- it barfs with an error. The startup script (in /usr/local/etc/rc.d) is probably setting it for you. Look in there.<br> <br> <pre class="moz-signature" cols="72">-- Milo Hyson CyberLife Labs </pre> </body> </html> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3E78E6C2.2090209>