Loading
Oracle Java Scanner detailed documentation

Hi everybody, is there a detailed documentation about the Oracle Java Scanner for Windows?

I mean like really detailed. I need to know if a Java needs to be installed (hopefully not) in order the java scanner to work and if so how does the scanner check where it is installed.

Or would it be enough to just copy the binaries to the server.

The "env.java_home" setting in the snowserver.config did not work at all for the java scanner.

 

Thanks in advance for any hint.

 

Best regards,

Rainer

 

cc to @Arnis Kalniņš​​ @Reza Rezapour​ @Martin Fruhwirth​ 


  • Hi Rainer

    Years ago we bought OMO(Oracle...) but stranded due to the same problem (catch 22).

    But has later been told that it is possible to do a remote scan. ie have the java installation on just one server, and make all java scans from this. I have forgotten the technical name for it. :-)

    • Hi @Gert-Jan Kosterman​ ,

       

      thanks for your reply. This documentation is not enough for me.

      I tried the Oracle Java Scanner on a windows server with java installed on the server which worked fine but I dont want to install a java on each server to have the java scanner working. I would rather like to just copy the java binaries into the snow directory and use this like it is possible with oracle DB scanning.

      I tried the java scanner without java installed but the binaries in the snow directory with the "env.java_home" configured in the snowagent.config which did not work.

       

      Best regards,

      Rainer

      Expand Post
      • Hi @Rainer Kober​ ,

         

        Ok. But the Java scanner is to collect what Java edition is installed that's why they added the scan-SIJSLauncher.snow-ps1 power shell script to check for Java first. If there is no Java installed there is no need for Java scanning. Or do I misunderstand your question/goal?

         

        Nb.: We think the requirement of just Java Runtime Environment 7 (1.7) or 8 (1.8) to be able to scan makes the Java scanner not really useful yet. Since it should work with newer editions too.

         

        Kind regards,

        Gert-Jan.

        Expand Post
      • On the back of this, just to confirm, you need the Java Runtime to be installed or the java scanner won't work - there's no work around on that unfortunately (I know you know that Gert ;), but for anyone that comes across this in the future lol)

         

        This requirement applies to macOS, Linux, Unix and Windows

        Expand Post
      • Hi @Gert-Jan Kosterman​ ,

        if I have a few thousand servers I want to make sure that there is no Oracle Java installed which needs a license. And I dont want to install any java just to check if another java is on the server or is installed (even just copying the binaries on the server needs them to be licensed). The snowagent was not detailed enough and found a lot of false positive.

         

        I tested the oracle java scanner with adoptium openJDK JRE 17 and it worked fine so I guess you can use a newer version as well.

         

        Hi @Laim McKenzie​ , thanks for your feedback and answer. This is really frustrating and will most propably a NoGo for the Java Scanner in our environment.

         

        Best regards,

        Rainer

        Expand Post

Loading
Oracle Java Scanner detailed documentation