I work on Win2000 Professional. I cud complie a simple java prg i wrote but was unable to run it.When i tried the same thing on Win98 it works!!! What cud b the probable reasons?? I have set the path to the bin directory.Do i need to set the classpath??
Hi er uh Java Learner, First of all, this is the wrong forum for this question. Second, if you want an answer to this and as many java questions as you can dream up, you need to change your display name to a first and last name as is the JavaRanch policy. Try changing your first and last names and then posting this on the Java in General (Beginners) forum. Michael Morris
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Joined: Aug 19, 2002
sorry for posting at the wrong place ... well now that i have changed my profile i do hope to get an answer
Hi Preety, Thanks for changing you Name to meet our Naming Policy. I am going to move this question to the correct forum (Java Beginner Forum) so that you can get an answer. In Windows 2000 there are environment variables like path to BIN, and also the "." so that it runs in the same directory as your compiled code. Mark