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

[Condor-users] error specifying java class in submit file



Hello,

I am having problems executing a Java class through use of the condor submit file. It looks like:

universe = java
executable = FrontPropagationTool.class
arguments = FrontPropagationTool test.jpg 16 16
jar_files = Library.jar
log = job.log
output = job_output.log
error = job_error.log
queue 10

The error that is returned in the job_error.log is :

java.lang.NoClassDefFoundError: FrontPropagationTool (wrong name: imageviewer/tools/plugins/fp/FrontPropagationTool)
. . .

So I know I can run this java class (FrontPropagationTool) independently from the command line with the call:

"java -cp .;.\lib\imageviewer.jar;.\lib\jai_core.jar;.\lib\jai_codec.jar imageviewer.tools.plugins.fp.FrontPropagationTool test.jpg 16 16"

But how do I replicate this system call through Condor? I have tried including each class as the complete path to the FrontPropagationTool argument passed to Condor but it complains about not finding that class as well.

Any suggestions?

Thanks!

Emily