Menu

Am very new to Linux (5 Days)

Help
2003-09-30
2003-09-30
  • Daniel J O\'Neill

    I would really like to have a look at Universe, I have downloaded all three Jar files, and have installed Java SE SDK - latest version
    I follow the instructions given in the text, but when I go to execute the file I get the following...
    -+<##############################################>+-
    $ java -jar Universe-0.15.jar
    Warning: -jar not understood. Ignoring.
    Exception in thread "main" java.lang.NoClassDefFoundError: Universe-0.15.jar
       at 0x40268e17: java.lang.Throwable.Throwable(java.lang.String) (/usr/lib/./libgcj.so.3)
       at 0x4025bc8e: java.lang.Error.Error(java.lang.String) (/usr/lib/./libgcj.so.3)
       at 0x4025d6b6: java.lang.LinkageError.LinkageError(java.lang.String) (/usr/lib/./libgcj.so.3)
       at 0x4025eb36: java.lang.NoClassDefFoundError.NoClassDefFoundError(java.lang.String) (/usr/lib/./libgcj.so.3)
       at 0x402ad075: gnu.gcj.runtime.FirstThread.run() (/usr/lib/./libgcj.so.3)
       at 0x4024fc4c: _Jv_ThreadRun(java.lang.Thread) (/usr/lib/./libgcj.so.3)
       at 0x4021c8ac: _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/./libgcj.so.3)
       at 0x08048910: ?? (??:0)
       at 0x42015574: __libc_start_main (/lib/tls/libc.so.6)
       at 0x080486c1: ?? (??:0)
    [acidsphinx@localhost Universe]$ java -jar Universe.jar
    Warning: -jar not understood. Ignoring.
    Exception in thread "main" java.lang.NoClassDefFoundError: Universe.jar
       at 0x40268e17: java.lang.Throwable.Throwable(java.lang.String) (/usr/lib/./libgcj.so.3)
       at 0x4025bc8e: java.lang.Error.Error(java.lang.String) (/usr/lib/./libgcj.so.3)
       at 0x4025d6b6: java.lang.LinkageError.LinkageError(java.lang.String) (/usr/lib/./libgcj.so.3)
       at 0x4025eb36: java.lang.NoClassDefFoundError.NoClassDefFoundError(java.lang.String) (/usr/lib/./libgcj.so.3)
       at 0x402ad075: gnu.gcj.runtime.FirstThread.run() (/usr/lib/./libgcj.so.3)
       at 0x4024fc4c: _Jv_ThreadRun(java.lang.Thread) (/usr/lib/./libgcj.so.3)
       at 0x4021c8ac: _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/./libgcj.so.3)
       at 0x08048910: ?? (??:0)
       at 0x42015574: __libc_start_main (/lib/tls/libc.so.6)
       at 0x080486c1: ?? (??:0)
    -+<##############################################>+-
    I have Red Hat 9.0 and have installed the entire package, as well I have installed the graphics drivers for my 3d accel card (Geforce 2 NVIDIA).
    Looking forward to seeing this game, I have both Masters Of Orion I II and III and Galactic Civilizations, perhaps I might even make a few suggestions towards your final product.
    I have lite knowledge of C++ and ASM, though I have only written a few programs of screen saver quality.
    AcidSphinx :D

     
    • Sean Starkey

      Sean Starkey - 2003-09-30

      That's a very strange message.  The -jar should work.  What does this display:

      java -version

      ?

       

Log in to post a comment.