This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Hello, this is my first post. I am happy to have found this place because Java is such a complex topic (at least for beginners) and it's nice to have someone friendly to go to when things don't work.
My question is very basic. I just want to understand why the CLASSPATH variable is needed, if at all. I've noticed that some JDK installation tutorials include the setting of this variable and others don't. Why is this? Should this variable be set up automatically when executing the installation program?
Also, I am running Windows Vista and see two Path variables in the environment variables dialog window. One under System and the other under User. What is the difference here? Should the env variables that Windows OS uses be put in the System Path variable and all the others on the User one?