add java and ui