Subscribe

Problem arise while i am run my exe command

  1. 2011-06-17 07:40:36 PDT
    Hi team, i have a javacode, i wish to make an exe by the help of Launch4j, while i'm create the code using tool. After creating the code click build button it displays, Compiling resources Linking Successfully created C:\Users\FSSD\Desktop\MyProject\install\MyProject.exe After i click Run button it shows an err in Main class. Executing: C:\Users\FSSD\Desktop\MyProject\install\MyProject.exe java.lang.NoClassDefFoundError: JavaSamp (wrong name: com/demo/test/JavaSamp) at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(Unknown Source) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$000(Unknown Source) 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) Exception in thread "main" why this error will arise..if it possible to recover it..Thanks in advance
Jump To:
< Previous | 1 | Next >

Add a Reply

This forum does not allow anonymous participation.

Log in to add a reply. Not registered? Create an account to participate and receive email updates when replies are posted to this topic.