(In theory) finished porting SCF over to Java.