Re: xdisplay java imagej
Posted by
Albert Cardona on
Feb 24, 2009; 7:14pm
URL: http://imagej.273.s1.nabble.com/xdisplay-java-imagej-tp3693580p3693581.html
Lucy W Upchurch wrote:
> Hi,
>
> We are trying to run imagej on a remote computer (mac Leopard OS) and
> display the images on a local computer (another mac) via ssh. I have set
> my environment variable to the local machine when I ssh to the remote
> machine. I can do an XClock or Xeyes on the remote machine and it displays
> on the local machine. However, if I run imageJ, my images are displayed on
> the remote computer, not my local machine. I can not change the shell to
> anything else as tcsh is required for other scripts/programs. Any ideas on
> how to get java to change the DISPLAY setting? Thanks.
>
Java in macosx does NOT use X11 window system.
But you can make it do so: use the openjdk 6 for bsd instead of the
internal macosx java.
To launch it, you'll need a script like:
$ cd /Applications/ImageJ/
$ /path/to/open-jdk6/bin/java -jar ij.jar
An alternative is to use a virtual desktop system, but I don't know of
any for macosx (I am sure there are some).
Albert
--
Albert Cardona
http://albert.rierol.net