Search code examples
java-mejarnokiamidp-2.0jad

JAD file must reference the JAR file


While trying to publish a java app to the ovi nokia store there's an error - "JAD file must reference the JAR file". What can cause this problem if removing jar file and recompiling project doesn't help?


Solution

  • Per my reading of documentation in Sun/Oracle tutorial error message like you received might indicate that something wrong is going on with your jad attribute MIDlet-Jar-URL:

    ...The JAR file will be installed from the location MIDlet-Jar-URL. The size of the download must agree with the MIDlet-Jar-Size value...