How to Find if Java is Installed

Hi experts. I've been asked to identify all SQL servers that have Java installed on our Windows servers that host a SQL Server instance.
How can I determine if Java is installed, and which Java components, are installed?

Thanks.

Using this as a start:

You could run that from SQL Server via xp_cmdshell, but that's really not ideal. This kind of thing is not really a SQL Server task, it's more of a system or network admin responsibility.

1 Like