Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Java view doesn't show local versions #11

Open
ananni13 opened this issue Jun 17, 2019 · 2 comments
Open

New Java view doesn't show local versions #11

ananni13 opened this issue Jun 17, 2019 · 2 comments

Comments

@ananni13
Copy link

With the latest updates on improving candidates handling, the list view doesn't show local versions anymore, previously marked with "+". They are still usable but don't show up in the list.

Maybe it can be added at the end like another vendor?

================================================================================
Available Java Versions
================================================================================
 Vendor        | Use | Version      | Dist    | Status     | Identifier
--------------------------------------------------------------------------------
 ...
 java.net      |     | 14.ea.1      | open    |            | 14.ea.1-open        
               |     | 13.ea.25     | open    |            | 13.ea.25-open       
               |     | 12.0.1       | open    |            | 12.0.1-open         
               |     | 11.0.2       | open    |            | 11.0.2-open         
               |     | 10.0.2       | open    |            | 10.0.2-open         
               |     | 9.0.4        | open    |            | 9.0.4-open          
local          |     |              |         | installed  | <name-you-used>
               |     |              |         | installed  | <name-you-used>
@marc0der
Copy link
Member

It seems like a bug slipped through yes. Local versions are in fact displayed, but the restriction here being that it needs to be added with a name suffix ending in a vendor identifier. At the moment, the supported vendor suffixes are adpt, amzn, grl, librca, open, sapmchn, zulu and zulufx.

Could you try re-adding the version with one of these suffixes to see if it works? eg. myversion-open

@ananni13
Copy link
Author

Thanks, adding them like this works.

Could it be possible to allow custom vendor suffixes?
I think one the most common use cases of the local install is to manage sdks of vendors not already included, so limiting it only to those will lead to a messy view of mismatched entries if I have to add an unrelated sdk to the list.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants