The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
April 2001

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Path and class path

Posted by Geethanjali on April 07, 2001 at 4:50 AM

Sir,

I have installed java recently.I'm new to it. I'm not able to work on java programs. I found it it out as I had not set the PATH and CLASSPATH variable. I have stored my java files in c:\jdk> [bin dir => c:\jdk\bin> ]

How do i set this PATH and CLASSPATH variables?? (i know that you have to edit the autoexec.bat file but my command doesn't seem to work. my OS is windows 98)
My commands were rem - By Windows Setup - javac.exe;java.exe; appletviewer.exe SET PATH =%PATH%;C:\JDK\BIN;C: javac -CLASSPATH =.java;.class;C:\JDK\BIN; c:\; c:\j



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us