When you run this command, you will get a list in the following format: =Īpache ActiveMQ® is a popular open source, multi-protocol, Java-based messageīroker. Listing packages and versionsįirst of all, if we don’t know the name of the package or even if we just want to check the available packages, we can run the list command. We can list candidates and their versions to get this information. Now that you have installed your first package, what if you want to install a different version or even a different jdk distribution in the case of Java? What if you don’t even know the exact name of your package? This will install the latest default version of Java into our sdkman configuration, the output should look similar to this: ~ sdk install java In this case, installing the latest java version would be as simple as the following: sdk install java In some cases is very intuitive, for example to install Java, the candidate name is just java as expected. To install a package (also called “candidate” in sdkman) you first need to know how is the candidate named in sdkman. Getting started Installing packages – Install Java with sdkman In our example we’ll see how to install java using sdkman. Now that you have sdkman installed, let’s see how to use it. If everything goes well, you should be seeing something similar to this: ~ sdk version In order to check if the installation has been successfully completed, you can run this from the command line: sdk version You can also check on their website, but it’s as simple as running this: curl -s "" | bash You can easily switch between different versions without having to deal with changes in your $PATH variable. Sdkman ( Software Development Kit Manager) is a tool to keep parallel versions of different SDKs on unix-based systems. In this article you will learn how to install and how to use sdkman.
0 Comments
Leave a Reply. |