hi folks, dear ones..i ahve got a small piece of problem to share with you .. I had configured jdk 1.2 successfully back in aug, 2000! but now with jdk 1.3 the problem is that i have to compile & save each and every program in the jdk1.3>bin directory and then i have to compile it... My Configurations Are: OS: Win 2000 (Professional Edition) System: P-II, 266 Mhz path i had set in autoexec.bat file set path C:\jdk1.3\bin; i'll be thankful ur friend Azam ------------------
I'm not sure what is causing your problem, but is it possible you have set a CLASSPATH environment variable incorrectly? With JDK 1.3, you don't need CLASSPATH to run stuff in your working directory. To see if you have set CLASSPATH, try "set CLASSPATH". If it reports a value for CLASSPATH, try "set CLASSPATH=", then try to run your program. I've not used Win2000P, but I use WinNT4, its predecessor. In NT, you usually set environment variables for future use, like PATH, using Start - Settings - Control Panel - System - Environment - User Variables for <username>, instead of using autoexec.bat. The new settings apply to any new Command Prompt windows you open. For all I know, it may be fine to use autoexec.bat, but I've not done it with NT.
i have jdk 1.2.1 on my win2000 machine... i set my path by going to "start", "run" and then typing "sysedit"... the autoexec.bat file comes up and i added "C:\jdk..." to my PATH: PATH C:\WINDOWS;C:\WINDOWS\COMMAND;C:\JDK1.2.1\BIN i do not have CLASSPATH set, and everything works fine as long as i compile/run with the .java/.class files in the working directory. i have not tried 1.3 yet
[This message has been edited by Greg Harris (edited April 28, 2001).]
Hi Azam, I have intermittant problems like this. When I compile or run something, I occasionally have to use specify 'this' directory. So, for example, I save File.java in some directory, then to compile from this directory, I type: javac -classpath . File.java And to run File.java: javac -classpath . File.java Susan
[This message has been edited by Susan Delph (edited April 28, 2001).]
posted 18 years ago
Dear John, Greg & Susan i am ver thankful to you people. specially Miss Susan who had made my life easier with jdk 1.3 ThanX a lot buddiez Azam Bukhari firstname.lastname@example.org email@example.com
Don't wanna invent the wheel again!!
I want my playground back. Here, I'll give you this tiny ad for it: