I'm looking to write a batch file I can deploy to 20-30 users that will export all of the enabled versions of Java out to a text file, which I can then pick up, and add to a troubleshooting effort we're working on.
I know that java -version will show the current version, but we're in an environment where we have multiple applications that use different versions.
Thanks, Josh