Results 1 to 4 of 4

Thread: [SOLVED] Java error on mmorpg

  1. #1
    Join Date
    May 2008
    Beans
    1,029

    [SOLVED] Java error on mmorpg

    I'm getting the following error when trying to start the Wyvern client:
    :/games/wyvern$ java client.jar
    Exception in thread "main" java.lang.NoClassDefFoundError: client/jar
    Caused by: java.lang.ClassNotFoundException: client.jar
    at java.net.URLClassLoader$1.run(URLClassLoader.java: 200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.j ava:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:3 06)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launche r.java:276)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:2 51)
    at java.lang.ClassLoader.loadClassInternal(ClassLoade r.java:319)
    Any ideas on why I can't get the game to start?

  2. #2
    Join Date
    Apr 2008
    Location
    Germany - Berlin
    Beans
    340

    Re: Java error on mmorpg

    Try 'java -jar client.jar'

  3. #3
    Join Date
    May 2008
    Beans
    1,029

    Re: Java error on mmorpg

    Quote Originally Posted by Gunman1982 View Post
    Try 'java -jar client.jar'
    I get this error:
    Quote Originally Posted by My Terminal
    :/games/wyvern$ java -jar client.jar
    Failed to load Main-Class manifest attribute from
    client.jar

  4. #4
    Join Date
    May 2008
    Beans
    1,029

    Re: Java error on mmorpg

    This seems kind of strange to me, but I fixed this by making a launcher for the file called "wyvernclient" in the directory. What's odd is that it doesn't function if I just try to launch the .py file with python.

Tags for this Thread

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
  •