Subject: [Condor-users] How to find Java bin Path in different machines of condor
Hi, I have a script that runs some computation and based on their results invoke a java program of mine. For this, I have to set PATH variable to include the complete path to java's bin folder. Now the question is, these machines in condor pool have different such path and I am trying to
figure out from within my script what that is. Here goes a simple script that I have written and submitted to condor to find out java bin's path, but with no luck.
Now, in my machine when I run this script from command line, it shows the correct output that is /opt/current/java/bin .
But when I send this script off to condor, I only get
New :
Thats it. Any idea why the output of which java is not coming out? By the way, my condor submission script looks like this: