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

Link to "latest Java version" #6

Closed
stevenschlansker opened this issue Apr 10, 2016 · 5 comments
Closed

Link to "latest Java version" #6

stevenschlansker opened this issue Apr 10, 2016 · 5 comments

Comments

@stevenschlansker
Copy link

Right now, if you set up any references to JVMs, you'll put the patch number in the location. For example,

  <!-- JDK toolchains -->
  <toolchain>
    <type>jdk</type>
    <provides>
      <version>1.8</version>
      <vendor>oracle</vendor>
    </provides>
    <configuration>
      <jdkHome>/Users/steven/.jabba/jdk/1.8.77/Contents/Home</jdkHome>
    </configuration>
  </toolchain>

It would be nice if Jabba could maintain a 1.8 jdk which is a symlink to the latest installed 1.8.x

@shyiko
Copy link
Owner

shyiko commented Apr 11, 2016

@stevenschlansker This is an excellent idea! Will do. Thank you.

@liaoya
Copy link

liaoya commented May 12, 2017

It will be better if there is a link for current JDK. You can take a look at junction or ln.ps1 for link support on Windows

@shyiko
Copy link
Owner

shyiko commented May 12, 2017

For the record, you can use jabba link to achieve something similar (e.g. jabba link [email protected] $(jabba which)). It's not the same as the original feature request though.

@shyiko
Copy link
Owner

shyiko commented Sep 20, 2017

@stevenschlansker @liaoya I'm happy to announce that this issue is effectively resolved (both your use-cases are implemented in 0.9.0) 🎉

(see 0.9.0 release notes for details)

@shyiko shyiko closed this as completed Sep 20, 2017
@shyiko
Copy link
Owner

shyiko commented Sep 20, 2017

(to link existing JDKs execute jabba link; links are automatically updated on each jabba install/jabba uninstall & jabba alias default <semver>)

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

3 participants