Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a problem: always when my computer starts, there is a java.exe process listening in the port 7676. I want to find out what it is to be able to delete it.

Is there any way that I can find that out?

I have seen another question here which lead me to download the Sysinternal's Process Explorer, but it didn't help me...

share|improve this question

migrated from Nov 18 '10 at 13:38

This question came from our site for professional and enthusiast programmers.

up vote 9 down vote accepted

Use Sysinternal's Process Explorer. Like task manager, this application can show you all running processes.

But it can also show you the command line arguments used to launch the process: right click the column headers and select the "command line" column. This extra information will help you identify which java application is running in a given java.exe process.

If that is not yet enough information, Process Explorer can also tell you which files, network connections, registry entries etc. are being used by the process.

update: as mentioned in the comments below, the standard Windows Task Manager can also show the command line. Go to "View" - "Select Columns..." and check "Command Line".

share|improve this answer
You can also view the command line in the default Windows task manager – starofale Nov 18 '10 at 15:11
@starofale: I can't find that option in the Windows XP task manager. Perhaps it was added in Vista or Windows 7. – wcoenen Nov 18 '10 at 15:22
Oh, that's possible - I don't have a copy of XP to check with – starofale Nov 20 '10 at 15:28

You should be able to find the process id using netstat -o.

You can then get information on this process by running jps -v. This works like the Unix ps.

If you want to see more details about the application you can run up JConsole for the Java process and then look for a thread listening on the port.

share|improve this answer
These tools are not part of the JRE. jps and jconsole are only available if you have the java development kit (JDK) installed, which is usually not the case for an end user. – wcoenen Nov 18 '10 at 15:02

You should be able to find the process id using netstat. You can use wmic after that.

wmic process where processid=<pid> get commandline

This should give you more details about the Java process in case you're running it on Windows.

Since this is an extremely old thread, could you tell me what was the final solution that you used?

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .