[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Condor-users] Does condor allow java program to run Runtime.exec() method?

al salamo aliko wa rahahmat allah wa barakatuh
I have tried before running Runtime.exec() and it worked with me, but the universe was java and a previous condor version

On Sat, Jan 31, 2009 at 11:01 PM, Tanzima Zerin Islam <tz.islam@xxxxxxxxx> wrote:
 I am submitting a java program to vanilla universe that at one point executes a
shell script which in turn runs a C program. Now it always has to be the case
that my Java program runs this C program. The reason why I am using
shell script as the intermediate step is that I tried to use JNI for
this but condor could not execute the job.

I am using something like this:

Java file:
// Do something to send data to a server

gcc test_C.c -o test_C

But if I submit this program, my java file does not send data to the server which it is supposed to.
But if I comment out this script execution part, it sends data to the server. So my question is,
is it the case that condor does not allow any java job to run Runtime.exec() method?
Or is it something that I am missing. The condor version is:
$CondorVersion: 7.0.5 Sep 20 2008 BuildID: 105846 $
$CondorPlatform: X86_64-LINUX_RHEL3 $

Thanks in advance.


Tanzima Zerin Islam
Graduate Student
School of Electrical & Computer Engineering
Purdue University

Condor-users mailing list
To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting

The archives can be found at:

Mohammed T. Y. El-Shambakey
Assistant Researcher
Knowledge based Systems and Robotics dept.
Informatics Institute
Moubarak City for Science and Technology
New Borg el Arab- Alexandria- Egypt