Added Java main to Java coexistence example