[SOLVED] shell script issue how to pass the license exceptance as yes through script
ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
shell script issue how to pass the license exceptance as yes through script
i want to install the jai-1_1_3-lib-linux-i586-jdk.bin through shell script but in between it asks for the except license condition where we have to say "yes". i want to pass this yes from the same script how it can be done
Make sure the bold part reflects what is expected by the installer.
Dear sir,
greattttt it worked fine. thank you very very much
But there is one one thing in this command i have to read the license means i have press enter till get get over and then it doesnt ask for "yes"
it looks like
Code:
Sun Microsystems, Inc.
Binary Code License Agreement
JAVA ADVANCED IMAGING API, VERSION 1.1.3
READ THE TERMS OF THIS AGREEMENT AND ANY PROVIDED SUPPLEMENTAL LICENSE TERMS (COLLECTIVELY "AGREEMENT") CAREFULLY BEFORE OPENING THE SOFTWARE
MEDIA PACKAGE.� BY OPENING THE SOFTWARE MEDIA PACKAGE, YOU AGREE TO THE TERMS OF THIS AGREEMENT.� IF YOU ARE ACCESSING THE SOFTWARE ELECTRON
ICALLY, INDICATE YOUR ACCEPTANCE OF THESE TERMS BY SELECTING THE "ACCEPT" BUTTON AT THE END OF THIS AGREEMENT.� IF YOU DO NOT AGREE TO ALL TH
ESE TERMS, PROMPTLY RETURN THE UNUSED SOFTWARE TO YOUR PLACE OF PURCHASE FOR A REFUND OR, IF THE SOFTWARE IS ACCESSED ELECTRONICALLY, SELECT
THE "DECLINE" BUTTON AT THE END OF THIS AGREEMENT.
1.� LICENSE TO USE.� Sun grants you a non-exclusive and non-transferable license for the internal use only of the accompanying software and d
ocumentation and any error corrections provided by Sun (collectively "Software"), by the number of users and the class of computer hardware f
or which the corresponding fee has been paid.
2.� RESTRICTIONS.� Software is confidential and copyrighted. Title to Software and all associated intellectual property rights is retained by
Sun and/or its licensors.� Except as specifically authorized in any Supplemental License Terms, you may not make copies of Software, other t
han a single copy of Software for archival purposes.� Unless enforcement is prohibited by applicable law, you may not modify, decompile, or r
everse engineer Software.� Licensee acknowledges that Software is not designed or intended for use in the design, construction, operation or
maintenance of any nuclear facility. Sun Microsystems, Inc. disclaims any express or implied warranty of fitness for such uses. � No right, t
itle or interest in or to any trademark, service mark, logo or trade name of Sun or its licensors is granted under this Agreement.
3. LIMITED WARRANTY.� Sun warrants to you that for a period of ninety (90) days from the date of purchase, as evidenced by a copy of the rec
eipt, the media on which Software is furnished (if any) will be free of defects in materials and workmanship under normal use.� Except for th
e foregoing, Software is provided "AS IS".� Your exclusive remedy and Sun's entire liability under this limited warranty will be at Sun's opt
ion to replace Software media or refund the fee paid for Software.
4.� DISCLAIMER OF WARRANTY.� UNLESS SPECIFIED IN THIS AGREEMENT, ALL EXPRESS OR IMPLIED CONDITIONS, REPRESENTATIONS AND WARRANTIES, INCLUDING
ANY IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT ARE DISCLAIMED, EXCEPT TO THE EXTENT THAT THES
E DISCLAIMERS ARE HELD TO BE LEGALLY INVALID.
5.� LIMITATION OF LIABILITY.� TO THE EXTENT NOT PROHIBITED BY LAW, IN NO EVENT WILL SUN OR ITS LICENSORS BE LIABLE FOR ANY LOST REVENUE, PROF
IT OR DATA, OR FOR SPECIAL, INDIRECT, CONSEQUENTIAL, INCIDENTAL OR PUNITIVE DAMAGES, HOWEVER CAUSED REGARDLESS OF THE THEORY OF LIABILITY, AR
ISING OUT OF OR RELATED TO THE USE OF OR INABILITY TO USE SOFTWARE, EVEN IF SUN HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.� In no e
vent will Sun's liability to you, whether in contract, tort (including negligence), or otherwise, exceed the amount paid by you for Software
under this Agreement.� The foregoing limitations will apply even if the above stated warranty fails of its essential purpose.
6.� Termination.� This Agreement is effective until terminated.� You may terminate this Agreement at any time by destroying all copies of Sof
tware.� This Agreement will terminate immediately without notice from Sun if you fail to comply with any provision of this Agreement.� Upon T
ermination, you must destroy all copies of Software.
7. Export Regulations. All Software and technical data delivered under this Agreement are subject to US export control laws and may be subje
ct to export or import regulations in other countries.� You agree to comply strictly with all such laws and regulations and acknowledge that
you have the responsibility to obtain such licenses to export, re-export, or import as may be required after delivery to you.
8.� U.S. Government Restricted Rights.� If Software is being acquired by or on behalf of the U.S. Government or by a U.S. Government prime co
ntractor or subcontractor (at any tier), then the Government's rights in Software and accompanying documentation will be only as set forth in
this Agreement; this is in accordance with 48 CFR 227.7201 through 227.7202-4 (for Department of Defense (DOD) acquisitions) and with 48 CFR
2.101 and 12.212 (for non-DOD acquisitions).
--More--
I'm not sure, but isn't there a "silent install" option available (it has been a long time ago I installed jdk this way). You might want to spend some time checking that out.
I'm not sure, but isn't there a "silent install" option available (it has been a long time ago I installed jdk this way). You might want to spend some time checking that out.
I'm not sure, but isn't there a "silent install" option available (it has been a long time ago I installed jdk this way). You might want to spend some time checking that out.
i tried the silent installation as per your LINK suggestion at worked smoothly Thank you very much for such clean and straight rply
it helped me very much
i tried following command in my script like
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.