title: Javac can't find .class files, have right classpath
body: <p>Although I'm not new to programming in general, I <strong>am</strong> new to java, and it seems to work a little bit differently. When trying to compile a .java with javac it gives me this error: <code>cannot find symbol</code>. I looked the cause of this up, and the error occurs when the .class file that you are referencing could not be found. I ensured that all of my references were spelled correctly, I ensured I had the right classpath, I tried compiling a .java file I know is valid, even on an XP computer just in case my Vista installation was the cause, but to no avail. Here are the contents of the .bat I am using to run javac, it could be the cause of my problems.</p>
  
  <pre><code>@echo off
  "C:\Program Files (x86)\Java\jdk1.6.0_21\bin\javac" -encoding UTF8 -cp .  hl.java
  pause
  </code></pre>
  
  <p>Thank you for the help, this has been troubling me for quite some time now.</p>