From owner-freebsd-questions Wed Aug 1 20:35:18 2001 Delivered-To: freebsd-questions@freebsd.org Received: from desire.whee.org (desire.whee.org [209.98.30.211]) by hub.freebsd.org (Postfix) with ESMTP id 9BC6337B401 for ; Wed, 1 Aug 2001 20:35:14 -0700 (PDT) (envelope-from adam@whee.org) Received: (from adam@localhost) by desire.whee.org (8.11.3/8.11.3) id f723vtm39196 for freebsd-questions@freebsd.org; Wed, 1 Aug 2001 22:57:55 -0500 (CDT) (envelope-from adam@whee.org) Date: Wed, 1 Aug 2001 22:57:54 -0500 From: Adam Maloney To: freebsd-questions@freebsd.org Subject: FreeBSD and Java Message-ID: <20010801225754.A38983@desire.whee.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i 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 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