Ravi,
thanks for your prompt answer.

At the command prompt I type 'javac' and get a response from the
compiler. So, javac is found.
I do not understand why I should add %java_home%\bin to the
classpath. First, I read somewhere that I do not need a classpath
(although I do have a classpath variable pointing to the %java_home%\lib
directory). Second, the bin directory does not contain jar or class
files.

Hope somebody can point me to other possible solutions.

Thanks,

Bert Catsburg



Ravindra K. Bhat wrote:
Your %JAVA HOME% is not set correctly.  Check to see if you can run
the compiler at the command prompt...ie
 type JAVAC at the c:\ prompt if it says external command it means the
JAVA_HOME is not set correctly..

to set it correctly you need to add the JAVA_HOME to your SYSTEM
PROPS->Environment to point to the correct directory.  You may also need
to add the %JAVA_HOME%\bin to your class path ie you can specify the class
path as c:\jdk X X X\bin;

Hope this helps
Ravi



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to