How to install Oracle JDK 17 (Java 17) on Ubuntu 22.04 LTS

preview_player
Показать описание
In this video I will show how to install Oracle JDK 17 (Java 17) on Ubuntu 22.04 LTS.

Thank You For Visiting My Channel.
****** Subscribe & Support ******
Рекомендации по теме
Комментарии
Автор

JAVA_HOME=your jdk/bin path
export JAVA_HOME
PATH=$JAVA_HOME/bin:$PATH
export PATH

Ujjal.
Автор

Thanks for the help man. Keep up your good work! I was having trouble with installing java i was confused but your video help me so... I think you need to keep up your hard work! Great job man for helping the people who does not know how to install java great work.👍👍👍

Zinix_
Автор

Thanks Bro keep it up doing more videos!

johncardona
Автор

Bro what we have to do after these pls tell bro

jeonmichael
Автор

Very very beautiful and simple.... I have also seen in some cases people use "Installation scripts" to install the Java SDK. Whats the use ?

ganeshn
Автор

Didn't worked for me.
I'm currently using openJDK and already updated it. But how can I install JDK 17 on my Ubuntu Linux?
I followed your steps until the profile file, but then when I type '. .profifle', the terminal shows me: 'JAVA: command not found'. What happened?

victorpinasarnault
Автор

java works, but when I type jdk it doesnt and tell me to install jdk

jervx
Автор

Now save this file, how did u do that? how to save the file?

RajSingh-uveq
Автор

thank you sir, you helped me a lot. it worked for me.

openjdk 11.0.17 2022-10-18
OpenJDK Runtime Environment (build
OpenJDK 64-Bit Server VM (build 11.0.17+8-post-Ubuntu-1ubuntu222.04, mixed mode, sharing)

Nana-edxh
Автор

followed all the steps, and restart my PC and when i typed java --version command on the terminal it shows: "java --version
Command 'java' not found, but can be installed with:
sudo apt install openjdk-11-jre-headless # version 11.0.15+10-0ubuntu0.22.04.1, or
sudo apt install default-jre # version 2:1.11-72build2
sudo apt install openjdk-18-jre-headless # version 18~36ea-1
sudo apt install openjdk-8-jre-headless # version 8u312-b07-0ubuntu1
sudo apt install openjdk-17-jre-headless # version 17.0.3+7-0ubuntu0.22.04.1"

codingjhames
Автор

[Running] python -u
/bin/sh: 1: python: not found

[Done] exited with code=127 in 0.025 seconds



erro in python code run, in vs code on ubuntu 22.04lts


please give solution

dhruvitkumaryadav