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

[Condor-users] ERROR: java is not a valid Windows executable



Dear Condor friends,

  I have a question in Java universe.  May I ask you for help ?
  In the file "starterlog" in execution machine , it says :

4/20 17:48:05 Input file: NUL
4/20 17:48:05 Output file: C:\Condor/execute\dir_2396\out.32.0
4/20 17:48:05 Error file: C:\Condor/execute\dir_2396\err.32.0
4/20 17:48:05 Renice expr "10" evaluated to 10
4/20 17:48:05 About to exec java -Xmx255m -classpath C:\Condor\lib;C:\Condor\lib/scimark2lib.jar;. -Dchirp.config="C:\Condor\execute\dir_2396\chirp.config" CondorJavaWrapper "C:\Condor\execute\dir_2396\jvm.start" "C:\Condor\execute\dir_2396\jvm.end" Hello
4/20 17:48:05 Env = _CONDOR_SCRATCH_DIR=C:\Condor\execute\dir_2396
4/20 17:48:05 ERROR: java is not a valid Windows executable
4/20 17:48:05 ERROR "Create_Process(java,java -Xmx255m -classpath C:\Condor\lib;C:\Condor\lib/scimark2lib.jar;. -Dchirp.config="C:\Condor\execute\dir_2396\chirp.config" CondorJavaWrapper "C:\Condor\execute\dir_2396\jvm.start" "C:\Condor\execute\dir_2396\jvm.end" Hello, ...) failed" at line 397 in file ..\src\condor_starter.V6.1\os_proc.C
4/20 17:48:05 ShutdownFast all jobs.
4/20 17:48:05 Got ShutdownFast when no jobs running.


In condor_config of the execution machine, I have set up the JAVA variable :

JAVA = c:\"program files"\java\jre1.5.0_04\bin\java.exe

This is correct path to java.exe and it can run Java program without problem.

  As a result, it cannot run Java Universe jobs.
  What should I do ?
  Please help !!!!!!

Regards,
Woo Chat Ming.