in VMwareServer.java:

final String[] revertCmd = {"java", "-cp", "CaptureServer.jar",
"capture.VMwareServerExt", "nRevert", address, port + "", vmUniqueId +
"", username, password, vmPath, guestUsername, guestPassword,
guestCmd, cmdOptions, timeout + ""};

This is exec'd as a system command - but if you don't have the correct
'java' as the first item in your PATH, it will barf. I was invoking
java with the full path for capture itself, but missed this usage
within the code - it was picking up gcj instead of j2sdk 1.6.

(arguably not a bug, but a misconfiguration of my system - might be
nice to print out the stderr/stdout of the exec call if everything
goes fubar though.

a good enough fix for me was:

$ sudo ln -s /home/jamie/jdk1.6.0_10/jre/bin/java /usr/bin/java

although i don't know if this is the correct fedora way to do things.
)

cheers,
 Jamie
-- 
Jamie Riden / [EMAIL PROTECTED] / [EMAIL PROTECTED]
UK Honeynet Project: http://www.ukhoneynet.org/
_______________________________________________
Capture-HPC mailing list
Capture-HPC@public.honeynet.org
https://public.honeynet.org/mailman/listinfo/capture-hpc

Reply via email to