From owner-freebsd-questions Wed Dec 13 23:37:57 2000 From owner-freebsd-questions@FreeBSD.ORG Wed Dec 13 23:37:54 2000 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from www.newsindex.com (www.newsindex.com [64.71.138.178]) by hub.freebsd.org (Postfix) with ESMTP id 00CAF37B400 for ; Wed, 13 Dec 2000 23:37:54 -0800 (PST) Received: from localhost (speck@localhost) by www.newsindex.com (8.9.3/8.9.3) with ESMTP id XAA38265; Wed, 13 Dec 2000 23:37:27 -0800 (PST) (envelope-from speck@www.newsindex.com) Date: Wed, 13 Dec 2000 23:37:18 -0800 (PST) From: Sean Peck To: mike Cc: freebsd-questions@FreeBSD.ORG Subject: Re: apache-jserv problem installing from ports In-Reply-To: <20001213132702.A59665@coloradosurf.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: speck@www.newsindex.com Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Have you executed the jar command to see the contents of the jar file to make sure it is not corrupted somehow? On Wed, 13 Dec 2000, mike wrote: > No, this does not work either :( > > mike > > > > On Wed, Dec 13, 2000 at 10:17:10AM -0800, Sean Peck wrote: > > You must explicitely list the JAR file in your classpath, not merely the > > directory it is in > > > > On Wed, 13 Dec 2000, mike wrote: > > > > > Since everyone is telling me (basically) the same thing (and it still won't > > > install - same error message), I'm assuming I just don't get it. > > > > > > # echo $CLASSPATH > > > /usr/local/share/java/classes > > > (where the .jar file is - in /usr/local/share/java/classes/jsdk.jar) > > > -just to try things I also tried /usr/local/jdk1.1.8/lib and > > > /usr/local/jdk1.1.8/bin > > > > > > just for fun: > > > # echo $PATH > > > /sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/bin:/usr/X11R6/bin:/root > > > /bin:/usr/local/jdk1.1.8/bin:/usr/local/share/java/classes > > > > > > > > > I have both jdk (in /usr/local/jdk1.1.8) and jsdk (in /usr/local/share/java) > > > installed. I am still getting the same make error: > > > checking JSDK... configure: error: javax.servlet.Servlet not found in > > > /usr/local/share/java/classes/jsdk.jar > > > ===> Script "configure" failed: here are the contents of "config.log > > > > > > I really appreciate everyone's help. Please enlighten me if you can see what > > > I'm doing wrong. > > > > > > Thanks!! > > > > > > mike > > > > > > > > > > > > ----- Original Message ----- > > > From: "Sean Peck" > > > To: "mike" > > > Sent: Tuesday, December 12, 2000 11:22 AM > > > Subject: Re: apache-jserv problem installing from ports > > > > > > > > > > No, it contains the servlet classes, make sure the .jar is in your > > > > classpath > > > > > > > > On Tue, 12 Dec 2000, mike wrote: > > > > > > > > > Thank you for your replies, > > > > > > > > > > but... > > > > > > > > > > I did install the java-1.1.8 and the jsdk. The file > > > > > /usr/local/share/java/classes/jsdk.jar does exist (it apparently doesn't > > > > > contain the class javax.servlet.Servlet !?!). > > > > > > > > > > > checking JSDK... configure: error: javax.servlet.Servlet not found in > > > > > /usr/local/share/java/classes/jsdk.jar > > > > > > ===> Script "configure" failed: here are the contents of "config.log" > > > > > > > > > > > > > > > Any other ideas? > > > > > > > > > > Thanks, > > > > > > > > > > mike > > > > > > > > > > > > > > > ----- Original Message ----- > > > > > From: "Flemming Froekjaer" > > > > > To: > > > > > Cc: "mike" > > > > > Sent: Monday, December 11, 2000 8:21 PM > > > > > Subject: Re: apache-jserv problem installing from ports > > > > > > > > > > > > > > > > mike wrote: > > > > > > > > > > > > > I am trying to install apache-jserv from the ports > > > > > (/usr/ports/www/apache-jserv) and it won't install. > > > > > > > It craps out when looking for "javax.servlet.Servlet not found in > > > > > /usr/local/share/java/classes/jsdk.jar" > > > > > > > I have pasted the entire make output below. > > > > > > > > > > > > > > configure:3938: checking JSDK > > > > > > > (end of "config.log") > > > > > > > *** Error code 1 > > > > > > > > > > > > It seems like you forgot to install the Java Servlet Development kit. > > > > > > You have to download and install it before you can install the Jserv. > > > > > > > > > > > > \Flemming > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > > > > with "unsubscribe freebsd-questions" in the body of the message > > > > > > > > > > > > > > > > > > > > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message