SCCM Reporting - Find Java Install Versions

I’m new to SCCM and I’d like to run a report that will show all computers lacking Java 6 update 20.

To be of use to me, I would basically need step by step details as I am not familiar enough with SCCM to general info or advise.  Thanks.

(SCCM v. 4.00.6487.2000)
fraunkdAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

ToxaconCommented:
Do you really need a Report or is a Query sufficient for you? Making a Report requires SQL skills while a Query is WQL-based and much easier. I assume you need only a Query.

1. Make a Query A where you get System.Name of the devices which have a inventoried file java.exe in the folder C:\Program Files\Java\jre6\bin and Softwarefile.Version is the required.
2. Make a second Query B where you make a 'System.Name - Not In' subselected Query A.

In short, the first query selects all devices having the required java.exe version and the second uses the first one to rule out the devices from the list which already have the required version.
0
fraunkdAuthor Commented:
Okay, I've answered my own question using a SQL querry.  This is pretty cool if anyone wants to repurpose this for something else.  

This querry will only return computers that have Java installed but the version is not 6.20 while also listing the version of Java while excluding servers (so we know which computers to address).  Enjoy:

select Name0 'Computer Name', User_Name0 'User Name',
  p.DisplayName0 'Java Version',r.ResourceID
   from V_R_System r inner join v_ADD_REMOVE_PROGRAMS p
   on r.ResourceID = p.ResourceID
   where
   (p.DisplayName0 like 'Java%'
    and p.DisplayName0 not like 'Java%Development%'
    and p.DisplayName0 not like 'Java%Updater%'
      and p.DisplayName0 not like 'Java%6%20%'
      )
    and Operating_System_Name_and0 not like '%Server%'
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
fraunkdAuthor Commented:
I answered my own question
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Java

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.