The issue has been that I don't have a windows machine to do any testing on, I can update the API to allow it to run on Windows, but it would be completely untested. Are you OK with that?
Thanks!
Jon
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On Windows NMap installer places nmap dir structure under (by default for Windows 7):
1) "C:\Program Files (x86)\Nmap" folder.
2) nmap.exe executable is placed directly at this ^ location (not under "bin" sub-folder as on Linux).
3) "share" sub-folder has "zenmap" sub-dir instead of just "nmap" (as nmap4j supposes).
4) If you wish I can attach a full dir list for NMap installation on Windows ?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Guys,
How can I use nmap4j on Windows Environment? I'm getting this error:
org.nmap4j.core.nmap.NMapExecutionException: Cannot run program "C:\Nmap\bin\nmap": CreateProcess error=2, The system cannot find the file specified
Thank you!
The issue has been that I don't have a windows machine to do any testing on, I can update the API to allow it to run on Windows, but it would be completely untested. Are you OK with that?
Thanks!
Jon
On Windows NMap installer places nmap dir structure under (by default for Windows 7):
1) "C:\Program Files (x86)\Nmap" folder.
2) nmap.exe executable is placed directly at this ^ location (not under "bin" sub-folder as on Linux).
3) "share" sub-folder has "zenmap" sub-dir instead of just "nmap" (as nmap4j supposes).
4) If you wish I can attach a full dir list for NMap installation on Windows ?
I've wrote a patch for the Windows support.
I've just sent this patch to Jon, he will add it to Nmap4j
Nmap4j 1.1 should solve your issue, it includes the patch from l-rossetti. -Jon