Javaw.exe - Approximately 60 Instances Running Simultaneously - eclipse

Upon checking Task Manager (Windows 7), I have approximately 60 instances of javaw.exe running, ranging from approx. 1,000K - 450,000K.
I am currently working on a large project, developing some software using Eclipse Helios.
Can somebody explain why this is happening?

Lots of possible reasons for this, but in my experience the most likely is that instances of your app that you are starting to test or debug are staying around after you think they are gone.

If you don't explicitly stop the previous instance, and click the "Run As" (Green Arrow) button again, the previous instance will just keep running in the background. In the console tab, there is a drop down which will show all running instances. You need to click the red box on each of these to kill the process.

I think it's a bug in Eclipse. When you stop the console - clicking the big red button - the javaw.exe process carries on running.
You solve it by opening task manager, identifying the javaw.exe process that isn't for Eclipse (go to show columns and show "command line") and then right click: end task

Related

STS(Spring Tool SUite) Output console view disappears/closes automatically

I am using STS(Spring Tool Suite) 3.6.4 version. For the last few days I am facing new kind of issue. Whenever I try to open console(Using Window > Show View > Console) console view opens for fraction of seconds and closes/disappears automatically. Same thing happens when error/info printed to console. It is visible for the fraction of seconds and closes automatically.
I am trying to see Tc server console. Currently for me there is no way to see the console view. Can any one have idea why it happens/ any solution.
Click mouse right button on the workspace, and click Reset
You can reset the perspective to get the console.
It worked with new workspace. May be the old workspace was corrupted.
For me, any console that appeared when running a Java application would immediately disappear. Same git-repo/workspace, different computers. What fixed that for me was quitting Eclipse, deleting the .metadata and .settings folders, relaunching, and re-importing my projects. Only the workspace and my custom dictionaries survived.
Some times because of unexpected short cuts Eclipse or/STS or due to some other issue
Allocate Console gets disabled. So we need to enable it
Run => Run Configurations > common Tab
Debug => Debug Configurations > common Tab
enter image description here

Pydev Console is very slow

When I open a pydev console, it takes several seconds before I get a cursor. I have a single file "Hello World" sort of project. There are no large variables to show.
My installation used Kepler-CDT, and I then installed PyDev (Latest, version 3.6.0)
I right select the console icon, select New PyDev Console, and then the console selection dialog appears. I select "Python console" (OK).
"Create Interactive Console" shows in the eclipse progress bar. Eventually, IPython starts, and after 20 seconds or so, I get a >>> prompt.
If I press enter at the prompt, another prompt appears as expected, but it usually take 4 or 5 seconds.
Some suggestions I have seen talk about firewall issues, how would I go about checking this?
How do I debug this problem?
What's your OS? From what you're saying, the issue really 'appears' to be either some network misconfiguration or possibly some firewall/antivirus making things slower (you can try disabling those to test if things go faster). As for a network misconfiguration, you can try checking your hosts file to see if things are correct there (I've had reports where there were other things, but these are the most common -- for other situations it may be more difficult to diagnose as usually each particular case is something different).

Netbeans won't start-up - 7.4

I force shutdown my pc by holding down the power button till it went off. Just before it shutdown, I saw a netbeans pop-up just come up before the system went off. Before initializing the shutdown, I had closed netbeans, and I think that netbeans had not fully shutdown. The pop-up might have been the last procedure the IDE automatically does, like those that flash the cmd which almost immediately closes by itself.
The problem is that now netbeans won't start up. It only shows the blue window then dissapears, not to appear again, even in the task manager.
How can I fix this?

Eclipse with 2 monitors loss perspectives

I use Windows 8 x64 and last eclipse: eclipse-java-juno-SR1.
At second monitor I move console and some android tools (logcat, devices). All worked ok. But I do not need see second monitor all time. And I switch off this monitor (by win + P). On next start I see windows from second monitor at primary monitor. Close. Open. And now see default perspective. Own perspectives, that I saved disappeared. And this repeat all time, if I disable second monitor.
Before I use eclipse-java-indigo-SR1 and do not have any problem.
Don't find solution. Now back to indigo (3.7.1).

Eclipse + pydev - Missing Console-view toolbar in minimized mode

I'm using Eclipse + pydev plugin as the development environment. In fact my application needs a big console area and I usually resize the console and minimize it, so that whenever I run the application, it automatically shows up.
But when I minimize the console view or detach it or mark it as Fast View, the toolbar for controlling the running process and locking the scroll disappears.
Can I have both minimize functionality and Process control toolbar ?
Eclipse : Galileo Build id: 20090619-0625
Pydev : 1.5.3
Right now, in Eclipse/PyDev, you can't have the toolbar when it's minimized (you have to open it to access it), but most of what you need should be available through shortcuts (some may need focus on a PyDev editor):
Terminate current process: Ctrl+F2
Terminate all processes: Ctrl+Alt+F9
Terminate / relaunch last launched process: Ctrl+Shift+F9
To launch the currently open editor: F9
To relaunch the last launch (provided you followed the steps at: http://pydev.org/manual_101_run.html): Ctrl+F11
To debug the last launch: F11
To show the console view: Alt+Shift+Q, C
And if you want, you should be able to configure those in the keybindings (Ctrl+Shift+L twice to open the preferences page to do so).
I used eclipse with pydev and it drove me nuts. I use Netbeans 6.8 right now which came bundled with its own python plugin that is a lot better. Especially when it comes to debugging.