From owner-freebsd-questions Wed Mar 27 02:43:44 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id CAA18300 for questions-outgoing; Wed, 27 Mar 1996 02:43:44 -0800 (PST) Received: from plum.blueberry.co.uk ([194.70.52.50]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id CAA18293 for ; Wed, 27 Mar 1996 02:43:38 -0800 (PST) Received: (from nik@localhost) by plum.blueberry.co.uk (8.6.12/8.6.12) id KAA17248; Wed, 27 Mar 1996 10:38:32 GMT From: Nik Clayton Message-Id: <199603271038.KAA17248@plum.blueberry.co.uk> Subject: Re: More X question To: msmith@atrad.adelaide.edu.au (Michael Smith) Date: Wed, 27 Mar 1996 10:38:31 +0000 (GMT) Cc: questions@freebsd.org In-Reply-To: <199603270126.LAA07193@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Mar 27, 96 11:56:21 am X-Mailer: ELM [version 2.4 PL24 ME8a] Content-Type: text Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > > Also: Has the JDK/HotJava been ported to FreeBSD? > > Don't believe so; there are several people around with the source, but it > sounds like it was written by a group who either had no idea about > portable software, or had a clear pro-Sun bias. This was posted to -announce back in Feb. FWIW, I grabbed it and use it here. I've got no complaints with it. N >From owner-majordomo Tue Feb 13 13:47:33 1996 Received: (from hsu@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA10512 for freebsd-announce; Tue, 13 Feb 1996 13:47:33 -0800 (PST) Date: Tue, 13 Feb 1996 13:47:33 -0800 (PST) From: Jeffrey Hsu Message-Id: <199602132147.NAA10512@freefall.freebsd.org> To: freebsd-announce Subject: JDK 1.0 port to FreeBSD Announce -------- I have ports of the JDK 1.0 using Green threads, pthreads, and uthreads. This port I'm releasing uses Green threads and is robust enough to recompile itself correctly. Installation ------------ 1. Grab ftp.javasoft.com:JDK-1_0-solaris2-sparc.tar.Z. 2. Grab freefall.FreeBSD.org:/pub/FreeBSD/LOCAL_PORTS/jdk10.tar.gz. 3. Untar the solaris binary distribution. 4. Move aside bin/ and untar the FreeBSD distribution. 5. Install the pdksh port. Running the JDK --------------- If your JDK directory is rooted at , you need to set 1. your path to include the /bin directory 2. CLASSPATH environment variable to .:/lib/classes.zip 3. LD_LIBRARY_PATH to include /lib/i386 Then to compile a java program, invoke 'javac program.java'. To run it, use 'java '. Status ------ This port is kind of flacky and I hesitate to release it, but it does meet my long-stated criteria of being self-hosting. The problems are related to the kludgy work-around I used to get around not having weak symbols and dlsym(RTLD_NEXT). The pthreads port does not have this problem, so the next release may use that instead, but I'm leaning towards fixing up the underlying operating system rather than working around it. The next release will come when I get appletviewer to work. How you can help ---------------- We could use a full-featured dlsym() which understands RTLD_NEXT. Weak symbols would help a lot too. There are people already working on the linker, so please coordinate with them if you decide to go work on this. -- --+=[ Blueberry Hill Blueberry Design ]=+-- --+=[ http://www.blueberry.co.uk/ 1/9 Chelsea Harbour Design Centre, ]=+-- --+=[ WebMaster@blueberry.co.uk London, England, SW10 0XE ]=+-- --+=[ Nik Clayton is a wholly owned subsidiary of the NatWest Bank. ]ENTP