From owner-freebsd-java Wed Dec 8 21:11:19 1999 Delivered-To: freebsd-java@freebsd.org Received: from hobart.southcom.com.au (hobart.southcom.com.au [203.60.16.2]) by hub.freebsd.org (Postfix) with ESMTP id 36656152DA for ; Wed, 8 Dec 1999 21:10:58 -0800 (PST) (envelope-from shevlandj@kpi.com.au) Received: from elite (pA3a.hbt.southcom.com.au [203.60.23.59]) by hobart.southcom.com.au (8.9.3/8.9.3) with SMTP id QAA01939; Thu, 9 Dec 1999 16:10:48 +1100 (EST) Message-ID: <00a301bf42a3$39684360$6464a8c0@kpi.com.au> From: "Joe Shevland" To: "Lachlan O'Dea" Cc: References: <19991207183225.B12671@vet.com.au> Subject: Re: HOWTO: Blackdown JDK 1.2.2 RC3 on 3.x Date: Thu, 9 Dec 1999 16:12:03 -0800 Organization: KPI Logistics Pty Ltd MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Thanks, seems to work fine so far on my 3.3-STABLE box too. I think possibly the only additional thing I had to do was specify --ignoreos to rpm as it complained for some reason. Cheers, Joe. ----- Original Message ----- From: "Lachlan O'Dea" To: Sent: Monday, December 06, 1999 11:32 PM Subject: HOWTO: Blackdown JDK 1.2.2 RC3 on 3.x > I've managed to get Blackdown's Linux JDK 1.2.2 RC3 to run on my > 3.3-STABLE machine. I thought some folks might be interested, so here's > the steps I performed. > > Note that this involves the use of glibc 2.1.2. From what I can gather, > glibc versions > 2.0 are only "officially" supported in -current. So > trying this under -stable may cause you all kinds of problems. Use at > your own risk, etc. All I know is that it does run on my box (at least for > the few apps I've tried). > > If I remember correctly, here's what I did: > > 1. Downloaded jdk-1.2.2-RC3-linux-i386.tar.bz2 from Blackdown > (www.blackdown.org). Note that RC2 does not work under FreeBSD (well it > didn't for me). > > 2. Installed the misc/rpm port. > > 3. Installed the emulators/linux_base-6.0 port. This is the "unofficial" > bit, this port is designed for -current (I believe). This port was made > by Marcel Moolenaar and is available from > http://www.freebsd.org/~marcel/. I notice he has a linux_base-6.1 port > there now as well, which would probably work too. > > 4. The Blackdown README says that it needs glibc 2.1.2. Since > linux_base-6.0 had a slightly earlier version, I downloaded the RPM > > > Then I did (approximately) > > # rpm --root /compat/linux -U glibc-2.1.2-11.i386.rpm > > The linux_base-6.1 port probably includes glibc-2.1.2, so you can skip > this step in that case. > > 5. % setenv JAVA_HOME /path/to/blackdown/jdk > > 6. Applied the attached patch to $JAVA_HOME/bin/.java_wrapper and > $JAVA_HOME/jre/bin/.java_wrapper. Note that this patch makes green > threads the default, since native threads don't work. > > 7. Ran /usr/bin/linux (obviously you only need this if the linux kernel > module isn't loaded) > > 8. % java ACoolJavaApp > > So far I've only tested the demo apps SimpleExample and SwingSet and > they both worked fine. You get a bunch of errors about dingbats fonts > that weren't found, but it does that on my Redhat box too. > > The good news is that Swing is noticably faster that in the last > Blackdown JDK I'd used (the JDK 1.2 pre-release 2). The SwingSet > "Internal Frame" and "ScrollPane" demos are now actually usable on my > Pentium 133. > > -- > Lachlan O'Dea Computer Associates Pty Ltd > Webmaster Vet - Anti-Virus Software > http://www.vet.com.au/ > > "There is not a truth existing which I fear... or would > wish unknown to the whole world." - Thomas Jefferson > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message