[1578] in java-interest
RE: Javac and classpath
daemon@ATHENA.MIT.EDU (Nelson Yu)
Fri Sep 8 09:54:05 1995
From: Nelson Yu <nyu@gpu.srv.ualberta.ca>
To: "'java-interest@java.sun.com'" <java-interest@java.sun.com>
Date: Fri, 8 Sep 1995 05:11:20 -0600
Peter,
>Thanks for the tip about using explorer, it works. But when I use
>the -classpath option to tell javac to look for html\classes, it can't find
>java\tools\javac. I think it is because -classpath replaces the entire
>classpath. I think I need to set the classpath in autoexec.bat? How do I
>do this, i.e., what syntax do I use? Does win'95 recognize the setenv
>command? I usually use a Mac, so forgive me for being so obtuse, but I
>would like to get this silly thing to work. Perhaps you could tell me what
>your autoexe command is, it might help me figure it out. I appreciate your
>time.
Add these both to your AUTOEXEC.BAT
PATH = <whatever you have now>;c:\hotjava\bin
CLASSPATH = .;c:\html\classes
setenv and 'PATH' are similar in functionality.
-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com