cap_java