java se 6 runtime needed for Enrollement process?

roiegat
Contributor III

So were starting to use more of the enrollement process where we send users the link for the enroll page and they download the package and it does the rest.

What's odd is that when a user runs the package they get prompted to install Java SE 6 Runtime because it's needed. Even if they choose "Not Now" things still work...but is there a way to get rid of that requirement since it's not needed?

I noticed that during the whole imaging process it pops that install like 2-3 times. Is there some older Casper systems that still need this? Were trying to move away from Java all together and would like to resolve this issue.

1 ACCEPTED SOLUTION

mm2270
Legendary Contributor III

When does this message pop up? At the end of the installation, or immediately? If its at or toward the end, do you have an Extension Attribute that checks the installed version of Java using the java -version command? That command is known to pop up that message annoyingly if Java is not installed on the Mac. Typically, the QuickAdd.pkg is set to run a recon at the end of the install, so of course that Extension Attribute would get run and pop that message up.

Could that be it?

View solution in original post

4 REPLIES 4

mm2270
Legendary Contributor III

When does this message pop up? At the end of the installation, or immediately? If its at or toward the end, do you have an Extension Attribute that checks the installed version of Java using the java -version command? That command is known to pop up that message annoyingly if Java is not installed on the Mac. Typically, the QuickAdd.pkg is set to run a recon at the end of the install, so of course that Extension Attribute would get run and pop that message up.

Could that be it?

roiegat
Contributor III

mm2270,

Your right! We do have an old extension attribute that runs it! I'm going to disable and check it out. Will report back.

roiegat
Contributor III

That did the trick. Thanks for your help.

mm2270
Legendary Contributor III

That's good, but for the future, in case you ever do need that EA back, there's a way to keep it there but not have it display that message, Just use a simple if/then/else conditional in the script, that checks for the existence of the /Library/Java/Home symlink first, If present, then we assume Java is installed and run the java -version command, which extracts and pulls the results into <result></result> tags. Else, if the /Library/Java/Home isn't there, just echo "Java not installed" or something along those lines back into the results tags and exit.
We use an EA just like that here, and it works well.