Gnutella Forums  

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

Help & Support Information on the useage and anything else of Phex
- Unless you are using or asking about PHEX, please do not post in this section
(Get ”Phex 3.4.2.163 universal" now)


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old November 23rd, 2007
Apprentice
 
Join Date: November 21st, 2007
Posts: 6
Cage is flying high
Question Gtk-WARNING **: cannot open dislplay: -> error

Hello,

CentOS5 on a remote datacenter server, with no GUI like gnome/kde.
I started it using the same command on Ubuntu Feisty:

Quote:
java -Xmx256m -Djava.awt.headless=true -jar /root/phex/phex.jar
And here's a little snippet.
Quote:
[root@blc ~]# java -Xmx256m -Djava.awt.headless=true -jar /root/phex/phex.jar

(.:3515): Gtk-WARNING **: cannot open display:

[root@blc ~]# java --v
gij: unrecognized option -- `--v'
Try `gij --help' for more information.

[root@blc ~]# gij --help
Usage: gij [OPTION] ... CLASS [ARGS] ...
to interpret Java bytecodes, or
gij -jar [OPTION] ... JARFILE [ARGS] ...
to execute a jar file

--cp LIST set class path
--classpath LIST set class path
-DVAR=VAL define property VAR with value VAL
-?, --help print this help, then exit
-X print help on supported -X options, then exit
--ms=NUMBER set initial heap size
--mx=NUMBER set maximum heap size
--verbose[:class] print information about class loading
--showversion print version number, then keep going
--version print version number, then exit

Options can be specified with `-' or `--'.

See GCJ: The GNU Compiler for Java - GNU Project - Free Software Foundation (FSF) for information on reporting bugs
[root@blc ~]#
Please help.
Thank you.
Reply With Quote
  #2 (permalink)  
Old November 24th, 2007
Phex Developer
 
Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

I don't think Phex will run on GCJ. GCJ is not fully supporting Java 1.5 yet, I think.
I recommend you try to use Sun Java.
__________________
Reply With Quote
  #3 (permalink)  
Old November 24th, 2007
Apprentice
 
Join Date: November 21st, 2007
Posts: 6
Cage is flying high
Default

Quote:
Originally Posted by GregorK View Post
I don't think Phex will run on GCJ. GCJ is not fully supporting Java 1.5 yet, I think.
I recommend you try to use Sun Java.
Hi, initially I had tried to do so, and didn't work.
So I resorted to yum install java.

If you could be so kind to help me remove all these 'offending' javas and show me how I can install sun java, I'd be very grateful.

Thank you.
Reply With Quote
  #4 (permalink)  
Old November 24th, 2007
Phex Developer
 
Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Try this:
man update-java-alternatives

or this:

How to install a specific version of Java on Ubuntu « The Wayward Word Press
__________________
Reply With Quote
  #5 (permalink)  
Old November 24th, 2007
Apprentice
 
Join Date: November 21st, 2007
Posts: 6
Cage is flying high
Default

Quote:
Originally Posted by GregorK View Post
Hi,

I'm on CentOS5.

Quote:
[root@blc ~]# man update-java-alternatives
No manual entry for update-java-alternatives
[root@blc ~]#
Reply With Quote
  #6 (permalink)  
Old November 25th, 2007
Phex Developer
 
Join Date: May 8th, 2001
Location: Stuttgart, Germany
Posts: 988
GregorK is flying high
Default

Thought I have read Ubuntu somewhere...
But why dont you try google?? It brings you a huge bunch of CentOS5 and Java related pages... like:
HowTos/JavaOnCentOS - CentOS Wiki
__________________
Reply With Quote
  #7 (permalink)  
Old November 25th, 2007
Apprentice
 
Join Date: November 21st, 2007
Posts: 6
Cage is flying high
Default

To be honest, I tried 'em all. I'm a googler more than a forumer, lol.
And nothing seems to be working.
Reply With Quote
  #8 (permalink)  
Old November 28th, 2007
arne_bab's Avatar
Draketo, small dragon.
 
Join Date: May 31st, 2002
Location: Heidelberg, Germany
Posts: 1,881
arne_bab is a great assister to others; your light through the dark tunnel
Default

Do you have an X-Server installed on the server?

Some Java classes still need the presence of an X-Server, even though they don't use it.
__________________

-> put this banner into your own signature! <-
--
Erst im Spiel lebt der Mensch.
Nur ludantaj homoj vivas.
GnuFU.net - Gnutella For Users
Draketo.de - Shortstories, Poems, Music and strange Ideas.
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


LinkBacks (?)
LinkBack to this Thread: https://www.gnutellaforums.com/help-support/78065-gtk-warning-cannot-open-dislplay-error.html
Posted By For Type Date
Untitled document This thread Refback May 9th, 2013 02:53 PM


All times are GMT -7. The time now is 08:22 PM.


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.