Go to Start>Settings>Control Panel>System Look for Environment variables/Path there..... Type in what u want....don't forget to end every stmt with a ";" Click on "set" and then "ok".... Hope this helps.
You can either enter the values at the dos prompt or you can add them to your autoexec.bat file. set classpath c:\jdk1.2\lib;c:\Java; set path c:\jdk1.2\bin;C:\jdk1.2\jre\bin if you want to see what youre current settings are, simply type in set with nothing else at the DOS prompt. The above off course assumes that you use WinTel Good Luck
Pse note in you lines you had spaces between the different directories. I know that in the old days when we only had DOS, DOS did not like the spaces there. I assume Windows still does not want them there.
[This message has been edited by Johannes de Jong (edited April 27, 2001).]
What has worked well for me --- 1> get a copy of TextPad, cause it will do a lot of the work for you, and is a first-rate resource. 2> put all your classes in c:\jdk1.3\jre\classes, and the javac will automatically look there for you. 3> you can put subdirectories into the classes folder, and reference them as follows : [javac will direct itself to the classes folder, so you don't need a full pathname] import <subfolder>.<sub2folder>. etc . <yourclass.class> Hope this helps.
Johannes de Jong
posted 18 years ago
Youre right Don TextPad spoiles one by doing a lot for you behind the scenes. Great editor