Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Dec 2000 10:17:10 -0800 (PST)
From:      Sean Peck <speck@newsindex.com>
To:        mike <mike@coloradosurf.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: apache-jserv problem installing from ports
Message-ID:  <Pine.BSF.4.10.10012131016490.55608-100000@www.newsindex.com>
In-Reply-To: <001601c06508$879e0dc0$020110ac@c769378a.lakwod3.co.home.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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" <speck@newsindex.com>
> To: "mike" <mike@coloradosurf.com>
> 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" <eiffel@aracnet.com>
> > > To: <questions@freebsd.org>
> > > Cc: "mike" <mike@coloradosurf.com>
> > > 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.10.10012131016490.55608-100000>