Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Mar 2003 18:37:28 -0800
From:      Milo Hyson <milo@cyberlifelabs.com>
To:        Doug Poland <doug@polands.org>
Cc:        leafy@leafy.idv.tw, freebsd-java@FreeBSD.ORG
Subject:   Re: Specifying jdk for tomcat 4.1.18
Message-ID:  <3E792968.5000308@cyberlifelabs.com>
In-Reply-To: <1671.172.16.1.33.1048126904.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>        <3E78E6C2.2090209@cyberlifelabs.com>        <1616.172.16.1.33.1048125648.squirrel@email.polands.org>        <20030320020719.GA70161@leafy.idv.tw> <1671.172.16.1.33.1048126904.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="mid1671.172.16.1.33.1048126904.squirrel@email.polands.org">
  <pre wrap="">leafy said:
  </pre>
  <blockquote type="cite">
    <pre wrap="">On Wed, Mar 19, 2003 at 08:00:48PM -0600, Doug Poland wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">/usr/local/bin/tomcat41ctl I see references to
/usr/local/jdk1.3.1. Unless I'm missing something, I think that
this tomcat41ctl port has the path to /usr/local/jdk1.3.1 compiled
into the binary and there is no way to path to a different jdk.

      </pre>
    </blockquote>
    <pre wrap="">The same goes for jboss3ctl. If I want to switch to a different
jdk, I have to recompile the whole thing(!). Is it possible to
explicitly set JAVA_HOME when invoking the wrappers? Or by setting
some configuration files for that?

    </pre>
  </blockquote>
  <pre wrap=""><!---->Curious.  I don't know the answer to your question.  How do you
recompile with a different jdk?  In the jakarta-tomcat41 Makefile it
echos $JAVA_HOME as /usr/local/jdk1.3.1 but I have no idea how it is
set.  I obviously don't know enough about the port Makefile
business.

Perhaps a knoweldgeable and kind soul can enlighten us why jdk1.3.1
is the only jdk for use in jboss3 and tomcat41.
  </pre>
</blockquote>
<pre class="moz-signature" cols="72">I guess this is why I don't install Tomcat from ports. I just download the tarball and unzip it where I want it. Then I run the startup.sh script in the bin directory to kick Tomcat into gear. That script looks at the JAVA_HOME variable to determine which JVM to use.

-- 
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?3E792968.5000308>