Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

Execute a shell script in a Jar File

807569Jul 5 2006 — edited Jul 5 2006
Hello,

In UNIX, I have an application in wich i want to execute a shell script.
I would like to put that script in the jar file and be able to execute it from the main application.
I can get the URL of the script (something like jar:file:....) but I can't find a way to then execute this script from the Runtime.exec command.

Does someone know how to do that ?

Many thanks.

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Aug 2 2006
Added on Jul 5 2006
2 comments
275 views