4 Replies Latest reply on May 24, 2012 7:27 PM by 792123

    Jdeveloper 11g deployed jar not running - Windows 7

      After I deployed a simple form to a jar, the following message comes up when trying to run with command: java -jar  sw.jar

      Exception in thread "main" java.lang.NoClassDefFoundError: oracle/jbo/uicli/controls/JUNavigationBar
      Caused by: java.lang.ClassNotFoundException: oracle.jbo.uicli.controls.JUNavigationBar
      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:305)
      at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:246)
      Could not find the main class: asax.view.Form. Program will exit.

      Manifest.MF contains the following:
      Manifest-Version: 1.0
      Main-Class: asax.view.Form

      I have also added all libraries and veririfed they exist within the jar 's root.

      Within jdeveloper the application runs with no problem.

      I 'd appreciate any ideas any help on this..