JMF install on Linux: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.

  • Thread starter Robert Mark Bram
  • Start date
R

Robert Mark Bram

Howdy All!

I tried installing jmf-2_1_1e-linux-i586.bin on my RedHat 9 machine. A
screen dump of the output is below but the important failure is this:
Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit:
gnu.java.awt.peer.gtk.GtkToolkit

I understand from my google search so far that the gtk packages are not
complete.. my question is how do I tell JMF not to use "gcj" and use
"java" or "javac" instead?

Thanks for any advice!

Rob
:)





Do you agree to the above license terms? [yes or no]
yes
Permit recording from an applet? (see readme.html) [yes or no]
yes
Permit writing local files from an applet? (recommend no, see readme.html)
[yes or no]
no
Unpacking...
Extracting...
UnZipSFX 5.40 of 28 November 1998, by Info-ZIP ([email protected]).
creating: JMF-2.1.1e/
creating: JMF-2.1.1e/bin/
inflating: JMF-2.1.1e/bin/jmfinit
inflating: JMF-2.1.1e/bin/jmfregistry
inflating: JMF-2.1.1e/bin/jmstudio
creating: JMF-2.1.1e/doc/
inflating: JMF-2.1.1e/doc/attributions.html
inflating: JMF-2.1.1e/doc/formats.html
inflating: JMF-2.1.1e/doc/readme.html
creating: JMF-2.1.1e/lib/
inflating: JMF-2.1.1e/lib/libjmcvid.so
inflating: JMF-2.1.1e/lib/libjmdaud.so
inflating: JMF-2.1.1e/lib/libjmfjawt.so
inflating: JMF-2.1.1e/lib/libjmg723.so
inflating: JMF-2.1.1e/lib/libjmgsm.so
inflating: JMF-2.1.1e/lib/libjmh261.so
inflating: JMF-2.1.1e/lib/libjmh263enc.so
inflating: JMF-2.1.1e/lib/libjmjpeg.so
inflating: JMF-2.1.1e/lib/libjmmpa.so
inflating: JMF-2.1.1e/lib/libjmmpegv.so
inflating: JMF-2.1.1e/lib/libjmmpx.so
inflating: JMF-2.1.1e/lib/libjmutil.so
inflating: JMF-2.1.1e/lib/libjmv4l.so
inflating: JMF-2.1.1e/lib/libjmxlib.so
inflating: JMF-2.1.1e/lib/jmf.properties
inflating: JMF-2.1.1e/lib/jmf.jar
inflating: JMF-2.1.1e/lib/mediaplayer.jar
inflating: JMF-2.1.1e/lib/multiplayer.jar
returned
end
Exception in thread "main" java.awt.AWTError: Cannot load AWT toolkit:
gnu.java.awt.peer.gtk.GtkToolkit
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 0x40329582: java.awt.AWTError.AWTError(java.lang.String)
(/usr/lib/./libgcj.so.3)
at 0x40340c9d: java.awt.Toolkit.getDefaultToolkit()
(/usr/lib/./libgcj.so.3)
at 0x4034146e: java.awt.Window.getToolkit() (/usr/lib/./libgcj.so.3)
at 0x40332068: java.awt.Container.addImpl(java.awt.Component,
java.lang.Object, int) (/usr/lib/./libgcj.so.3)
at 0x40331ea6: java.awt.Container.add(java.lang.String,
java.awt.Component) (/usr/lib/./libgcj.so.3)
at 0x403831e7: ffi_call_SYSV (/usr/lib/./libgcj.so.3)
at 0x403831a7: ffi_raw_call (/usr/lib/./libgcj.so.3)
at 0x402306e8: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)
(/usr/lib/./libgcj.so.3)
at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
_Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw,
void) (/usr/lib/./libgcj.so.3)
at 0x4038305c: ?? (??:0)
at 0x403831e7: ffi_call_SYSV (/usr/lib/./libgcj.so.3)
at 0x403831a7: ffi_raw_call (/usr/lib/./libgcj.so.3)
at 0x402306e8: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)
(/usr/lib/./libgcj.so.3)
at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
_Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw,
void) (/usr/lib/./libgcj.so.3)
at 0x4038305c: ?? (??:0)
at 0x403831e7: ffi_call_SYSV (/usr/lib/./libgcj.so.3)
at 0x403831a7: ffi_raw_call (/usr/lib/./libgcj.so.3)
at 0x402306e8: _Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)
(/usr/lib/./libgcj.so.3)
at 0x40230ff4: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
_Jv_InterpMethodInvocation) (/usr/lib/./libgcj.so.3)
at 0x4022e504: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw,
void) (/usr/lib/./libgcj.so.3)
at 0x4038305c: ?? (??:0)
at 0x40242dd8: gnu.gcj.runtime.FirstThread.call_main()
(/usr/lib/./libgcj.so.3)
at 0x402ad02d: 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 0x42015704: __libc_start_main (/lib/tls/libc.so.6)
at 0x080486c1: ?? (??:0)
Done.
 
R

Robert Mark Bram

My work-around: uninstall gcc-java and jdkgcj rpm's. I might even
reinstall them some time...

Rob
:)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,982
Messages
2,570,186
Members
46,740
Latest member
JudsonFrie

Latest Threads

Top