As Java is not installed by defaults on Lion and Mountain Lion systems (OS X 10.7, 10.8) I would like to deploy it to all machines on our network. I understand that I can simply download the .pkg and remote install it through Apple Remote Desktop. However, I am wondering if there is a way to send a remote command through Apple Remote Desktop to do a silent, unattended install.

Are there options for the 'java' command to do this? I know that if I am on a client machine and I type 'java' at the command line it will invoke an on demand installation, but it requires user action to click the "OK" button.

Thank you.

  • When you do the remote install through Apple Remote Desktop, is it non-silent? – watkipet Oct 25 '13 at 22:56
  • Are you trying to install the browser plugin or just have Java on the computer to run Java apps? – austinian Jul 23 '15 at 17:16

we can install java with brew cask.

brew install caskroom/cask/brew-cask
brew casek install java
  • This assumes brew is already installed/being used. – austinian Jul 23 '15 at 16:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.