It's easy to move any application if you keep in mind where all the pointers to Java need to change.
The main place is in the registry. If you are moderately knowledgeable (or brave) you can search for all references to an application in regedit
with the find/next find
commands. Do not change anything you are not sure of. I restrict myself to address changes from the current old entry to the new location.
I'd make any path changes first in the environment variables as the Advanced System Settings-->Environment Variables-->path-->edit gives you an alphabetic ease to scan list on entries. This is also where you would change things like JAVA_HOME, etc., environment variables. If you don't understand what these are you probably shouldn't be doing this.
Once the environment variables are changed, the registry has been updated accordingly. Now search for references to the old address in the registry and update them.
I then copy the whole application directory to the new location en block and then try to run. If it runs ok, everything you've done is appropriate so far.
Then delete the contents of the old directory (remember, you can still recover it from the recycle bin)
Now try to run it again. If all goes well you're golden and other than any shortcuts you may still have to correct, you're done. If it doesn't run now, you missed an entry in the registry (very unlikely by this point). You should be able to figure out what missing.
Another option is Application Mover from Fundic Software. It's free and open source. https://www.funduc.com/app_mover.htm . I've used it without issues so far but it doesn't change environment variables that I know of. You may have to tweak some environment of short cuts still.
Hope this helps