LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Closed Thread
 
LinkBack Search this Thread
Old 08-18-2010, 11:38 AM   #1
arun8900
LQ Newbie
 
Registered: Aug 2010
Location: jalandhar
Distribution: any
Posts: 11

Rep: Reputation: 0
Smile running bash script using java..


can anyone guide me..
how can i run a bash script script by using java in rhel5...
if anyone can help then please reply....
i have vary good project in my mind.....
 
Old 08-18-2010, 02:25 PM   #2
TB0ne
Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 13,778

Rep: Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349Reputation: 2349
Quote:
Originally Posted by arun8900 View Post
can anyone guide me..
how can i run a bash script script by using java in rhel5...
if anyone can help then please reply....
i have vary good project in my mind.....
Again, please use capital letters and write clearly.

And in your other thread, for the same question:
http://www.linuxquestions.org/questi...g-java-826952/

You were given a link on how to do this. There are also many, MANY Java tutorials that will show you how to call system programs/scripts from withing Java. Try Google.
 
Old 08-19-2010, 04:24 PM   #3
crabboy
Moderator
 
Registered: Feb 2001
Location: Atlanta, GA
Distribution: Slackware
Posts: 1,822

Rep: Reputation: 120Reputation: 120
closed duplicate.
 
  


Closed Thread

Tags
java, linux


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How to make a bash script keep running in same terminal after it calls second script? JohnRock Linux - Newbie 4 06-25-2010 09:16 AM
Running Bash script in PHP script SteveMack2015 Linux - Software 2 05-14-2010 03:34 PM
java and bash script problem markelo Programming 13 12-01-2005 04:17 AM
Running java myprogram from the bash shell captainObvious Linux - Newbie 2 11-24-2004 03:22 PM
java script not running? w0000422 Linux - Software 2 01-13-2004 08:03 PM


All times are GMT -5. The time now is 08:51 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