Frank Conte <[EMAIL PROTECTED]> writes:

> I'm having a problem launching the java
> compilier, javac. I keep getting an error that says "CLASSPATH not set!"
> 
> First let me identify where java is located on my linux box:
> 
> /usr/lib/java/bin
> 
> Referring to my book, java script in 21 days, (or more appropriately
> titled for Frank: Javascript in 21 YEARS!),  the problem should be
> solved by adding this line to my .cshrc file
> 
> set path=(~/java/bin/ $path) where /java/bin is really /usr/lib/java/bin
> on
> my system so it's really ...set path=(~/usr/lib/java/bin $path). Is this
> correct?

No, remove the `~' character from the last one and make it... set
classpath=(/usr/lib/java/lib/classes.zip)

> So far this isn't working
> 
> The book also says If a CLASSPATH is being set, entering the following
> at the command prompt 
> echo $CLASSPATH

Unfortunately there are a couple of things going against you at the
moment.  One being we've not finished working on the
configure/make/install sequence and two GNU Classpath isn't quite
ready for use (at least in whole) with any JVM.

I'm not sure why you need a CLASSPATH environment variable for
JavaScript, which is not really even related to Java.  Use Netscape,
view your code/source in the browser where it might work.

Brian
-- 
|-------------------------------|Software Engineer
|Brian Jones                    |[EMAIL PROTECTED]
|[EMAIL PROTECTED]                    |http://www.nortel.net
|http://www.classpath.org/      |------------------------------

Reply via email to