Has anyone installed Eclipse on AIX Unix?
I've downloaded the file "eclipse-SDK-3.4.1-aix-motif.zip". Tried tar comand and it did not work. Tried uncompress comand and it did not work either.
IF the installation on Unix is successfully how does the Eclipse GUI work on Unix?
Any suggestion/guidance is greatly appreciated.
Bases on your input I search around for commands to unzip the compressed file, I found the "unzip" command installed somewhere in the server (not /usr/bin path), and also found gunzip and gzip
For my case, the unzip command works. I was able to extract the files and got Eclipse installed.
However, when I invoke Eclipse (eclipse -vm /usr/java5/bin/java) from the dir installed got the error message "Error: Can't open display:"
I saw someone post a similar question on this site but no response. I'm googling and have not have much success. If someone has any clue please provide some comments.
That message means that the X/Window system can't find a window server on your desktop. How are you connected to the AIX server? If you're using ssh or telnet to connect from a Windows PC, then you don't have an X/Window server installed by default; you have to obtain and install one. This could be a commercial product like eXceed, or an open-source solution like the xfree port in the Cygwin suite.
Let me know exactly where I lost you in the above, and I will walk you through from that point
I've spent time a last couple days to look into different software for Xwindows. Exceed is a paid software so I stayed away from it and went on with CYGWIN.
I downloaded and installed CYGWIN on my window desktop. After reading the documentation "Cygwin User's Guide" I think that I'm lost ....
I'm NOT sure if I understand Cygwin software completely. It's a software installed on the window box that emulate the windows environment like UNIX. I started Cygwin and see it emulates my windows env like Unix. I did not see any connection to the AIX box so that I can invoke Eclipse installed on AIX earlier.
Am I missing some configuration/setup ???
My need is able to run Eclipse in AIX server to develop some java classes using Ant to invoke Unix shell scripts ...
The core of cygwin is a library that emulates UNIX on Windows. Along with that library, you can download many individual UNIX programs ported to Cygwin. One of those -- and I don't think it's one that's installed by default -- is an X/Windows server. I believe you have to ask for it specifically in the setup program.
Once you've installed the X/Windows server, you have to run it, generally manually. The Cygwin documentation does include some info about this.
Then, when the X/Windows server is running on your desktop, then you ssh to your AIX machine, set the DISPLAY environment variable in that terminal window to (your local machine):0, and then run Eclipse on the remote system; it should then finally appear on your desktop.
If your PC is on a NAT hub -- i.e., if it doesn't have its own network address reachable from the AIX machine -- then this won't work, and you need to either configure the NAT box to pass incoming connections on port 6000 to your PC, or you need to tunnel port 6000 back through the SSH connection (in which case the DISPLAY setting would be different.)
None of this stuff is terribly hard, but it all needs to be tailored somewhat to your environment, and so you might need to learn a little about each step -- or find a local expert.
I've got a little further in the trek but need your expertise to tell me what I'm doing wrong at the moment ...
I followed the comments and installed Cygwin-X on my pc that allowed me to start Xwin server. I started it then run this command manually to connect to the AIX.
"ssh -Y -l myuserid AXIservername" enter the Unix password and it's connected to the AIX.
In the AIX when enter "who am I" the host name indicate my full computer name inside the bracket some thing like this (xxx999xx.ca.ecamericas)
The next step is where things not working correctly ....
In the AIX, I enter
DISPLAY="(myuserid@fullcomputername):0.0"; export DISPLAY
-- no problem
Run eclipse by entering eclipse in the approriate dir still get the error message
Error: Can't open display: myuserid@computername:0.0