Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Won't Start on Ubuntu (Jaunty) 64 Bit

Help
...
2009-10-10
2012-09-17
  • ...
    ...
    2009-10-10

    I'm trying to run jpwsafe on my desktop machine, running under jaunty 64 Bit.

    I'd like to point out first that I'm a bit confused by the package contents of
    the linux package - there's no README, just one shell file and one jar file in
    the root directory.

    Starting the shell file on the command line causes no output and just some
    high CPU usage for about 1 second.

    Starting the jar file via

    java -jar PasswordSafeSWT.jar

    on the command line results in the following output:

    Exception in thread "main" java.lang.NoClassDefFoundError:
    org/eclipse/jface/window/ApplicationWindow

    at java.lang.ClassLoader.defineClass1(Native Method)

    at java.lang.ClassLoader.defineClass(ClassLoader.java:621)

    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)

    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)

    at java.net.URLClassLoader.access$000(URLClassLoader.java:56)

    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)

    at java.security.AccessController.doPrivileged(Native Method)

    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)

    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)

    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)

    Caused by: java.lang.ClassNotFoundException:
    org.eclipse.jface.window.ApplicationWindow

    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)

    at java.security.AccessController.doPrivileged(Native Method)

    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:307)

    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)

    at java.lang.ClassLoader.loadClass(ClassLoader.java:252)

    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:320)

    ... 12 more

    Could not find the main class: org.pwsafe.passwordsafeswt.PasswordSafeJFace.
    Program will exit.

    I'm using the Sun JRE, I've tried both the 64bit and the 32 bit version (via
    setting JAVA_HOME/PATH).

    I would really appreciate any help on this!

     
  • ...
    ...
    2009-10-10

    Ahem, so sorry to have bothered you with this... don't know why I jumped to
    conclusions so quickly here - I finally found the 64 bit version, now it runs
    without problems!

    Maybe because the automatic download selection feature automatically suggested
    the 32-bit-version ;-)

     
  • David
    David
    2009-10-14

    Hi Bernhard,

    happy to have some problems solve themselves so easily... ;-)

    Afaik there is only one file that can be marked as default for a platform, but
    maybe we can add more hints to avoid this in the future...

    Have Fun with Java Passwordsafe

     
  • David
    David
    2009-11-12

    I added an "-x86" to the download file name and a 32bit tag, hope this will
    prevent misunderstandings.