Error when i create the exe

java.lang.ClassNotFoundException: MainForm1
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)




i build the java application using netbeans.Desktop application.Now i want to build the installer, before that i create the exe file using exe4j.But i got the errror, i dont know how to solve coz when i run the application at neatbeans,its work.But when i create the exe file....its failed

i got all the error above, how frenz help me to solve this problem

TQ

1 comment
Comment actions Permalink

Hello ila,

Please post your question to a more appropriate forum. It has nothing to
do with IntelliJ.

java.lang.ClassNotFoundException: MainForm1
at java.net.URLClassLoader$1.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
at java.lang.ClassLoader.loadClass(Unknown Source)
at com.exe4j.runtime.LauncherEngine.launch(Unknown Source)
at com.exe4j.runtime.WinLauncher.main(Unknown Source)
i build the java application using netbeans.Desktop application.Now i
want to build the installer, before that i create the exe file using
exe4j.But i got the errror, i dont know how to solve coz when i run
the application at neatbeans,its work.But when i create the exe
file....its failed

i got all the error above, how frenz help me to solve this problem

TQ

--
Dmitry Jemerov
Development Lead
JetBrains, Inc.
http://www.jetbrains.com/
"Develop with Pleasure!"


0

Please sign in to leave a comment.