Date: Wed, 1 Aug 2001 23:38:34 -0400 (EDT) From: Alexander V P <alex@big-blue.net> To: Adam Maloney <adam@whee.org> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: FreeBSD and Java Message-ID: <Pine.BSF.4.21.0108012327430.11659-100000@localhost> In-Reply-To: <20010801225754.A38983@desire.whee.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Howdy, let's make it strait first. i'm not an expert and if i make a mistake, i hope i'll be corected ( and i'll learn some more of course ;-). i was faced with same problem today and what i did was: cvsup ports and have the latest for 4.3 i installed linux-jdk1.3.1 from ports (cd /usr/ports/java/linux-jdk1.3.1/) you will need to download jdk from the sun.com. btw, i found after you install java, to mv /usr/local/linux-jdk1.3.1 to /usr/local/jdk1.3.1/ download all the good stuff for java (jsee,jxml). download jakarta-tomcat ( source code), jakarta servlets and jakarta ant. i opted for jakarta tomcat v3.2.3. after java was installed(+jsee,jxml), i installed ant => jakarta servlets =>tomcat. at the end of the day i had tomcat serving servlets on port 8080 on my laptop and all the examples functional. tomorrow i'll try combo with apache. if worse come to worse, i'll have apache running on the server and tomcat. hth alex On Wed, 1 Aug 2001, Adam Maloney wrote: > 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 > 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.21.0108012327430.11659-100000>
