2

This may seem innocuous, but it's got me thinking...

I'm currently setting up a fresh Azure server for a project. It needs Java for a number of the things it will be doing. One thing I like to do is put everything I'm running into a certain subfolder to keep things tidy and easy to find.

I've put all sorts of other programs into this subfolder (things I know enough about that I don't fear installing to non-standard locations), but what about Java? Is there a reason I shouldn't install it to a non-default location? Is there something I don't know what would make this a bad idea?

Thanks.

proteus
  • 676
  • There is no inherent problem with doing this. You'll need to manage things like JAVA_HOME settings but other than that, it is pretty self-contained. – Mary Jul 24 '15 at 22:25

1 Answers1

1

JDK and JRE are relocatable. You can move them without any problem. Make sure you point JAVA_HOME or JRE_HOME to the proper folder.