Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 50264 invoked from network); 2 Apr 2006 04:35:32 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 2 Apr 2006 04:35:32 -0000 Received: (qmail 56747 invoked by uid 500); 2 Apr 2006 04:35:21 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 56725 invoked by uid 500); 2 Apr 2006 04:35:21 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 56714 invoked by uid 99); 2 Apr 2006 04:35:21 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 20:35:21 -0800 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of larry.meadors@gmail.com designates 66.249.82.193 as permitted sender) Received: from [66.249.82.193] (HELO xproxy.gmail.com) (66.249.82.193) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 01 Apr 2006 20:35:20 -0800 Received: by xproxy.gmail.com with SMTP id t16so685642wxc for ; Sat, 01 Apr 2006 20:34:58 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=VLxkqsKVP9RII9nEQnsEMTSifphhhZETAGZDKPMxg30oqW/CCY8JQpHcCy6uaWplCoYJzrHLrgqAwhHIY3WT6LQSqKlYXVCnTBorSL1iS3emyzpUk7aTOr8dDxqdfLljIM4MmcNYBXB8KDhUf6VauDPH9JFsw6p5Ty0CbVOKVQQ= Received: by 10.70.62.10 with SMTP id k10mr561544wxa; Sat, 01 Apr 2006 20:34:58 -0800 (PST) Received: by 10.70.76.3 with HTTP; Sat, 1 Apr 2006 20:34:58 -0800 (PST) Message-ID: Date: Sat, 1 Apr 2006 21:34:58 -0700 From: "Larry Meadors" Reply-To: lmeadors@apache.org Sender: larry.meadors@gmail.com To: "Tomcat Users List" Subject: Re: tools.jar not in CP (Tomcat 5.5.15) In-Reply-To: <442F4F24.8030608@videotron.ca> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <442F4F24.8030608@videotron.ca> X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Sounds like you may have a JRE instead of a JDK. >From a command like do: cd $JAVA_HOME find -iname javac You should see one listed as './bin/javac' after running that second comman= d. Larry On 4/1/06, Martin Schulz wrote: > My webapps needs to access the javac compiler classes from tools.jar. > > This appears to work on dev environment on Windows, but it doesn't > in a deployment environment: > Solaris 9 > JDK 1.5.0_06 > > The app hits a java.lang.ClassNotFoundException: com.sun.tools.javac.Main > > According to the documentation, tools.jar should always be in the > class path: > http://tomcat.apache.org/tomcat-5.5-doc/class-loader-howto.html > > Looking at the startup scripts (I think I saw it in the doumentation too > somewhere) there is a 'javac' option (in catalina.sh), which appears > to be in some state of disrepair. At least the order of arguments > passed from startup.sh does not match how catalina.sh looks at the args, > nor does catalina.sh actually consume the 'javac', or evaluate it > as a valid command. > > I guess I'm confused at this stage as to what to believe and how to proce= ed. > > Martin > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org > For additional commands, e-mail: users-help@tomcat.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org