开发者

How to bring up Eclipse on xterm in Solaris

开发者 https://www.devze.com 2023-02-07 12:12 出处:网络
Is there a way to bring up Eclipse on xterm in Sun Solaris. I tried to execute the ./eclipsecommand, but it does not bring up eclipse.

Is there a way to bring up Eclipse on xterm in Sun Solaris. I tried to execute the ./eclipse command, but it does not bring up eclipse.

Update:

The DISPLAY is s开发者_如何学Goet. Please find the details below.

% echo $DISPLAY

169.52.56.88:0.0

% echo $JAVA_HOME

/usr/jdk/jdk1.5.0_14/

% which java

/usr/jdk/jdk1.5.0_14/bin/java

% cd ~schoudha

:/home/schoudha> cd eclipse

:/home/schoudha/eclipse> ./eclipse &

[1] 23699

:/home/schoudha/eclipse> bg %1

[1] + ./eclipse &

[1] + Exit 15 ./eclipse

ps -ef | grep spantul1

spantul1 19475 19295 0 00:57:38 pts/101 0:00 -csh

spantul1 19295 15910 0 00:57:29 ? 0:00 /usr/openwin/bin/xterm -ls -sl 200 -display 169.52.56.88:0.0

spantul1 24041 19475 0 00:59:59 pts/101 0:01 ps -ef

spantul1 24042 19475 0 00:59:59 pts/101 0:00 grep spantul1


As long as you are in the eclipse folder, ./eclipse should run it, however, you will probably want to detach it from the terminal instance, so:

./eclipse &
bg %1 # assuming it's the only job running.
disown eclipse

Should give you a running instance and free up the terminal session.

If you are not in the eclipse folder, best thing to do is add it to the $PATH and then you can run if from anywhere.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号