-
Bug
-
Resolution: Done
-
Major
-
8.0.0.Beta3
This is a follow up of JBDS-3025
When you browse for Java VM during installation on mac, there are two use cases:
a) Either you get to the parent folder and click the Home directory and and the push the Select button. In this case the parent will show up in the field, e.g. /Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents (note the Home missing at the end).
b) Or you browse all the way to the final directory, i.e. you double click Home when you're in the parent folder. Then, without selecting anything, you can click the Select button. This way, you will end up with e.g. /Library/Java/JavaVirtualMachines/jdk1.7.0_60.jdk/Contents/Home in the field. This is expected.
So scenario a) doesn't work as it should.
I would like to add, that there is a similar thing in Step 5 - Select Platforms and Servers. Here you can add paths with runtimes. In this case, both a) and b) scenarios work correctly. So perhaps you can check the code used there and use that?