Skip site navigation (1) Skip section navigation (2)

FreeBSD Java Project: JDK 1.0 - UNSUPPORTED

JDK® 1.0.x

Although it is noted below, this distribution is no longer found on freefall.FreeBSD.org. If you can find this port, feel free to use it. :)

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.     /*"FreeBSD-current?" -comment added by Dave Hummel, not
                                   original author */

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