Partial conversion of Java code generation and runtime library