LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 07-11-2003, 01:00 PM   #1
scoob8000
Member
 
Registered: Jun 2003
Distribution: Redhat 8, Redhat 9, Win2k, WinXP
Posts: 64

Rep: Reputation: 15
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
 
Old 07-12-2003, 12:06 AM   #2
enigmasoldier
Member
 
Registered: Jul 2003
Location: Florence, Ky
Distribution: CentOS 3.3-4, OpenBSD 3.3, Fedora Core 4, Ubuntu, Novell Open Enterprise Server
Posts: 213

Rep: Reputation: 30
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/

Last edited by enigmasoldier; 07-12-2003 at 12:08 AM.
 
Old 07-12-2003, 11:13 AM   #3
scoob8000
Member
 
Registered: Jun 2003
Distribution: Redhat 8, Redhat 9, Win2k, WinXP
Posts: 64

Original Poster
Rep: Reputation: 15
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...
 
  


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
Running shell scripts from Java cmpich Programming 1 04-19-2005 04:36 AM
running shell scripts using Java niravk8 Programming 2 02-09-2005 09:42 AM
Java Shell / Batch Scripts GenericProdigy Programming 4 11-18-2004 09:00 AM
Java with Shell Scripts lazkyr Programming 1 07-30-2004 04:30 PM
Is anyone else installing LFS with shell scripts SparceMatrix Linux From Scratch 25 06-12-2003 01:29 AM


All times are GMT -5. The time now is 10:59 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration