Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 07 Oct 2000 00:29:59 +0900
From:      Fuyuhiko Maruyama <fuyuhik8@is.titech.ac.jp>
To:        alex@frustum.clara.co.uk
Cc:        freebsd-java@freebsd.org
Subject:   Re: Java CLASSPATH problem
Message-ID:  <55d7hem1hk.wl@is.titech.ac.jp>
In-Reply-To: In your message of "Fri, 6 Oct 2000 16:27:15 %2B0100" <20001006162715.A745@frustum.clara.co.uk>
References:  <20001006162715.A745@frustum.clara.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

At Fri, 6 Oct 2000 16:27:15 +0100,
Aleksandar Simic' <alex@frustum.clara.co.uk> wrote:
> classpath set in ~/.profile:
> CLASSPATH=.:/usr/local/jdk1.1.8/lib/calsses.zip; export CLASSPATH
                                      ^^^^^^^typo?
> 
> [alex@~/study/internet_prog_3sfe217] echo $CLASSPATH
> .:/usr/local/jdk1.1.8/lib/calsses.zip
                            ^^^^^^^typo?

In fact, you need not specify these.

> [alex@~/study/internet_prog_3sfe217] javac HelloWorld.java 
> [alex@~/study/internet_prog_3sfe217] java HelloWorld.class 
All you need to run your HelloWorld is
java HelloWorld
The suffix '.class' is never needed.

Go!

--
Fuyuhiko MARUYAMA <fuyuhik8@is.titech.ac.jp>
Matsuoka laboratory,
Department of Mathematical and Computing Sciences,
Graduate School of Information Science and Engineering,
Tokyo Institute of Technology.


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?55d7hem1hk.wl>