File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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
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
I agree. Here's the link:
subject: Run Unix Script
It's not a secret anymore!