I can build my application cleanly on windows and Mac OS X but on windows when i try to run the application i get a class not found exception about my main class
main$4 not found.
class is there and it build cleanly. why can't it locate the class file? Jar works in OS X.
Jar is created like the following.
  <target name="jar" depends="">
  <jar destfile="build/application.jar" > 
    <manifest>
      <attribute name="Built-By" value="Hamza"/>
      <attribute name="Main-Class" value="application"/>
    </manifest>
    <fileset dir="build">
      <include name="**/*.class"/>
  <include name="**/*.png"/> 
      <exclude name="**/*.jar"/>
    </fileset>
  </jar>
</target>
i can run it without any errors on OS X but in Windows i get class not found exceptions.