Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Nov 1996 13:43:09 -0500 (EST)
From:      Gregory James Hormann <ghormann@indiana.edu>
To:        questions@freeBSD.org
Cc:        rhh@ct.picker.com
Subject:   Re: java (fwd)
Message-ID:  <Pine.BSI.3.95.961120133207.11115B-100000@wawasee.read.indiana.edu>
In-Reply-To: <Pine.BSI.3.95.961120133016.11045A-100000@wawasee.read.indiana.edu>

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

I am running 3.0-current, and I still have problems with this port:
-----------------
% env
[lines deleted]
CLASSPATH=/usr/local/src/jdk/classes/
LD_LIBRARY_PATH=/usr/local/src/jdk/lib/i386/

% set | egrep path
path	(/home/ghormann/bin /bin /usr/bin /usr/games /usr/local/bin 
/usr/X11R6/bin /usr/local/src/jdk/bin/)

%javac helloworld.java     (it is an applet)
use: javac [-g][-O][-debug][-depend][-nowarn][-verbose][-classpath path]
[-nowrite][-d dir] file.java...

---------------

I have tried removing the trailing '/' on the environment variables, but
the effect is still the same.  The applet compiles with jdk on a SUN
machine....

Any suggestions?

Greg.

______________________________________________________________________________
Greg Hormann                                          |      |    |
ghormann@indiana.edu                                  |      |    |
http://ezinfo.ucs.indiana.edu/~ghormann/home.html     |.     \____/.
______________________________________________________________________________




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.95.961120133207.11115B-100000>