Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
    
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
share|improve this answer
    
This assumes brew is already installed/being used. – austinian Jul 23 '15 at 16:54

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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