Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8175179

Windows Defender warning is not correct for all cases

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P2 P2
    • 9
    • 9
    • deploy
    • generic
    • windows
    • Verified

      Currently we always display the message:

      Warning: Windows Defender may prevent the Java Packager from functioning. If there is an issue, it can be addressed by either disabling realtime monitoring, or adding an exclusion for the directory "C:\Users\vdrozdov\AppData\Local\Temp".

      the directory is calculated as System.getProperty("user.home").toString() + "\\AppData\\Local\\Temp";

      seems like it's not correct for all cases, for example, when on my machine I launch javapackager via cygwin, it uses tmp dir from C:\cygwin\tmp\. If I launch it using win cmd, then it really uses C:\Users\vdrozdov\AppData\Local\Temp.

      Looks like this needs to be corrected.

            vdrozdov Victor Drozdov (Inactive)
            vdrozdov Victor Drozdov (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: