Hi, I have created swing program in net beans . and also i have created jar file using build button. jar file was created in the specific path. when i double click the jar file, it displays
" A java exception has occurred"
can you please tell me why it is occurred and how to resolve it
Hi Dey, after clicking the build project button, it displays the following
Deleting: C:\Documents and Settings\Admin\My Documents\NetBeansProjects\com.Loginform\build\built-jar.properties
Updating property file: C:\Documents and Settings\Admin\My Documents\NetBeansProjects\com.Loginform\build\built-jar.properties
Warning: login.form modified in the future.
Warning: login.java modified in the future.
Compiling 1 source file to C:\Documents and Settings\Admin\My Documents\NetBeansProjects\com.Loginform\build\classes
Note: C:\Documents and Settings\Admin\My Documents\NetBeansProjects\com.Loginform\src\login.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Warning: modified in the future.
Copying 1 file to C:\Documents and Settings\Admin\My Documents\NetBeansProjects\com.Loginform\build
Nothing to copy.
Building jar: C:\Documents and Settings\Admin\My Documents\NetBeansProjects\com.Loginform\dist\com.Loginform.jar
To run this application from the command line without Ant, try:
java -jar "C:\Documents and Settings\Admin\My Documents\NetBeansProjects\com.Loginform\dist\com.Loginform.jar"
BUILD SUCCESSFUL (total time: 0 seconds)
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com