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

Re: [Condor-users] Java not recognised by Condor



Hi Liam:

You can either drop the quotes, as they confuses Condor in 
this instance, or you can write the path in the old 8.3 
format.

For example, mine is set to:

JAVA = C:\PROGRA~1\Java\JDK16~1.0_0\bin\JAVA.EXE

To determine the 8.3 version of the name use dir /x at each
level in the path.  You'll only need to know what the equivalent
of "JDK16~1.0_0" is on your system, the rest should be the 
same.

Regards,
-B

Btw, the Windows installer, if it finds Java installed, will
write the path in the style discussed above.

> -----Original Message-----
> From: condor-users-bounces@xxxxxxxxxxx [mailto:condor-users-
> bounces@xxxxxxxxxxx] On Behalf Of Liam Gretton
> Sent: Thursday, September 18, 2008 10:22 AM
> To: Condor-Users Mail List
> Subject: [Condor-users] Java not recognised by Condor
> 
> Hi,
> 
> I can't get my Condor installations to find the JRE binary.
> 
> Client is Windows XP SP3 (32bit), Condor 7.0.4.
> 
> In condor_config I have the following relevant settings (note the
> quotation marks):
> 
> JAVA = "C:\Program Files\Java\jre1.6.0_06\bin\java.exe"
> 
> JAVA_CLASSPATH_DEFAULT = "C:\Program Files\Java\jre1.6.0_06\lib"
>    $(LIB) $LIB)scimark2.lib.jar .
> 
> But Condor is still interpreting the space in 'Program Files' as a
> separator in both options - StarterLog has the following entries:
> 
> JavaDetect: failed to execute "C:\Program' 'Files\Java\
>    bin\java.exe" -Xmx2038m -classpath
>    "C:\Program;Files\Java\jre1.6.0_06\lib";C:\condor\lib;...
> 
> (lines split for clarity)
> 
> What am I doing wrong?
> 
> --
> Liam Gretton                                    L.Gretton@xxxxxxxxxxx
> IT Services                                   http://www.lboro.ac.uk/
> Loughborough University                       Tel: +44 (0)1509 228431
> Leicestershire LE11 3TU
> United Kingdom
> _______________________________________________
> Condor-users mailing list
> To unsubscribe, send a message to condor-users-request@xxxxxxxxxxx with
> a
> subject: Unsubscribe
> You can also unsubscribe by visiting
> https://lists.cs.wisc.edu/mailman/listinfo/condor-users
> 
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/condor-users/