Home arrow static arrow Java Programming [Archive] - Run Swing program on remote sun solaris machine from windows workstation
Warning: Creating default object from empty value in /www/htdocs/w008deb8/wiki/components/com_staticxt/staticxt.php on line 51
Java Programming [Archive] - Run Swing program on remote sun solaris machine from windows workstation
This topic has 3 replies on 1 page.

Posts:4
Registered: 6/15/04
Run Swing program on remote sun solaris machine from windows workstation  
Aug 3, 2004 8:52 AM



 
Hi ,

I have a remote Sun Solaris unix machine and a windows workstation.I have developed some swing application and placed it on remote unix machine. Now I want to run that application on unix machine from my windows workstation and want to see the GUI on my windows workstation.

Please someone help me to sort out the problem,and give me some idea to solve the problem.
 

Posts:13,250
Registered: 24/10/97
Re: Run Swing program on remote sun solaris machine from windows workstation  
Aug 3, 2004 11:57 AM (reply 1 of 3)



 
If you run an XWindows server on your PC then you can login to a unix box (using telnet say), set the DISPLAY environment variable to point to your windows machine and then execute your Java program.

Typically you will set the DISPLAY variable as
export DISPLAY =your machine name:0
but this does depend on the shell you are using.

Cygwin has everythign you need in that it contains has an appropriate XWindows server (XFree86) and a telnet client. Cygwin is free but you there are many XWindows servers out there. Do a 'google' search to find them.
 

Posts:13,250
Registered: 24/10/97
Re: Run Swing program on remote sun solaris machine from windows workstation  
Aug 3, 2004 11:58 AM (reply 2 of 3)



 
Multiple post! http://forum.java.sun.com/thread.jsp?thread=543592&forum=57&message=2639085
 

Posts:14,142
Registered: 99-04-02
Re: Run Swing program on remote sun solaris machine from windows workstatio  
Aug 3, 2004 1:38 PM (reply 3 of 3)



 
or get Xmanager or Xceed (sp?) or some other similar app that let's you connect to the Solaris (or other Unix) system.
 
This topic has 3 replies on 1 page.