Forem

Ayushnita
Ayushnita

Posted on

Install java in ubuntu using SDK

Are you a java/kotlin Developer, it is very important to maintain all its java versions and use them accordingly and it is very hard and want to maintain it, then this video is for you.
In this video, I try to explain how sdkman helps us to install, maintain and use different JDK tools for the Linux system.

To install sdkman you require to run the below commands:
curl -s "https://get.sdkman.io" | bash
source "$HOME/.sdkman/bin/sdkman-init.sh"

once sdkman verify its version using

1.sdk version

you are ready to go, java is a single command from you let's grab it

1.sdk i java {version}

really done!!!

yes you are now if you want you can list all different version for java using

1.sdk ls java

you can install another version on java too and to use that only run

1.sdk use java {version}

In the next video, we saw how to configure your IDE.

Important Links:
https://sdkman.io/
https://www.oracle.com/java/technologies/java-se-support-roadmap.html
https://youtu.be/ENFx_sZpHko

Image of Timescale

🚀 pgai Vectorizer: SQLAlchemy and LiteLLM Make Vector Search Simple

We built pgai Vectorizer to simplify embedding management for AI applications—without needing a separate database or complex infrastructure. Since launch, developers have created over 3,000 vectorizers on Timescale Cloud, with many more self-hosted.

Read more →

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay