LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-24-2007, 05:31 PM   #1
metal_heart
LQ Newbie
 
Registered: Nov 2007
Distribution: Red Hat Enterprise 4
Posts: 2

Rep: Reputation: 0
Exclamation instal java jdk without license prompt


im currently working with an install script which dowloads several remote files and configure them in a new server , but i cant install the java jdk
(./jdk-1_5xxxxxxxx.bin) in such script, without avoiding the license agreement screen.


any suggestions on how to send the "yes" message to the installer via parameter to avoid the license screen???
better if jdk1_5xxxx has different aproaches to it according to versions

thanks in advance
 
Old 11-25-2007, 09:48 AM   #2
Fantasio
Member
 
Registered: Nov 2007
Location: Vinsobres - Drome - France
Distribution: SuSE Linux 11.3
Posts: 152

Rep: Reputation: 19
expect is your friend ...
 
Old 11-25-2007, 09:49 AM   #3
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
Yeah expect or something like it is what you'll need I think..

Basically you souldn't be sending a "auto yes" to the installer, because the licence is meant to be read before accepting it
 
Old 11-26-2007, 09:42 AM   #4
metal_heart
LQ Newbie
 
Registered: Nov 2007
Distribution: Red Hat Enterprise 4
Posts: 2

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by b0uncer View Post
Basically you souldn't be sending a "auto yes" to the installer, because the licence is meant to be read before accepting it
Agree, but in this case we accept all the licences, but we dont want to setup a lot of servers so timing is important

any examples of "expect??"
 
Old 11-26-2007, 10:09 AM   #5
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
See here:

http://expect.nist.gov/FAQ.html

I just started to think that the way the licence is displayed may affect this. But have a try!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Help installing the Java JDK CS_Student_DrewU Programming 2 07-14-2007 11:43 PM
compile java JDK 1.4 kernelvn *BSD 2 06-21-2005 10:42 PM
Java JDK 1.5.0.01 and Open Office 1.1.4 hazelnusse Linux - Software 0 01-19-2005 05:26 AM
adding java jdk to path snecklifter Linux - Newbie 4 11-01-2004 03:58 PM


All times are GMT -5. The time now is 11:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration