Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse RT (runtime) » Standalone Eclipse processes are still running after closing the viewer (Standalone Eclipse Help on Linux)
Standalone Eclipse processes are still running after closing the viewer [message #1017069] Fri, 08 March 2013 20:14
Ray Beheshti is currently offline Ray BeheshtiFriend
Messages: 1
Registered: March 2013
Junior Member
I am trying to run the "trimmed/standalone" version of Eclipse Help using a 'sh' script on RedHat 6 Linux system with JRE "1.6" and have a post-run issue where a java and eclipse processes (see below) are still running after I close the help browser (in Mozilla Firefox).

I used the instruction on "" step-by-step to build the trimmed/standalone help version. All plugins dependencies have also been verified from the Assembly in each and every JAR file under the "plugins" folder.

I am using "eclipse-SDK-4.2.1-linux-gtk-x86_64.tar.tar".

I am able to start and view the help without any issue. However, as soon as I close the Eclipse help viewer (Firefox), the script still remains and there are two processes that are still running. I have to do Ctrl-C to get back to the prompt and at that point the two processes are terminated as well. If I use the "&" within the script or on command line, when executing the script, the prompt is back right away, but the two processes would have to be killed manually, even after closing the help viewer. Here is the result of the "ps -ef" after the viewer is closed:

root 25068 25067 0 15:43 pts/1 00:00:00 /usr/local/pjre/bin/java -classpath ./eclipse/plugins/ -eclipsehome ./eclipse -command displayHelpWindow -vm /usr/local/pjre/bin/java -clean -noexec
root 25084 25068 13 15:43 pts/1 00:00:14 /usr/local/pjre/bin/java -cp plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar org.eclipse.core.launcher.Main -nosplash -application -data /usr/local/docs/./eclipse/workspace -clean

When I use the full version of Eclipse help, the prompt comes back right away after I close the viewer and no other processes are running.

Here is the content of the script I am using:


/usr/local/pjre/bin/java \
-classpath ./eclipse/plugins/ \ \
-eclipsehome ./eclipse \
-command displayHelpWindow \
-vm /usr/local/pjre/bin/java \
-clean \

The script is executed as 'root'.

Please let me know how I might be able to correct the issue so that as soon as the browser is closed, those processes are also terminated and the user is returned to the prompt. I appreciate any assistance. Also, please let me know if you need additional information.

Thank you in advance.
Previous Topic:Eclipse command option
Next Topic:32 bit Eclipse 4.2 not working on a 64 bit Linux 6.2 server
Goto Forum:

Current Time: Fri Oct 23 12:18:22 GMT 2020

Powered by FUDForum. Page generated in 0.01580 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top