From owner-freebsd-java Fri Oct 6 8:29:35 2000 Delivered-To: freebsd-java@freebsd.org Received: from matsulab.is.titech.ac.jp (matsulab.is.titech.ac.jp [131.112.35.129]) by hub.freebsd.org (Postfix) with ESMTP id 3C3D737B66D for ; Fri, 6 Oct 2000 08:29:32 -0700 (PDT) Received: from dittohead.is.titech.ac.jp.is.titech.ac.jp by matsulab.is.titech.ac.jp (8.8.8+Sun/3.7W) id AAA21388; Sat, 7 Oct 2000 00:29:29 +0900 (JST) Date: Sat, 07 Oct 2000 00:29:59 +0900 Message-ID: <55d7hem1hk.wl@is.titech.ac.jp> From: Fuyuhiko Maruyama To: alex@frustum.clara.co.uk Cc: freebsd-java@freebsd.org Subject: Re: Java CLASSPATH problem In-Reply-To: In your message of "Fri, 6 Oct 2000 16:27:15 +0100" <20001006162715.A745@frustum.clara.co.uk> References: <20001006162715.A745@frustum.clara.co.uk> User-Agent: Wanderlust/2.2.18 (Please Forgive Me) on XEmacs/21.2.35 "Nike" MIME-Version: 1.0 (generated by SEMI 1.13.7 - "Awazu") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-java@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, At Fri, 6 Oct 2000 16:27:15 +0100, Aleksandar Simic' 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 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