Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 stackoverflow.com Nov 18 '10 at 13:38

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

add comment

3 Answers

up vote 2 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.

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
add comment

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
1  
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
add comment

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
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.