keep getting "not a statement" when I try to compile for Java
<p>I'm taking a Pre-AP Comp Sci class and figured I join the club and when doing some practice problems online, I stumbled on this question:</p>

<blockquote>
  <p>Write a program that will print out every number within the range 500 to 1000 that is divisible by 7.  You will need to use mod (<code>%</code>) for this problem."</p>
</blockquote>

<p>I was able to get all other similar problems solved with little or no issue but this one I can't seem to get. I'm thinking the issue would would be in my for loop at the <code>x % 7</code> part. 
Here's what I've gotten as far as code:</p>

<pre><code>class javaRunner {
    public static void main(String[] args) {
        for(int x = 500; x &lt;= 1000; x % 7) {
            System.out.println(x);
        }
    }
}
</code></pre>

<p>`</p>
