I’m working on some scripts that use javaps (Linux Java Process Status ).
The majority of the development has been on linux, but now we need to switch to running them on Windows XP via GIT Bash and I get the following response.
$ javaps
/c/Documents and Settings/xxxx/bin/javaps: must be executed on Linux system (found MINGW32_NT-5.1)
Any ideas apart from not switching to windows.
I was not aware of JPS as suggested by Petesh and we can alter the scripts to work with this over javaps on Windows.
Playing with the arguments provides the information we require to be able to use it.