This is the mail archive of the cygwin-xfree mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: XWindows version of Java?


On Thu, 27 Jul 2006, René Berber wrote:

> Igor Peshansky wrote:
> > On Wed, 26 Jul 2006, siegfried wrote:
> >
> >> I notice the cygwin version of emacs runs in XWindows and is one of
> >> the few XWindows programs I run frequently on windows.
> >>
> >> I assume (I have not tried it yet) I can run the cygwin version of
> >> emacs on my home windows machine from a remote machine with the xhost
> >> and "ssh -X" commands. Is this correct?
> >
> > If it's X-capable, which I believe the Cygwin emacs executable isn't.
> > And the Cygwin xemacs package uses Win32 instead of X.
>
> Wrong, the xemacs shipped as Cygwin package can use both.
>
> And the answer to the OP is yes.

Fair enough.  I'm not an emacs user, no wonder I missed that.

> >> Sun's javaw runs native windows, not xwindows. Is there a way I can run
> >> GUI java programs on windows using xwindows so they are compatible with
> >> xhost and "ssh -X"?
> >
> > Only via remote desktop (Google for rdesktop).
>
> Uh?  Of course any Xwindows application can display on Cygwin's X
> server, java applications are just that, except many have an ugly
> default setting on window size and position (they use size 0x0 for
> instance) but that seems to be corrected in newer applications.

I believe you've misread the OP's question.  He's asking whether he can
run Java on *Windows* and display the resulting GUI on a remote machine
via "ssh -X".

> >> I've been reading about gcj and that might work but it looks like I'd
> >> have to recompile everything myself. I want to run eclipse on windows
> >> from a remote machine and I see in fedora core 4 they have recompiled
> >> eclipse with gcj. But I was hoping I would not have to recompile
> >> eclipse from the source.
> >
> > You may have to (or use rdesktop).
>
> Eclipse running in a remote Linux machine can be shown fine on a local X
> server. Yes, Eclipse is being compiled with gcj (version 4.1.x not
> available currently under Cygwin) but that has nothing to do with
> showing Eclipse running on Linux.

If the OP wants to run Eclipse on Windows and display it on Linux via X,
he'll have to rebuild using gcj.  However, it would most likely not
perform as well as the native Windows version does (which isn't much to
begin with).
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_	    pechtcha@cs.nyu.edu | igor@watson.ibm.com
ZZZzz /,`.-'`'    -.  ;-;;,_		Igor Peshansky, Ph.D. (name changed!)
     |,4-  ) )-,_. ,\ (  `'-'		old name: Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://x.cygwin.com/docs/
FAQ:                   http://x.cygwin.com/docs/faq/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]