2 Replies Latest reply: Jan 7, 2013 4:36 PM by 893630 RSS

    problem running self contained application exe file

      I have a javafx 2.2 application which runs well as standalone through Netbeans 7.2.
      After that I created the self contained application. However while running the exe file it displays "Execption While running Application". I am not sure where the things havee gone wrong as I can see no other message(s) to debug.
      How can I debug it ?

      The steps I followed are as follows:
      1. intalling inno5 setup for exe.
      2. enabling "Request unrestricted access" in project properties - deployment for signed jars. I have almost 30 jar files (some required , some supporting the main jars)
      3. Editing build.xml . I added the following script.
      <target name="-post-jfx-deploy">
             <fx:deploy width="${javafx.run.width}" height="${javafx.run.height}"
                <fx:application name="${application.title}"
                    <fx:fileset dir="${basedir}/${dist.dir}" includes="*.jar"/>
                <fx:info title="${application.title}"
      I also observed that the double clicking of the application jar file inside app folder has no effect.
      For testing purpose , I have created a dummy application without any jar files and then created and run the .exe file, which works fine. However, when I come to real application with numerous jar files, running the .exe file shows the above mentioned message.
      Please advice.

      Edited by: 890627 on Jan 3, 2013 2:36 PM