Harshit shah
Harshit shah

Reputation: 11

Javaw.exe running when starting eclipse

Whenever I launch eclipse, javaw.exe automatically starts and is displayed in the list of processes in the task manager. How does javaw.exe automatically start on launching eclipse? Can it be due to some virus or some configuration in eclipse is required for that? It didn't happen earlier. Please help.

Upvotes: 1

Views: 1208

Answers (1)

user1401472
user1401472

Reputation: 2301

No. It is not virus. javaw.exe is similar to java.exe. It is a Win32 GUI application. This is provided as a helper so that application launches its own GUI window and will not launch a console.

Eclipse uses its own GUI and hence it uses javaw process. So when you click on eclipse.exe it launches eclipse using javaw process.

Just to add a little more explanation - instead of running eclipse.exe, try executing following command.

java -jar <Eclipse HOME Directory>plugins\org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar

Here the console will be locked until the eclipse is running.

Now if you use javaw instead -

javaw -jar <Eclipse HOME Directory>plugins\org.eclipse.equinox.launcher_1.3.0.v20130327-1440.jar

You should see same eclipse getting opened. But notice that the console window is freed. You can continue using the console for some other purpose.

Eclipse.exe uses the latter.

Upvotes: 2

Related Questions