Jose Linux Install

willb
2007-01-24
2013-04-24
  • willb
    willb
    2007-01-24

    I'm trying to install Jose on my Ubuntu (6.10) installation. java -version reports:

    java version "1.4.2"
    gij (GNU libgcj) version 4.1.2 20060928 (prerelease) (Ubuntu 4.1.1-14ubuntu7)

    If I run java ~/jose/jose.jar from the command line, I get:

    Exception in thread "main" java.lang.NoClassDefFoundError: .home.willbur.jose.jose.jar
       at gnu.java.lang.MainThread.run(libgcj.so.70)
    Caused by: java.lang.ClassNotFoundException: .home.willbur.jose.jose.jar not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
       at java.net.URLClassLoader.findClass(libgcj.so.70)
       at gnu.gcj.runtime.SystemClassLoader.findClass(libgcj.so.70)
       at java.lang.ClassLoader.loadClass(libgcj.so.70)
       at java.lang.ClassLoader.loadClass(libgcj.so.70)
       at gnu.java.lang.MainThread.run(libgcj.so.70)

    If I run java -jar jose.jar I get:

    Failed to load Main-Class manifest attribute from jose.jar

    I'm clearly a Linux newbie in need of some help!

     
    • Marc M.
      Marc M.
      2007-01-25

      Hi,

      Maybe this helps: just try "java -cp . -jar jose.jar". 

       
    • willb
      willb
      2007-01-26

      Thanks, Marc1000 - I'll give it a try. I'm using Ubuntu's open source Java app at the moment, and that may be the problem. I'll install the pukka Sun Java package if your suggestion doesn't work.

      Many thanks, once again. I was a big user of Jose under Windows - it'll be good to get it working again now I've moved over to Linux :-)

       
    • Marc M.
      Marc M.
      2007-01-27

      Well, I'm not so sure about my tip above.

      Maybe you should also try executing "jose.sh".

       
    • maystorm
      maystorm
      2007-01-27

      @willburke:

      Have you tried these two commands?

      ~ $ cd ~/jose
      ~/jose $ java -jar jose.jar

      As far as I understand José has to be called from inside the directory it was installed to.

       
    • willb
      willb
      2007-01-29

      Many thanks, everyone - I understand that Ubuntu is installed by default with an open source version of Java. I installed the real thing from Sun and now I'm up and running :-) Thanks again....

       
    • peteS
      peteS
      2007-02-19

      SUN is making the Java source available so hopefully these types of problems will be a thing of the past. :-)