[Mrpostman-developers] Installing .jar file for Ubuntu Linux
Brought to you by:
chris_humphreys,
mrbook
|
From: Michael H. <iti...@ho...> - 2006-02-26 22:23:21
|
I've been trying to get MrPostman running on Ubuntu 5.10 for a few weeks.
My understanding is that JAVA is a cross-platform language and this
shouldn't be as difficult as it is proving to be.
There seems to be some question as to whether or not the version of JAVA
installed is the same one that MrPostman is written in, and I have a hunch
that this may be the problem. Ubuntu comes with a GNU-licensed version,
while I think MrPostman might be written for SunJava. For the good of this
project I hope that I'm wrong - It would be sad to learn that this super
project is written in proprietary code!
Can anyone confirm whether this is a valid version of JAVA to run MrPostman?
Thanks,
Mike
$ java -version
java version "1.4.2"
gij (GNU libgcj) version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
$ java -jar MrPostman-20060106.jar
Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit:
gnu.java.awt.peer.gtk.GtkToolkit
at ._ZN4java4lang11VMThrowable16fillInStackTraceEPNS0_9ThrowableE
(/usr/lib/libgcj.so.6.0.0)
[...]
at .__libc_start_main (/lib/tls/i686/cmov/libc-2.3.5.so)
Caused by: java.lang.ClassNotFoundException:
gnu.java.awt.peer.gtk.GtkToolkit not found in
gnu.gcj.runtime.SystemClassLoader{urls=[file:MrPostman-20060106.jar,file:./],
parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at ._ZN4java4lang11VMThrowable16fillInStackTraceEPNS0_9ThrowableE
(/usr/lib/libgcj.so.6.0.0)
[...]
at ._ZN4java4lang5Class7forNameEPNS0_6StringE (/usr/lib/libgcj.so.6.0.0)
...15 more
|