The PATH was set to C:\users\joshuafinch\Java\jdk1.7.0_03\bin.Correct.
The CLASSPATH was set to C:\users\myusername\Java\jdk1.7.0_03\lib.Incorrect. Don't set it at all, or at least remove this incorrect value.
EJP wrote:Thanks for the reply. I updated the paths ...Still incorrect. "Don't set it at all, or at least remove this incorrect value".
CLASSPATH to C:\users\joshuafinch\Java\jdk1.7.0_03\lib.
And what broken document told you to do that? Remove the entire variable and try again.Its too bad that both our posts are not being read :/
915592 wrote:You wouldn't have had this problem if you had spent half a minute and created a folder of your own to store your Java stuff in. (If you can't figure out what to call it, let me suggest "C:\JavaStuff".) Windows doesn't want you to store your personal data under the "Program Files" directory, that's why it will only let administrators do that. So don't do that.
I was using Notepad. To get notepad to work right when you save files, you have to right click notepad and run as
administrator. Also, you may have to go to Control Panel\User Accounts and Family Safety\User Accounts\Change User Account Control Settings, it's also under start menu at the top (click icon above the top of the user account name)Once you're here you need to turn off the control settings in order to get rid of (Access Denied errors).
This issue isn't with the CLASSPATH, it's with the installation.Correct.
I originally downloaded the installation that only has Java7u3 in it, "jdk-7u3-windows-i586.exe". This was the cause of the issue.No it wasn't. The JDK contains javac.exe and tools.jar. The issue seems to have been with an incomplete installation of that.
What I discovered is that if you download the Java SE 7u3 & Netbeans bundle, "jdk-7u3-nb-7_1_1-windows-ml.exe", that installation has all of the correct files in it.Sure it does, but so does the JDK download. You don't need to install Netbeans just to get the entire Java compiler.
you should completely uninstall whatever old version of Java you have to ensure a clean install.That shouldn't be necessary. I have about five separate versions of the 1.6 JDK and JRE installed and I am able to use them all as Netbeans platforms, so they can certainly coexist.