SDKMan: Difference between revisions

From Chorke Wiki
Jump to navigation Jump to search
Line 42: Line 42:
==Playground==
==Playground==
{|
{|
|valign='top'|
<source lang="bash">
sdk install java 23.1.2.r21-mandrel
sdk install java 21.0.2-graalce
sdk install java 21.0.2-graal
</source>
|valign='top'|
<source lang="bash">
sdk use java 23.1.2.r21-mandrel
sdk use java 21.0.2-graalce
sdk use java 21.0.2-graal
</source>
|valign='top'|
<source lang="bash">
sdk uninstall java 23.1.2.r21-mandrel
sdk uninstall java 21.0.2-graalce
sdk uninstall java 21.0.2-graal
</source>
|-
|valign='top'|
----
|-
|valign='top'|
|valign='top'|
<source lang="bash">
<source lang="bash">
Line 54: Line 79:


|valign='top'|
|valign='top'|
<source lang="bash">
sdk install java 23.1.2.r21-mandrel
sdk install java 21.0.2-graalce
sdk install java 21.0.2-graal
</source>


|valign='top'|
|valign='top'|
<source lang="bash">
sdk uninstall java 23.1.2.r21-mandrel
sdk uninstall java 21.0.2-graalce
sdk uninstall java 21.0.2-graal
</source>


|}
|}

Revision as of 10:45, 3 March 2024

curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"
cat ~/.bashrc 
sdk version

Management

sdk install springboot
sdk install quarkus
sdk install groovy
sdk install gradle
sdk install jbang
sdk install maven
sdk install java
sdk install springboot {verion-number}
sdk install quarkus {verion-number}
sdk install groovy {verion-number}
sdk install gradle {verion-number}
sdk install jbang {verion-number}
sdk install maven {verion-number}
sdk install java {verion-number}

Playground

sdk install java 23.1.2.r21-mandrel 
sdk install java 21.0.2-graalce
sdk install java 21.0.2-graal
sdk use java 23.1.2.r21-mandrel 
sdk use java 21.0.2-graalce
sdk use java 21.0.2-graal
sdk uninstall java 23.1.2.r21-mandrel 
sdk uninstall java 21.0.2-graalce
sdk uninstall java 21.0.2-graal

sdk list springboot
sdk list quarkus
sdk list groovy
sdk list gradle
sdk list jbang
sdk list maven
sdk list java

References