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 June 7th, 2005
Novicius
 
Join Date: June 7th, 2005
Posts: 2
jeevanullas is flying high
Default Phex 2.4.2.88

Hello Reader,

I have downloaded the Phex 2.4.2.88 for Linux.
I am having Fedora Core 3 kernel
2.6.9.1-667.
Java version
1.4.2
with JDK and JRE both installed.
I issue this command n get the following error:
command -> java -jar phex.jar
Error ->
Warning: -jar not understood. Ignoring.
Exception in thread "main" java.lang.NoClassDefFoundError: phex.jar
at gnu.gcj.runtime.FirstThread.run() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ThreadRun(java.lang.Thread) (/usr/lib/libgcj.so.5.0.0)
at _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/usr/lib/libgcj.so.5.0.0)
at __gcj_personality_v0 (/opt/phex_2.4.2.86/java.home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre)
at __libc_start_main (/lib/tls/libc-2.3.3.so)
at _Jv_RegisterClasses (/opt/phex_2.4.2.86/java.home=/usr/lib/jvm/java-1.4.2-gcj-1.4.2.0/jre)

Plz Help
Thanks in advance
BYe
Be Open By Source
Reply With Quote
  #2 (permalink)  
Old June 7th, 2005
Phex Developer
 
Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Are you sure you are using the correct java version? It looks like the option -jar is not known to your java version.
Have you tried:
java -version
or
which java

You can also try this:

java -cp <list all *.jar files> phex.Main

For reference see:
http://java.sun.com/j2se/1.4.2/docs/...inux/java.html
http://java.sun.com/j2se/1.4.2/docs/...classpath.html
__________________
Reply With Quote
  #3 (permalink)  
Old June 7th, 2005
Novicius
 
Join Date: June 7th, 2005
Posts: 2
jeevanullas is flying high
Default

HI,

THe problem with my system is that, it is reconizing the default GNU Java bytecode compiler that is the "gij".
It is not detecting java
then i gave the following command
gij -jar phex.jar
i got the following messages n phex doesn't loaded
java.lang.NoClassDefFoundError: while resolving class: phex.download.swarming.SwarmingManager
at java.lang.VMClassLoader.resolveClass(java.lang.Cla ss) (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.forName(java.lang.String) (/usr/lib/libgcj.so.5.0.0)
at phex.common.Environment.class$(java.lang.String) (Unknown Source)
at phex.common.Environment.<clinit>() (Unknown Source)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ResolvePoolEntry(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
at phex.common.ServiceManager.<clinit>() (Unknown Source)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ResolvePoolEntry(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
at phex.utils.Logger.<clinit>() (Unknown Source)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ResolvePoolEntry(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
at phex.utils.Localizer.buildResourceBundle(java.util .Locale) (Unknown Source)
at phex.utils.Localizer.setUsedLocale(java.util.Local e) (Unknown Source)
at phex.utils.Localizer.initialize() (Unknown Source)
at phex.Main.main(java.lang.String[]) (Unknown Source)
Caused by: java.lang.ClassNotFoundException: javax.xml.bind.JAXBException not found in [filehex.jar, core:/]
at java.net.URLClassLoader.findClass(java.lang.String ) (/usr/lib/libgcj.so.5.0.0)
at gnu.gcj.runtime.VMClassLoader.findClass(java.lang. String) (/usr/lib/libgcj.so.5.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0)
at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
at _Jv_PrepareCompiledClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
at java.lang.VMClassLoader.linkClass0(java.lang.Class ) (/usr/lib/libgcj.so.5.0.0)
at java.lang.VMClassLoader.resolveClass(java.lang.Cla ss) (/usr/lib/libgcj.so.5.0.0)
...17 more
Exception in thread "main" java.lang.NoClassDefFoundError: while resolving class: phex.utils.NLogger
at java.lang.VMClassLoader.resolveClass(java.lang.Cla ss) (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.initializeClass() (/usr/lib/libgcj.so.5.0.0)
at _Jv_ResolvePoolEntry(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
at phex.Main.main(java.lang.String[]) (Unknown Source)
Caused by: java.lang.ClassNotFoundException: org.apache.commons.logging.LogFactory not found in [filehex.jar, core:/]
at java.net.URLClassLoader.findClass(java.lang.String ) (/usr/lib/libgcj.so.5.0.0)
at gnu.gcj.runtime.VMClassLoader.findClass(java.lang. String) (/usr/lib/libgcj.so.5.0.0)
at java.lang.ClassLoader.loadClass(java.lang.String, boolean) (/usr/lib/libgcj.so.5.0.0)
at _Jv_FindClass(_Jv_Utf8Const, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
at java.lang.Class.forName(java.lang.String, boolean, java.lang.ClassLoader) (/usr/lib/libgcj.so.5.0.0)
at _Jv_BytecodeVerifier.verify_instructions_0() (/usr/lib/libgcj.so.5.0.0)
at _Jv_VerifyMethod(_Jv_InterpMethod) (/usr/lib/libgcj.so.5.0.0)
at _Jv_PrepareClass(java.lang.Class) (/usr/lib/libgcj.so.5.0.0)
at _Jv_WaitForState(java.lang.Class, int) (/usr/lib/libgcj.so.5.0.0)
at java.lang.VMClassLoader.linkClass0(java.lang.Class ) (/usr/lib/libgcj.so.5.0.0)
at java.lang.VMClassLoader.resolveClass(java.lang.Cla ss) (/usr/lib/libgcj.so.5.0.0)
...3 more

THanks
Plz help
Bye
Be Open By SOurce
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
[BUG] Phex 2.6.4.89 - phex upload stuck with "initializing" uploads pawelsz General Discussion 1 January 31st, 2006 02:34 PM
No downloads from phex to phex Only A Hobo General Discussion 3 October 21st, 2005 02:20 AM
New to Phex ukbobboy01 General Discussion 4 October 14th, 2005 02:30 AM
[BUG] Phex 2.6.4.89 - phex window graphic corruption pawelsz General Discussion 4 September 18th, 2005 06:38 PM
Decentralized Host-Cache - Only PHEX has one - So Promote PHEX Unregistered General Discussion 0 January 31st, 2002 05:29 AM


All times are GMT -7. The time now is 11:04 AM.


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

Copyright © 2020 Gnutella Forums.
All Rights Reserved.