Menu

Windows Support

Anonymous
2013-03-15
2013-05-30
  • Anonymous

    Anonymous - 2013-03-15

    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!

     
  • Jon Svede

    Jon Svede - 2013-03-15

    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

     
  • Don Tsay

    Don Tsay - 2013-05-22

    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 ?

     
  • Leonardo Rossetti

    I've wrote a patch for the Windows support.
    I've just sent this patch to Jon, he will add it to Nmap4j

     
  • Jon Svede

    Jon Svede - 2013-05-27

    Nmap4j 1.1 should solve your issue, it includes the patch from l-rossetti.  -Jon

     

Log in to post a comment.