Results 1 to 5 of 5

Thread: Help me to run .JAR

  1. #1
    Join Date
    May 2008
    Location
    Iran
    Beans
    6
    Distro
    Ubuntu 10.04 Lucid Lynx

    Help me to run .JAR

    Hey,

    I want to run a JAR package. I'm using Ubuntu 10.04 with OpenJDK Java 6 Runtime/Web Start installed.

    This is my JAR : http://dl.free.fr/pfvUO2S4U

    Thanks a lot.

  2. #2
    Join Date
    Sep 2009
    Location
    The Netherlands
    Beans
    Hidden!

    Re: Help me to run .JAR


  3. #3
    Join Date
    May 2008
    Location
    Iran
    Beans
    6
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Help me to run .JAR

    Quote Originally Posted by -Robert- View Post
    I tried it. When I enter "java -jar ....", It says "Properties?". Also I entered "java ..." and it says:
    Code:
    Exception in thread "main" java.lang.NoClassDefFoundError: APJP/jar
    Caused by: java.lang.ClassNotFoundException: APJP.jar
    	at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
    	at java.security.AccessController.doPrivileged(Native Method)
    	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
    	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
    	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
    	at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:334)
    Could not find the main class: APJP.jar. Program will exit.

  4. #4
    Join Date
    May 2008
    Location
    Iran
    Beans
    6
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Help me to run .JAR

    Bump!

  5. #5
    Join Date
    Oct 2009
    Location
    UK
    Beans
    919
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: Help me to run .JAR

    I think you're missing some files for this to run. There is a "PROPERTIES" file that needs configuring.

    Does this link help?...

    http://code.google.com/p/apjp/downloads/list
    Last edited by mechro; May 2nd, 2010 at 11:43 PM.

Bookmarks

Posting Permissions

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