how to configure multiple versions of java on linux