Uploaded image for project: 'Red Hat CodeReady Studio (devstudio)'
  1. Red Hat CodeReady Studio (devstudio)
  2. JBDS-3109

OS X: Browse for Java VM returns parent folder from the selected one

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 8.0.0.CR1
    • 8.0.0.Beta3
    • installer

      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?

              nivologd@gmail.com Denis Golovin (Inactive)
              exd-mmalina Martin Malina
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: