User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Java section within the Software Development category of DaniWeb, a massive community of 402,740 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,486 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Java advertiser: Lunarpages Java Web Hosting

Executing Shell script from Java code.

Join Date: Apr 2007
Posts: 108
Reputation: new_2_java is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 6
new_2_java new_2_java is offline Offline
Junior Poster

Re: Executing Shell script from Java code.

  #5  
Jul 5th, 2007
Thanks for reply,

Basicaly, what I am trying to accomplish here, is that I wrote a custom class, that is going to be used for a custom method in Documentum, to launch a utility, which we need to run on a weekly basis.

I figured that I when I was testing my code with "./test.sh" script, I didn't have e"x"ecute permission on this script. So, after using "chmod" to grant myself the "x" permission, it started working.

Thanks again for participation,
Reply With Quote  
All times are GMT -4. The time now is 7:41 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC