Often times it will be very helpful to know the actual java command line used by Eclipse.
And I often forget how to do that. Here is the answer.
- In the menu bar, select Window --> Open Perspective --> Debug.
- In the debug view, you can see a simple line of the command you just ran.
- Right click on the line and select Properties. You will see the actual command line.
Windows Process Commandline
For a Windows process, you can view it in the Windows Task Manager. By default, Task Manager does not show the command line for the process. But you can go to "View"-->"Select columns..." and then check "Command Line" in the list. Task Manager will display a new column for command lines. But it seems that if the command line is very long, then only part of it will be displayed. There are the following ways to get the full command line.- Download Microsoft's official "Process Explorer". This tool gives more detailed information about the processes. After launching "Process Explorer", you can right-click on a process and then select "Properties". Then click on the "Image" tab to see the full command line.
- Use the Windows Management Instrumentation Command-line (WMIC) tool. For example, you can execute the following directly in the Windows command line console:
wmic path win32_process get name, commandline > commandline.txt
The following will show all available attributes:wmic path win32_process get /format:list
Just a typo, it should be:
ReplyDeleteRight click on the line and select Properties. You will see the actual command line.