Gnutella Forums  

Go Back   Gnutella Forums > Current Gnutella Client Forums > Phex (Cross-platform) > General Discussion
Register FAQ The Twelve Commandments Members List Calendar Arcade Find the Best VPN Today's Posts

General Discussion For anything which doesn't fit somewhere else (for PHEX users)


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old November 16th, 2005
Novicius
 
Join Date: November 16th, 2005
Posts: 2
biloria is flying high
Default cannot start phex - java errors

I used to be able to use phex, but now I just get a bunch of errors when I try to start it.

I am using phex_2.8.0.91 running on kubuntu linux 5.10, using the following java:


$ java -version
java version "1.4.2"
gij (GNU libgcj) version 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu9)


The error messages when I try to start phex are as follows:


$phex
java.awt.AWTError: Cannot load AWT toolkit: gnu.java.awt.peer.gtk.GtkToolkit
at java.awt.Toolkit.getDefaultToolkit() (/usr/lib/libgcj.so.6.0.0)
at java.awt.GraphicsEnvironment.getLocalGraphicsEnvir onment() (/usr/lib/libgcj.so.6.0.0)
at java.awt.Window.Window(java.awt.Window, java.awt.GraphicsConfiguration) (/usr/lib/libgcj.so.6.0.0)
at java.awt.Window.Window(java.awt.Frame) (/usr/lib/libgcj.so.6.0.0)
at javax.swing.JWindow.JWindow() (/usr/lib/libgcj.so.6.0.0)
at phex.gui.common.SplashWindow.SplashWindow() (Unknown Source)
at phex.Main.main(java.lang.String[]) (Unknown Source)
at gnu.java.lang.MainThread.call_main() (/usr/lib/libgcj.so.6.0.0)
at gnu.java.lang.MainThread.run() (/usr/lib/libgcj.so.6.0.0)
Caused by: java.lang.ClassNotFoundException: gnu.java.awt.peer.gtk.GtkToolkit not found in gnu.gcj.runtime.SystemClassLoader{urls=[file:/home/me/phex_2.8.0.91/phex.jar,file:./], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], parent=null}}
at java.net.URLClassLoader.findClass(java.lang.String ) (/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.6.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.6.0.0)
at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.6.0.0)
at java.awt.Toolkit.getDefaultToolkit() (/usr/lib/libgcj.so.6.0.0)
...8 more
$



Can someone tell me what I am doing wrong?
Reply With Quote
  #2 (permalink)  
Old November 16th, 2005
et voilà's Avatar
+Modérateur à ses heures+
 
Join Date: July 26th, 2002
Location: Le Québec
Posts: 2,904
et voilà is a great assister to others; your light through the dark tunnel
Default

You are not using Sun Java. As other java intensive apps, alternatives to Sun java are not up to the skill.... yet.

Ciao
Reply With Quote
  #3 (permalink)  
Old November 16th, 2005
Novicius
 
Join Date: November 16th, 2005
Posts: 2
biloria is flying high
Default Thank you

thank you, et voilà... I got the sun java & it works. Its too bad phex won't work with my GNU java anymore, since that was more convenient... but that's the way it goes sometimes, I suppose.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Get a lot of errors in Phex Comrade Fidel General Discussion 3 September 8th, 2005 07:38 AM
Internal and Fatal errors at start up shaelesand Windows 1 May 20th, 2005 11:20 AM
Java Errors Amy Download/Upload Problems 5 November 23rd, 2002 12:00 PM
I couldn't even get to it start i got a bunch of errors rabb2 SwapNut Open Discussion 2 October 9th, 2001 11:24 PM
OSX installer java errors rbleib General Mac OSX Support 1 June 14th, 2001 10:36 PM


All times are GMT -7. The time now is 05:54 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.