Results 1 to 3 of 3
  1. #1
    kop
    kop is offline Member
    Join Date
    Apr 2012
    Posts
    2
    Rep Power
    0

    Default Problem with jar

    Hello

    I tried to run a jar file from cmd but it said me this:
    Exception in thread "main" java.lang.NoClassDefFoundError: Ψjar
    Caused by: java.lang.ClassNotFoundException: Ψjar
    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)
    Could not find the main class: έΑΥjar. Program will exit.

    What could I do?

  2. #2
    kop
    kop is offline Member
    Join Date
    Apr 2012
    Posts
    2
    Rep Power
    0

    Default Re: Problem with jar

    Sorry that's the message
    Exception in thread "main" java.lang.reflect.InvocationTargetException
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Nativ e Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(Unknow n Source)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(Un known Source)
    at java.lang.reflect.Method.invoke(Unknown Source)
    at org.eclipse.jdt.internal.jarinjarloader.JarRsrcLoa der.main(JarRsrcLoa
    der.java:58)
    Caused by: java.lang.NullPointerException
    at java.util.Arrays.sort(Unknown Source)
    at bingtranslator.Translator.main(Translator.java:32)
    ... 5 more

  3. #3
    Norm's Avatar
    Norm is offline Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,306
    Rep Power
    25

    Default Re: Problem with jar

    Caused by: java.lang.NullPointerException
    at java.util.Arrays.sort(Unknown Source)
    at bingtranslator.Translator.main(Translator.java:32)
    Is there a variable with a null value at line 32?
    If you don't understand my response, don't ignore it, ask a question.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •