re-produce the bug:
1. download java portable
2. double click on the icone (not install it in other way..)
3. an installe will open and you should agree and do next
4. at folder browse you will see this:
5.change the directotry to your desire location
directory sholde be the "your location"/commonfiles/java
add a screen-shot:
After choosing folder
directory appaere "your location"/java
need to fix.
NSIS doesn't permit a 2-deep directory to be autoselected in the same way, so this won't be fixed. Any advanced user (anyone manually selecting where something like this goes) will just have to ensure they put it in the right place.
Sometimes, the impossible can become possible, if you're awesome!