From owner-freebsd-questions Wed Aug 1 23:43:52 2001 Delivered-To: freebsd-questions@freebsd.org Received: from web20106.mail.yahoo.com (web20106.mail.yahoo.com [216.136.226.43]) by hub.freebsd.org (Postfix) with SMTP id 8861137B41A for ; Wed, 1 Aug 2001 23:43:34 -0700 (PDT) (envelope-from freefabri@yahoo.it) Message-ID: <20010802064334.48425.qmail@web20106.mail.yahoo.com> Received: from [193.227.212.161] by web20106.mail.yahoo.com; Thu, 02 Aug 2001 08:43:34 CEST Date: Thu, 2 Aug 2001 08:43:34 +0200 (CEST) From: =?iso-8859-1?q?Fabrizio=20Ravazzini?= Subject: Re: FreeBSD and Java To: Adam Maloney Cc: Freebsd-questions@freebsd.org In-Reply-To: <20010801225754.A38983@desire.whee.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hy Adam, I used Tomcat & Apache on Linux to learn and develop jsp pages, never on FreeBSD, but I will. In Linux I installed only: Tomcat + Mod_jk Apache jdk (I installed jdk 1.1.2) I think that's also for FreeBSD, jdk is the Java Development Kit wich is used to compile sw written in Java that's useful to develop jsp pages. fabrizio --- Adam Maloney ha scritto: > Hello, > > The gist of my question is: What do I need to be > able to run JSP and/or Java > Servlets (I gather these are 2 different entities?) > under Apache-1.3.x and > FreeBSD? The rest of this message is a more > detailed account of what I'm > running across, but it's rather long-winded. > Perhaps it may show someone > where the confusion lies and the docs can be > improved. > > Thanks for all the efforts everyone on the FreeBSD > team has put in so far - > it's a great product! > > -- begin confusion (long, optional) -- > I want to be able to run Java servlets on a FreeBSD > machine. I'm new to > this aspect of Java, and I'm finding this incredibly > confusing. > > The Apache Foundation has Jakarta, which according > to their site really > isn't anything. Jakarta has Alexandria, Ant, > Avalon, Commons, ECS, James, > Jetspeed, JMeter, Log4j, ORO, Regexp, Slide, Struts, > Taglibs, Tomcat, > Turbine, Velocity and Watchdog. > > Tomcat appears to be on the right track - so I tried > to build the mod_jk > included in the distribution, and it complains about > missing JAVA 2 headers. > > Okay, so I guess I need Java 2 for FreeBSD. But > what do I really need: > (snippet from /usr/ports/java): > jad > jaf > java-cup > javamail > javavmwrapper > jce-aba > jdbcpool > jdk > jdk-doc > jdk-tutorial > jdk12-beta > jfc > jikes > jlex > jpda > jre > jsdk > > Okay, so obviously it isn't javamail, but is it jre? > jdk? jdk12-beta? > jsdk? I'm getting the impression that jdk12-beta is > java 2 (since java 2 is > really java 1.2...sigh), follow those instructions, > fetch the jdk-1...-src > from Sun and the patches from wherever, but the > checksum on the patches fail. So I > Say what the heck, at this point I'll do anything, > and I override the > checksum. Then the make install decides it needs > jdk1.1.8_ELF.V1999-11-9.tar.gz. Why? This isn't > Java2/Java1.2. And this > is another 11MB file to download, and the mirror it > grabs it from is > probably some dial-up in Elbonia, since I'm getting > 1k/s. > > So at this point I realize that I'm in way over my > head, and I ask for help. > > -- > Adam Maloney > At Home @ Whee > adam@whee.org > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of > the message ______________________________________________________________________ Do You Yahoo!? Il tuo indirizzo gratis e per sempre @yahoo.it su http://mail.yahoo.it To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message