Get the tools you need to learn Java skills fast!
Video tutorials, eBooks, hands-on lab exercises, sample code.
Get started
The moose likes Linux / UNIX and the fly likes Run Unix Script Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Badass: Making Users Awesome this week in the Game Development forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Run Unix Script" Watch "Run Unix Script" New topic

Run Unix Script

Tom Ben
Ranch Hand

Joined: Aug 17, 2001
Posts: 109
I am using this Process psef = Runtime.getRuntime().exec(run[x].toString());
to try and run a unix script thru Java. I need to know how to get the scripts to run? Works great on Windows but nothing on HP-UX 11
Sun Certified Programmer on the Java 2 Platform

Sun Certified Programmer on the Java 2 Platform
Don't get me started about those stupid light bulbs.
subject: Run Unix Script