More specifically, the CLASSPATH can be reached by: String classpath = System.getProperty("java.class.path");

W. PS: This is a recurrent question...

rakesh nagar

Greenhorn

Posts: 17

posted 15 years ago

Thanks for your replies...i am aware of the System.get/setProperty. The changes done by System.setProperty are only visible to the current JVM. I want to permanently changes the Windows environment variables. If possible ? How this functionality can be achieved ? Thanks in advance Regards Rakesh Nagar