how to execute a Java Program on windows created in linux through telnet

I am stuck up with my Java Problem.Well I have created my java application displaying frame ... but I can not access my linux GUI,so executing programs through telnet on windows and want to execute my linux GUI application on windows through telnet ...So what's hte
[299 byte] By [PratikParekha] at [2007-10-3 6:10:03]
# 1
One possibility - use ssh -X running an X server on your windows box.
sabre150a at 2007-7-15 0:53:26 > top of Java-index,Archived Forums,Socket Programming...
# 2

On Windows and Linux you do not need the GUI to execute code. The GUI is only a DIFFERENT way to access the SAME code. Remember DOS?

Anyway, telnet works in two ways, either Command Shell ot text-mode, or it can overlay the desktop - i.e. Remote Desktop Connection.

You'll need the appropriate telnet server on the remote machine. Both systems include text-mode telnet services.

Then connect your client, log in, and execute your command, or don't you know OS commands?

watertownjordana at 2007-7-15 0:53:26 > top of Java-index,Archived Forums,Socket Programming...
# 3
> On Windows and Linux you do not need the GUI to> execute code. But the OP says he has a GUI! Are you suggesting that he discards the GUI and rewrites the application so it does not use a GUI?
sabre150a at 2007-7-15 0:53:26 > top of Java-index,Archived Forums,Socket Programming...
# 4

In the Unix world the GUi is provided by something called the X server. It was conceived to be network-aware. The programs wanting to access the GUi rosurces (one of the potentially several logical/physical displays, keyboard, pointing device etc.) are clients to the X server, which handles those GUI resources.

So in order to run GUI-programs on a Unix (or VMS box), you need an X server on the machinje which handles the GUI devices. If it is a windows ox, you need then an X server for Windows. There are commercial ones and as if Red Hat were shipped with a free one.

BIJ001a at 2007-7-15 0:53:26 > top of Java-index,Archived Forums,Socket Programming...
# 5
> There are> commercial ones and as if Red Hat were shipped with a> free one.Installing cygwin gives one ssh and an X server.
sabre150a at 2007-7-15 0:53:26 > top of Java-index,Archived Forums,Socket Programming...
# 6
> But the OP says he has a GUI! Are you suggesting that> he discards the GUI and rewrites the application so> it does not use a GUI?I had misread the post. I though he believed he need access to the remote GUI in order to access code on the remote machine.
watertownjordana at 2007-7-15 0:53:26 > top of Java-index,Archived Forums,Socket Programming...