java class config