From owner-freebsd-questions Wed Nov 20 10:43:19 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id KAA26314 for questions-outgoing; Wed, 20 Nov 1996 10:43:19 -0800 (PST) Received: from wawasee.read.indiana.edu (wawasee.read.indiana.edu [149.159.108.2]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id KAA26309 for ; Wed, 20 Nov 1996 10:43:17 -0800 (PST) Received: from localhost (ghormann@localhost) by wawasee.read.indiana.edu (8.8.2/8.6.12) with SMTP id NAA11287; Wed, 20 Nov 1996 13:43:09 -0500 (EST) X-Authentication-Warning: wawasee.read.indiana.edu: ghormann owned process doing -bs Date: Wed, 20 Nov 1996 13:43:09 -0500 (EST) From: Gregory James Hormann X-Sender: ghormann@wawasee.read.indiana.edu To: questions@freeBSD.org cc: rhh@ct.picker.com Subject: Re: java (fwd) In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freeBSD.org X-Loop: FreeBSD.org Precedence: bulk > Running the JDK > --------------- > If your JDK directory is rooted at , you need to set > 1. your path to include the /bin directory > 2. CLASSPATH environment variable to .:/classes > 3. LD_LIBRARY_PATH to include /lib/i386 > To compile a java program, invoke 'javac program.java'. > To run it, use 'java '. 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 |. \____/. ______________________________________________________________________________