Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Jan 2001 17:30:17 +0100
From:      Ernst de Haan <ernst@jollem.com>
To:        Thomas Runge <runge@rostock.zgdv.de>
Cc:        freebsd-java@FreeBSD.ORG
Subject:   Re: jdk1.3
Message-ID:  <20010103173017.A3856@c187104187.telekabel.chello.nl>
In-Reply-To: <Pine.BSF.4.21.0101031618020.369-100000@penguin.egd.igd.fhg.de>; from runge@rostock.zgdv.de on Wed, Jan 03, 2001 at 04:21:32PM %2B0100
References:  <Pine.BSF.4.21.0101031618020.369-100000@penguin.egd.igd.fhg.de>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <arguments>

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010103173017.A3856>