add java resources