]
Martin Malina updated JBDS-3109:
--------------------------------
CDW qa_ack: + (was: ?)
OS X: Browse for Java VM returns parent folder from the selected one
--------------------------------------------------------------------
Key: JBDS-3109
URL:
https://issues.jboss.org/browse/JBDS-3109
Project: Developer Studio (JBoss Developer Studio)
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: installer
Affects Versions: 8.0.0.Beta3
Reporter: Martin Malina
Assignee: Denis Golovin
Fix For: 8.0.0.CR1
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?