Which Version of the Java Development Kit Should You Install & Do You Need to Pay for It?

Тәжірибелік нұсқаулар және стиль

Which Version of Java Development Kit Should You Install & Do You Need to Pay for It?
With the recent release of JDK 12, it's starting to get confusing for developers to figure out which version of the JDK they should be working with. Is it JDK 8 still, or JDK 12, or in fact is it JDK 11, which is the LTS (Long term support) version of the JDK?
This question is answered in this video, along with whether you should be using Oracle's JDK, or the OpenJDK, and if you have to pay to use the JDK if you decide on Oracles JDK.
It's about as clear as mud, right? Well it will be by the time you watch this video to the end.
Please let me know what you thought of the video by commenting below, and also please let me know what topics you would like me to cover in future videos.
If you're ready to look at the next coding-specific programming video, click on the link below to get redirected to the playlist for programming videos:
• Programming Tutorials
If you want to get some programming tips and pieces of advice, click on the link below to get redirected to the playlist for all programming tips:
• Programming Tip of the...
Consider subscribing by clicking on the Subscribe button right below the video.
Where to find out more about me:
My Video Courses
learnprogramming.academy/cour...
Twitter
/ timbuchalka
Facebook
/ tim.buchalka

Пікірлер: 70

  • @teamhairball4182
    @teamhairball41824 жыл бұрын

    No comments about the t-shirt logo added in post? ... Just me? Ok xD

  • @cezarhirsescu7641

    @cezarhirsescu7641

    3 жыл бұрын

    LMAOOOO i didnt realize it until i read your comment. That editor has his money cut out for him

  • @nelsonrojasnunez
    @nelsonrojasnunez4 жыл бұрын

    Thanks for the clarification :-) bests regards from Chile!

  • @luischocooj2466
    @luischocooj24663 жыл бұрын

    Thnks man, bests regards from Guatemala!!!

  • @fazlizekiqi2324
    @fazlizekiqi23244 жыл бұрын

    Great video! Thank you

  • @emilefeltesse
    @emilefeltesse3 жыл бұрын

    Very useful information.. thx a lot!

  • @phxm7853
    @phxm78532 жыл бұрын

    Thank you, this helped.

  • @Geminis3505
    @Geminis35055 жыл бұрын

    Thank you so much for the video

  • @TheLearnProgrammingChannel

    @TheLearnProgrammingChannel

    5 жыл бұрын

    You are welcome!

  • @ignaciodamiang
    @ignaciodamiang2 жыл бұрын

    Thank you man!

  • @learnlearn7627
    @learnlearn76274 жыл бұрын

    Thank you!

  • @TheDavidlloydjones
    @TheDavidlloydjones5 жыл бұрын

    I think we have seen Oracle invent the wooden stake and the silver bullet for putting Java out of its misery. Give these guys the Nobel Prize in self-inflicted FUD.

  • @TheLearnProgrammingChannel

    @TheLearnProgrammingChannel

    5 жыл бұрын

    I think more than anything Oracle are trying to make money out of Java via support contracts and licensing costs for business. Time will tell how this plays out!

  • @TheDavidlloydjones

    @TheDavidlloydjones

    5 жыл бұрын

    @@TheLearnProgrammingChannel Tim, Well said. That's the Lou Gerstner attitude that saved IBM twenty or thirty years ago, and Oracle may be due for the same sort of make-over. I think you're right that this is what they're trying to do; they're showing a remarkable lack of grace as they fumble through. On the good side, the last Oracle thingie I worked my way through was {looks on ancient bookshalf} "Oracle 8: The Complete Reference." This was written with first rate skill and occasional flashes of wit -- so I think there's some good sense here and there in the company. They're white-hats and we can all wish them well with the transition. "Software" is, of course, a service, but it still tends to be sold with a hardware mindset-- indeed a "package goods" mindset, and I remind you that "package goods" is another term for the liquor store business. You put it in a box, wrap the box in cellophane and sell it with a manual. If you absolutely have to, you put up an online help "service" with hundreds of FAQs -- as if 1/100th of the time qualified as "frequent." Thank you, by the way, for your good programming channel. Your advice is sound and your knowledge is a treasure for the community. So well done and many thanks.

  • @TheLearnProgrammingChannel

    @TheLearnProgrammingChannel

    5 жыл бұрын

    You may well be right! Well said, and thanks for the kind words.

  • @renatolins9812
    @renatolins98123 жыл бұрын

    Starting in Python is like: "Wow, I´ve built my own artificial intelligence, now I can train it" Starting in Java is like: "Wow, I´ve found a Java version that is not paid and I could even configure environment variables. Now I can save some money for my official certification"

  • @IoSonoPiero
    @IoSonoPiero5 жыл бұрын

    Thanks Tim!

  • @TheLearnProgrammingChannel

    @TheLearnProgrammingChannel

    5 жыл бұрын

    You are welcome!

  • @lumennganje2721
    @lumennganje27213 жыл бұрын

    As a developer, can I use the open jdk to operate the oracle dbms or better still oracle sql developer

  • @TheMhankel
    @TheMhankel5 жыл бұрын

    #greatadvice Thank you, Tim!

  • @TheLearnProgrammingChannel

    @TheLearnProgrammingChannel

    5 жыл бұрын

    You are welcome!

  • @robdmorton
    @robdmorton5 жыл бұрын

    Thanks for this video...it cleared up a lot for me. What happened to IBM's version of Java?

  • @TheLearnProgrammingChannel

    @TheLearnProgrammingChannel

    5 жыл бұрын

    No problem. IBM's JDK is still available for download - developer.ibm.com/javasdk/downloads/

  • @HuGiv5
    @HuGiv53 жыл бұрын

    Tim heard that Java 16 or 17 will release this year as LTS, should I download Amazon Correto 16 & replace 11 on Intellij? I'm halfway through the Masterclass.

  • @bharadwajs6613
    @bharadwajs66133 жыл бұрын

    Thanks I switched to lts and ur recommendation Amazon corretto

  • @MoosesValley
    @MoosesValley4 жыл бұрын

    Hi Tim, you talk briefly about Java 8. Does the licensing issue apply to Java 8 ? Can a company continue to use Oracle JDK 8 and JRE 8 with the latest updates (yes, it is still being updated) without paying any licensing costs ? Do you have any links / sources for further information or evidence ? (One of my clients is worried about continued use of Java, and I'm trying to set their minds at rest, but there is so much misinfornation and conflicting information out there. Even the Oracle Devs who post on Reddit (r/programming) cannot get their stories or facts straight. So much misinfornation and conflicting information out there. I don't know why Oracle don't put up an official web page - or better yet a video like yours - with everything simply explained (like your video). P.S. Thaks for the clear and concise video. +1 Likes, +1 Subscribers. 👍 😀

  • @venkatakishore8140
    @venkatakishore81405 жыл бұрын

    AS i installed JDK11 at starting stage of programming and setup nicely with that and executed my HELLOWORLD programm.After my HELLOWORLD programme we moved to BYTESHORTINT programme at that stage we go we are opening the project with right click and there we go through thr option called "open module settings" there we are selecting JDK8..My BYTESHORTINT programme is getting an error like this , Error: Could not find or load main class com.myself.Main Caused by: java.lang.ClassNotFoundException: com.myself.Main My question is 1) Because of selecting JDK8 at "open module settings" its getting error ?? 2)what we have to use in "open module settings" JDK11 or JDK8 ?

  • @TheLearnProgrammingChannel

    @TheLearnProgrammingChannel

    5 жыл бұрын

    I'm thinking you have forgotten to add a package statemeent to your code, or somehow your java source file got moved into the wrong folder. Or you might just have to right click in the main method when using IntelliJ and click Run for the classpath to be set correctly so it works. Without seeing your code its pretty hard to figure out.

  • @arjunthomas4560
    @arjunthomas45603 жыл бұрын

    sir.. I am using a 32 bit system.. i can't install jdk11 since only 64 bit version is available for download.. what should i do ?

  • @deviprasadmishra805
    @deviprasadmishra8054 жыл бұрын

    Sir learning java 5.0 still worth from the book called head first java

  • @THE16THPHANTOM
    @THE16THPHANTOM4 жыл бұрын

    but what is this support you are paying for about? is it like when software crashes you can call the Oracle guys and they come and debug it, even though they didn't make said software? he didn't mention anything about may the open one getting security updates months later. do they do that? withholding security updates, that would be insane.

  • @bharadwajs6613
    @bharadwajs66133 жыл бұрын

    Is Abstract window Toolkit enough for gui? JavaFX has more work with xmls. I use netbeans for practice and am a student of your udemy java programming master class

  • @chrisoneill1397
    @chrisoneill13975 жыл бұрын

    Just wondering out of curiosity. I've just gone back to download the JDK from Oracle on a new machine. last time there was no need, I just clicked on the link and downloaded the selected JDK, but this time it is directing me to set up an Oracle account in order to download. Anyone any idea why?

  • @TheLearnProgrammingChannel

    @TheLearnProgrammingChannel

    5 жыл бұрын

    If you go here you won't be asked to create an Oracle account - www.oracle.com/technetwork/java/javase/overview/index.html Depending on where you start on Oracles website you might be asked to create an account, but if you check the page you will usually be able to skip it if asked by clicking a link somewhere on the page. In the case of the URL above it's not asking me to create an account.

  • @bobogadlela1362

    @bobogadlela1362

    3 жыл бұрын

    @@TheLearnProgrammingChannel this works well with the latest version but for lower versions you are still expected to sign up/login!I have only tested jdk 14 and 11 - not sure about the rest.Thanks a lot!Didnt know about this

  • @nalindawickramarathna8730
    @nalindawickramarathna87303 жыл бұрын

    How about the AdoptOpenJDK ? Any thoughts.

  • @smartdroidesign7998
    @smartdroidesign79985 жыл бұрын

    I am a bit confused. In the About Android Studio, it says: Android Studio 3.3.2 Build #AI-182.5107.16.33.5314842, built on February 15, 2019 JRE: 1.8.0_152-release-1248-b01 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o macOS 10.14.3 Doesn't it mean that we are effectively using the openJDK? If so, this is the default in both IntelliJIDEA and Android Studio, as I use in both the embedded JDK version, which is also recommended. Can we clarify this point?

  • @cr4sher7

    @cr4sher7

    5 жыл бұрын

    If I remember correctly IntelliJ and Android Studio uses its own version of JVM/JRE that has been developed by JetBrains and slightly modified to improve displaying elements in Swing etc. It is being used by default and can be changed by ctrl+shift+a and typing "switch boot jdk"(it's not recommended to do that though). JRE can be found directly in the IDE directory in "jre64" folder. Basically it is only used by IntelliJ to run and display things. What JDK you decide to use in your project is a separate matter and can be configured in the project structure. If its supported by your IDE you can run Java 11/12 or whatever other version you wish.

  • @TheLearnProgrammingChannel

    @TheLearnProgrammingChannel

    5 жыл бұрын

    From Android N onwards, Google has been using the OpenJDK, yes.

  • @smartdroidesign7998

    @smartdroidesign7998

    5 жыл бұрын

    @@TheLearnProgrammingChannel That does not seem the be the case, unfortunately. Try to call from terminal, in Studio, java -version. If explicitely pointing to the openSDK, the output would be something like: openjdk version "11.0.2" 2019-01-15 OpenJDK Runtime Environment 18.9 (build 11.0.2+9) OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode) If you try the same with the recommended SDK setting, it does not, and prompts the same message-version you see using the Oracle SDK.

  • @TheLearnProgrammingChannel

    @TheLearnProgrammingChannel

    5 жыл бұрын

    @@smartdroidesign7998 Firstly when you go to term and type java - version, that's just going to find what is on the system path. In your example, you showed from the About Android Studio window note that it says JRE (Java Runtime Edition) and not JDK. The JRE 1.8.0 is what Android Studio is using to execute Android Studio itself and not Android programs you create. Android N (the operating system itself) is what is using then OpenJDK. See here for further information. en.wikipedia.org/wiki/Android_Nougat

  • @smartdroidesign7998

    @smartdroidesign7998

    5 жыл бұрын

    @@TheLearnProgrammingChannel I see, thanks for sharing the link, much appreciated.

  • @PatchRowcester
    @PatchRowcester5 жыл бұрын

    What is your opinion of using Amazon's Coretto JDK?

  • @TheLearnProgrammingChannel

    @TheLearnProgrammingChannel

    5 жыл бұрын

    I haven't used it, but I've heard its a great JDK alternative - I've made a note to look into it more and will post a video in the future about it.

  • @harmeetsingh4488
    @harmeetsingh44885 жыл бұрын

    Can I use eclipse and jdk in a laptop with 2 GB ram

  • @TheLearnProgrammingChannel

    @TheLearnProgrammingChannel

    5 жыл бұрын

    2GB of ram with windows and eclipse is probably not going to work - it might but will be very very slow. I'd suggest at least 4GB of ram if at all possible.

  • @harmeetsingh4488

    @harmeetsingh4488

    5 жыл бұрын

    @@TheLearnProgrammingChannel thanks for replying sir

  • @ricardotijerina886
    @ricardotijerina8864 жыл бұрын

    Can i use a Programming Book for Oracle's Java 8 with Open JDK?

  • @hanro50

    @hanro50

    3 жыл бұрын

    ...I don't see why you can't.

  • @nayanraut5487
    @nayanraut54872 жыл бұрын

    is "Java SE 8 (JRE) Update 211" is free or needs to licenses

  • @shahoodgmail
    @shahoodgmail5 жыл бұрын

    Which version of the JDK is being offered by Android Studio as a default?

  • @TheLearnProgrammingChannel

    @TheLearnProgrammingChannel

    5 жыл бұрын

    Since Android N, Google have been using the OpenJDK 8. Android tends to lag behind Java versions, so in time they will upgrade probably to JDK 11.

  • @hanro50

    @hanro50

    3 жыл бұрын

    I think Google will probably stick to openJDK 8 for now.... considering they're in a legal battle with Oracle

  • @allanm6246
    @allanm62465 жыл бұрын

    What if you just want to use JavaFX? Would you need to pay too?

  • @TheLearnProgrammingChannel

    @TheLearnProgrammingChannel

    5 жыл бұрын

    Yes, because JavaFX runs on the JDK - But again developers don't have to pay, and if you use the OpenJDK you also do not need to pay.

  • @KinkyJalepeno

    @KinkyJalepeno

    5 жыл бұрын

    No, there are fully supported Open JDK's that include FX such as www.azul.com/downloads/zulu/zulufx/ which I use.

  • @riteshghorpade_rmg
    @riteshghorpade_rmg4 жыл бұрын

    Do you think ,that people will go more towards Python because of the current policy of Oracle ,and Java may die one day ?

  • @sulemankhan523
    @sulemankhan5235 жыл бұрын

    Is Java Open Source Language ?

  • @TheLearnProgrammingChannel

    @TheLearnProgrammingChannel

    5 жыл бұрын

    Then OpenJDK is open source, yes.

  • @html.bat1692
    @html.bat16922 жыл бұрын

    check the date :/

  • @Alqqr
    @Alqqr2 жыл бұрын

    Who watched this because minecraft It makes you get stuck at some kind of fps for me is 30 31 And the version is the one

  • @jackma887
    @jackma8874 жыл бұрын

    我悟了 大师

  • @ABHISHEKSINGH-nv1se
    @ABHISHEKSINGH-nv1se3 жыл бұрын

    java is slowly sliding towards its death.

  • @javacppdevelopment3884
    @javacppdevelopment38844 жыл бұрын

    OpenJDK... is that even a question?

  • @wellcherry4514
    @wellcherry45142 жыл бұрын

    thanks boomer

  • @D-J-Q
    @D-J-Q3 жыл бұрын

    This is a joke. Look at the date.

  • @satoshinakamoto171
    @satoshinakamoto1714 жыл бұрын

    java is dead. dont want to help a corporation gain recognition for my contribution. ever. open source language or not at all. python all the way

Келесі