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

Поделиться
HTML-код
  • Опубликовано: 4 окт 2024

Комментарии • 55

  • @Ujjal.0011
    @Ujjal.0011 8 месяцев назад +8

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

  • @arshadadeeb3566
    @arshadadeeb3566 Год назад +20

    Ctrl+O to save it

  • @Zinix_64
    @Zinix_64 9 месяцев назад

    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.👍👍👍

  • @victorpinasarnault9135
    @victorpinasarnault9135 Год назад +3

    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?

    • @senteixTrader
      @senteixTrader Год назад +1

      did you change JAVA_HOME to point to where you uncompressed your java ? something like JAVA_HOME=/home/userxD/Java/jdk-17.0.6

    • @varshini.r9487
      @varshini.r9487 Год назад

      How did you went there I don't know how to save that

  • @ganeshn9464
    @ganeshn9464 6 месяцев назад

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

  • @jervx829
    @jervx829 5 месяцев назад

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

  • @RajSingh-uv6eq
    @RajSingh-uv6eq Год назад +4

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

  • @marielmdamian5675
    @marielmdamian5675 11 месяцев назад +2

    how do you save the file?

  • @shourovfoisal
    @shourovfoisal Год назад +1

    Helpful

  • @lunamore4077
    @lunamore4077 Год назад +3

    How to reload after save it

  • @SusanJhonson
    @SusanJhonson Год назад +1

    Thanks sir

  • @its_niraj01
    @its_niraj01 Год назад

    thanks its working. (21 June 2023)

  • @johncardona1910
    @johncardona1910 Год назад

    Thanks Bro keep it up doing more videos!

  • @jeonmichael1482
    @jeonmichael1482 2 года назад

    Bro what we have to do after these pls tell bro

  • @discipleanele9297
    @discipleanele9297 Год назад

    Thank you🎉

  • @Nana-ed5xh
    @Nana-ed5xh Год назад

    thank you sir, you helped me a lot. it worked for me.
    openjdk 11.0.17 2022-10-18
    OpenJDK Runtime Environment (build 11.0.17+8-post-Ubuntu-1ubuntu222.04)
    OpenJDK 64-Bit Server VM (build 11.0.17+8-post-Ubuntu-1ubuntu222.04, mixed mode, sharing)

    • @anishlol
      @anishlol Год назад +1

      You're running version 11

    • @MrHiDave
      @MrHiDave 10 месяцев назад

      how to reload

  • @swesarvar
    @swesarvar Год назад

    Thank you bro

  • @amthephoenix007
    @amthephoenix007 Год назад

    Thank you so much

  • @educallejo4874
    @educallejo4874 6 месяцев назад

    thank you, really

  • @aboba6183
    @aboba6183 Год назад

    Thank you!

  • @esprit-critique0.114
    @esprit-critique0.114 7 месяцев назад

    Thanks a lot

  • @macricat
    @macricat Год назад

    🙏

  • @senteixTrader
    @senteixTrader Год назад

    thank you!!

  • @manthanbhome5210
    @manthanbhome5210 2 года назад +4

    how did u save this file

  • @zhangyijue
    @zhangyijue Год назад +1

    where's the url from ??

  • @ashkanmb2898
    @ashkanmb2898 Год назад

    Thanks man

  • @arsingh8137
    @arsingh8137 Год назад

    thanks a lot man

  • @MuhammadArif-tp1gj
    @MuhammadArif-tp1gj 2 года назад

    done bro

  • @codingjhames
    @codingjhames 2 года назад +1

    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"

    • @OSTechHelp
      @OSTechHelp  2 года назад +1

      Please! reload profile. just type ". .profile" on terminal or set JAVA_HOME path on /etc/profile permanently

    • @andreyj5656
      @andreyj5656 Год назад

      just type sudo apt install openjdk-17-jre-headless

    • @lynnzhao1918
      @lynnzhao1918 Год назад

      Whoever has this problem please note: every time you open terminal to check java version you need to write the ". .profile" command first...kinda stupid but it works for me

    • @goldenG978
      @goldenG978 Год назад

      the one u are mentioning is the open source java development kit or openjdk , this one is oracle, if u r basic learner openjdk is more than enough , but if u r working for enterprise then for performance use oracle jdk

  • @leo_mittens6677
    @leo_mittens6677 Год назад

    T^T thank you

  • @RupeshKumar-dz4if
    @RupeshKumar-dz4if 2 года назад

    Nahi hua

  • @saadalisiddiqui5656
    @saadalisiddiqui5656 Год назад

    helps alot

  • @dhruvitkumaryadav4019
    @dhruvitkumaryadav4019 2 года назад

    [Running] python -u "/home/prohacker/Downloads/dj.py"
    /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

  • @divyamahadevan6704
    @divyamahadevan6704 Год назад

    Helpful