adjust profile for java