set java if java