Automatically (no interaction) install Jdk on Linux

By neokrates, written on July 20, 2010

bash   snippet

Rate it
  • 1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
    Loading ... Loading ...
Ad
Poll
  • How does version control (VCS) work in your enterprise?

    • Different answer (100%, 7 Votes)
    • All developers can do anything with VCS (0%, 0 Votes)
    • Different groups have different permissions or roles (merge, admin, just view, etc) (0%, 0 Votes)
    • Our SCM is managed by external partner (0%, 0 Votes)

    Total Voters: 7

    Vote

    Loading ... Loading ...
Feeds:
  • bodytext bodytext bodytext
Most popular search terms:

This fixes two things: no need to view the license screen and no need to press ‘yes’. That is needed for automatic installation.

yes | jdk-1.6.0_20-linux-x64.bin > /dev/null 2>&1
 
Does that help to solve your problem?
VN:F [1.8.5_1061]
Rating: 0 (from 0 votes)
0 votes 'YES'  0 votes 'NO'
TAGS
RELATED
Pages
Posts
    nope :(
SOCIAL
Share and Enjoy: These icons link to social bookmarking sites where readers can share and discover new web pages.
  • bodytext
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • BlinkList
  • Blogosphere News
  • E-mail this story to a friend!
  • Furl
  • LinkArena
  • Live
  • MisterWong
  • Print this article!
  • StumbleUpon
  • Technorati
  • Webnews.de
  • YahooMyWeb

Leave a Reply