From owner-freebsd-java Wed Jan 3 8:31:37 2001 From owner-freebsd-java@FreeBSD.ORG Wed Jan 3 08:31:34 2001 Return-Path: Delivered-To: freebsd-java@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 44F1837B400 for ; Wed, 3 Jan 2001 08:31:33 -0800 (PST) Received: (from ernst@localhost) by heinz.jollem.com (8.11.1/8.11.1) id f03GUH504078; Wed, 3 Jan 2001 17:30:17 +0100 (CET) (envelope-from ernst) Date: Wed, 3 Jan 2001 17:30:17 +0100 From: Ernst de Haan To: Thomas Runge Cc: freebsd-java@FreeBSD.ORG Subject: Re: jdk1.3 Message-ID: <20010103173017.A3856@c187104187.telekabel.chello.nl> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from runge@rostock.zgdv.de on Wed, Jan 03, 2001 at 04:21:32PM +0100 Sender: ernst@heinz.jollem.com Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi Thomas, As Panagiotis Astithas pointed out, there already is a JDK 1.3 available on FreeBSD. It's available as a port. First make sure your ports tree is up to date. You can use CVSup for this. If you don't know how to do that, let me know and I'll give you some simple instructions. After that, download the Linux JDK version 1.3.0 from the following location: * http://java.sun.com/j2se/1.3/download-linux.html Move the file to /usr/ports/distfiles (as root): # mv j2sdk-1_3_0-linux.bin /usr/ports/distfiles/ Then execute as root: # cd /usr/ports/java/linux-jdk13 # make install You now have an installed Sun Linux JDK 1.3.0. But it will probably freeze since HotSpot doesn't really like the Linuxulator. So you should modify the jvm.cfg file. This is what it will contain after you downloaded it: # cat /usr/local/linux-jdk1.3.0/jre/lib/jvm.cfg | tail -4 -client -hotspot -server -classic Move the -classic option to the top: -classic -client -hotspot -server When you try to run the JDK, you should set JAVA_HOME to /usr/local/linux-jdk1.3.0. And perhaps, when executing Java programs, you may want to increase the initial heap size from 1 MB to 2 MB using the following command: $ java -Xms2048K And check out the following page: * http://www.kjkoster.org/java/ Good luck, Ernst Thomas Runge wrote: > > As I have a huge demand on Java 1.3 on FreeBSD, I tried the latest > sun jdk for Linux using our linuxulator. > I patched .java_wrapper as stated in some mails. But I always get > a core dump. > > This is a freshly cvs updated 4.2-stable. I did read about some > patches to freebsd that make the IBM jdk13 run, but these patches > are for -current and even if they apply, they didn't compile. > > So, is there a way to get any 1.3 running on -stable? > > > -- > Tom > > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-java" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-java" in the body of the message