LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   shell scripts and installing java.. (https://www.linuxquestions.org/questions/linux-software-2/shell-scripts-and-installing-java-71899/)

scoob8000 07-11-2003 01:00 PM

shell scripts and installing java..
 
well i finally got blackdown java installed and working, what a job.. I have oh about 15 machines that I need to install it on..

Can someone point me in the right direction of a shell script to do it for me?

I would write a script to do it, but know nothing about writing a script and most resources are too complex for this noob..

-mike

enigmasoldier 07-12-2003 12:06 AM

Download java from sun:
http://www.java.com/en/download/manual.jsp

or try typing this. I think it will work but can't test it right now.
" wget http://java.sun.com/webapps/download...?BundleId=8222 "

download it to a directory like /tmp or something easy.
Now just cd to the directory it is in and type
"./j2re-1_4_1_03-linux-i586-rpm.bin"

That will run the installer and you will be done.

-----------------------

Scripts are EASY to write. Especially one to do something as trivial as install java. Check out these tutorials. The experience is good for you.

http://www.tldp.org/HOWTO/Bash-Prog-Intro-HOWTO.html
http://www.tldp.org/LDP/abs/html/

scoob8000 07-12-2003 11:13 AM

i for some reason cannot get sun java to work.. it installs, but cannot get it working in a browser.. blackdown has been flawless so far..

thanks for the links...


All times are GMT -5. The time now is 11:19 PM.