[Ilugc] Press Enter to continue....
- From: madhiv@xxxxxxxxx (Madeeswer V)
- Date: Mon, 9 Apr 2012 13:47:39 +0530
Hi,
I am a beginner of shell script, when I tried to install java 1.6 used by
bash script, but while executing java paused suddenly, " Press Enter to
continue...." how to avoid this
There are two ways to avoid this and automate your installation.
1. simple solution, use rpm or deb package for jdk installation instead of
self extracting installation(./jdk-6u21-linux-i586.bin).
2. create a dummy file called input with one empty line and redirect it
during installation.
echo "" >input
./jdk-6u21-linux-i586.bin < input
preferred method for automated installation is rpm or deb package based on
your distro.
--
Thanks and Regards
Madeeswer Gandhi.V
Other related posts: