Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 1996 08:36:22 -0500
From:      rhh@ct.picker.com (Randall Hopper)
To:        mbranch@svpal.org (Mike Branch)
Cc:        questions@freebsd.org
Subject:   Re: java
Message-ID:  <Mutt.19961120083622.rhh@ct.picker.com>
In-Reply-To: <Pine.3.88.9611190956.A8424-0100000@svpal.svpal.org>; from Mike Branch on Nov 19, 1996 09:24:04 -0800
References:  <Pine.3.88.9611190956.A8424-0100000@svpal.svpal.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Branch:
 |  is there a chance that a java compiler will appear in
 |the  near future for FreeBSD?

Try this out.  It's been working fine for me.  It includes a working
appletviewer:

From: Jeffrey Hsu <hsu@FreeBSD.org>
Subject: JDK 1.0.2 for FreeBSD

Announcement
------------
A native FreeBSD binary distribution of the JDK 1.0.2 is now available from
  freefall.FreeBSD.org:/pub/FreeBSD/LOCAL_PORTS/jdk102.tar.gz
This port contains the java interpreter, compiler, and appletviewer.
This is a completely unsupported distribution.

Installation
------------
1. Grab freefall.FreeBSD.org:/pub/FreeBSD/LOCAL_PORTS/jdk102.tar.gz.
2. Create a directory and untar the FreeBSD distribution in there.
3. Install the pdksh port.

Running the JDK
---------------
If your JDK directory is rooted at <jdk>, you need to set
  1. your path to include the <jdk>/bin directory
  2. CLASSPATH environment variable to .:<jdk>/classes
  3. LD_LIBRARY_PATH to include <jdk>/lib/i386
To compile a java program, invoke 'javac program.java'.
To run it, use 'java <name of main class>'.

Answers to Common Questions
---------------------------
Q: Do I need Motif?
A: No.

Q: Which version of FreeBSD does this work on?
A: I run the current version of FreeBSD, so that's the only version which
   I've verified.

Q: It doesn't work on my machine.  What do I do?
A: You are out of luck.  This is a completely unsupported distribution.


Randall Hopper
rhh@ct.picker.com



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