[MAC] Eclipse + Java Development Kit (JDK) Installation on macOS Catalina + First Java Project

Поділитися
Вставка
  • Опубліковано 3 гру 2024

КОМЕНТАРІ • 106

  • @angelm7088
    @angelm7088 3 роки тому

    After hours of watching other videos in order to get this done, this video helped me open the ide in less than 10 minutes

  • @Hollywood2019
    @Hollywood2019 2 роки тому +1

    Thank you so much for the time you have taken to break down this install

  • @karimsalib3494
    @karimsalib3494 3 роки тому +1

    i love you, you literally saved me a whole day trying to figure this thing out

  • @qp6ri
    @qp6ri 4 роки тому

    I managed to successfully download the latest version 14.0.2. Thank you so much for this detailed steps!

  • @DemetrideSkepsi
    @DemetrideSkepsi 4 роки тому +10

    Thank you for all the information! It was a great walkthrough. Funny error at 2:13, must have happened during render or upload. Great video otherwise =)

    • @SpideCooper
      @SpideCooper 4 роки тому

      yeah i thought my laptop was acting funny for a bit XD

  • @christopherosborne7270
    @christopherosborne7270 3 роки тому

    Can you explain the next step in setting up your java home on a Mac?

  • @aliciasternkopf4799
    @aliciasternkopf4799 4 роки тому

    Dear Dan, thanks a lot for that super clear explanation!

  • @paskuvan
    @paskuvan 4 роки тому +1

    You makes me a smile, thank you!

  • @emmalu3891
    @emmalu3891 4 роки тому

    ahh, thank you so much. It took me 2 days to try to figure this out until I saw your video!

    • @DanielGrissom
      @DanielGrissom  4 роки тому

      You're welcome! If you want more easy-to-follow videos, try my course at hellodrdan.com

  • @kannisaravana8791
    @kannisaravana8791 4 роки тому +1

    Thank you so much, detailed instruction on step by step installation and running first java program for my middle schooler

    • @DanielGrissom
      @DanielGrissom  4 роки тому

      You're welcome! Make sure to checkout my online course if he's interested in learning from scratch: www.hellodrdan.com/

  • @ladymatata8945
    @ladymatata8945 4 роки тому

    Hey man! Thanks for this!
    Do you do anyway 1 on 1 training?

    • @DanielGrissom
      @DanielGrissom  4 роки тому

      I am considering offering 1-on-1, but a far cheaper option would be to take my online course which offers 60+ hours of video training! You can find it here: You're welcome! Make sure to checkout my online course if you want to learn to program using my style: www.hellodrdan.com/

  • @nikimorski
    @nikimorski 4 роки тому

    Thank you so much, I felt like I was getting left behind because I couldn't figure this out.

  • @eva_immortal
    @eva_immortal 3 роки тому

    any advise for people using M1 chip

  • @indiecrayfish
    @indiecrayfish 3 роки тому

    Saved the day thank you

  • @ihorkosovych8555
    @ihorkosovych8555 4 роки тому

    Thank you Daniel. All works fine!

  • @Lacasqueria
    @Lacasqueria 4 роки тому +5

    Hi, thanks a lot for your tutorial. However I keep getting this error when trying to install Eclipse: "Failed to create the Java Virtual Machine." Do you know how to fix it? Thank you in advance.

    • @alMighty8989
      @alMighty8989 4 роки тому +1

      same too... so frustrating shit realy

    • @sikandina3309
      @sikandina3309 4 роки тому

      Check JDK and JRE is the same version

    • @hetvichandan8674
      @hetvichandan8674 4 роки тому +1

      I have been getting that same alert message! I tried multiple times.

    • @jinchengzhxo
      @jinchengzhxo 4 роки тому

      MEE TOOOO

    • @DanielGrissom
      @DanielGrissom  4 роки тому +1

      Hey, I had another student complain of the same thing. Ultimately she said this after fixing it: "Yes I finally fixed it after I realized eclipse wasn't recognizing Java 14." I think some people may be accidentally downloading a new(er) version of Java (14)...for some reason, only Java 8 seems to work on a Mac. I think this was the main issue and she likely had to uninstall Java 14 and go with Java 8.
      For reference, here were some other things I suggested to her:
      I'm not exactly sure what your issue is (by the way, this is typically the hardest part...getting the software installed!), but I suspect it may have something to do with your environment variables not being setup properly (essentially, Mac might not know where to find the Java software). Probably the next thing I would do would be to look into the JAVA_HOME variable to see if it's setup properly (assuming that the JDK is indeed installed properly (java -version).
      Here is a textual solution on stack overflow that might solve your problem: stackoverflow.com/questions/52652846/cant-install-eclipse-failed-to-create-the-java-virtual-machine-on-mac/56532418
      Here is a UA-cam video you may try to follow along with (starting at about 6 minutes) to see if his solution fixes your problem (I think the video is getting at the same thing as the link above):
      ua-cam.com/video/kTpkPu__jjM/v-deo.html

  • @vivil7917
    @vivil7917 4 роки тому

    Thank you sir, your video is very helpful for Java new learner!

  • @Yeshttpme
    @Yeshttpme 4 роки тому

    Thank you for the tutorial it helps so much.

  • @sanjivshrestha5158
    @sanjivshrestha5158 3 роки тому

    Really worked. Thanks a lot 🙏🙏

  • @Pinkpoochie
    @Pinkpoochie 3 роки тому

    Thank you for the github. Such a great resource.

  • @heath8358
    @heath8358 4 роки тому +1

    Hi there there's an audio glitch at 2:12

  • @hiragasaitou9629
    @hiragasaitou9629 4 роки тому

    Thanks man you are truly pro ❤️❤️
    I just subscribed

  • @joshvidoseiwusu868
    @joshvidoseiwusu868 3 роки тому

    Thanks a lot man. Love

  • @happyfeet00
    @happyfeet00 3 роки тому

    you're the best thanks

  • @greg198
    @greg198 3 роки тому

    I do have java installed as it works on terminal. but it doesn't show on system preferences or work on Minecraft.

  • @chrisshannon4768
    @chrisshannon4768 4 роки тому

    Thanks for the help!
    One question - What do I do if AdoptOpenJDK doesn't show up in the 'Use a project specific JRE' field, is that okay? I've verified installation of Java with the terminal and restarted Eclipse but it's using JavaSE-14 and doesn't show the JDK for project specific JRE. any help is appreciated!
    edit: I may have found it... I already had Eclipse Installed before downloading the JDK so I went to reinstall and select AdoptOpenJDK from the install page in Java 11+ VM field. Click the folder icon and find AdoptOpenJDK under System but it unselectable. Java 14 and 11 are the only ones you can select under External. Is the JDK already included in this version? Sorry for all the questions!

  • @PramodChamlingRai
    @PramodChamlingRai 4 роки тому

    How to Fix this issue in Eclipse oxygen
    An error has occurred.
    eclipse-workspace/.metadata/.log.

  • @nanwu3650
    @nanwu3650 4 роки тому

    Is JDK required for Eclipse, if you are just writing simple Java programs? Thanks.

  • @ameyashetty1441
    @ameyashetty1441 4 роки тому

    can you give me the link plz

  • @educationalchannel2532
    @educationalchannel2532 3 роки тому

    Please help me how to install
    Java ME CLDC Platform Emulator
    on Macbook pro mid 2012
    Because when I open the java - new project - Java ME - mobile application, it direct me to pop up
    this wizard guides you through a java ME project creation
    every CLDC prjects need to have CLDC compatible SDK/platform/emulator assigned to it.
    Pressing install SDK/platform/emulator button open Platform installation wizard, which allow you to add a platform
    then I click the box "install SDK/platform/emulator"
    After I click the box "install SDK/platform/emulator", there is a box "add platform", and I choose to install "Java ME CLDC Platform Emulator", but when I click next, there is a pop up choose directory to search for platform. I have no idea what is this?
    What should I choose? please help. Do you have a video guidance about it?

  • @masonmartin1464
    @masonmartin1464 4 роки тому

    can you show how to download JavaFX as well!

  • @samg9820
    @samg9820 3 роки тому

    Oh man Thank you so much!! Bro

  • @Rey-01
    @Rey-01 4 роки тому

    Thank you very much.
    very helpful

  • @AhmedKhames2011
    @AhmedKhames2011 4 роки тому

    I would like to thank you for being a very helpful person

    • @DanielGrissom
      @DanielGrissom  4 роки тому

      Thank you for being a very kind person!

  • @scottmullin-henderson851
    @scottmullin-henderson851 3 роки тому

    great tutorial!

  • @diegojuarez8019
    @diegojuarez8019 3 роки тому

    thank you for your help.

  • @arya5lakshaya
    @arya5lakshaya 3 роки тому

    Eclipse not visible in Launchpad...

  • @mazenal-ali3543
    @mazenal-ali3543 4 роки тому +1

    actually I have done the same steps you showed, but I have got an error when installing Eclipse saying "Alert Java Virtual Machine could not be found" I don't know what to do, Any Help?

    • @letsgame2044
      @letsgame2044 4 роки тому

      me too same error
      help plz

    • @kannisaravana8791
      @kannisaravana8791 4 роки тому

      Mazen Al-Ali install java again, when you type java -version in your terminal what does it say?

    • @mjybcckjs7882
      @mjybcckjs7882 4 роки тому

      @@kannisaravana8791 sorry for interrupt, mine is Java(TM) SE Runtime Environment (build 14+36-1461)
      Java HotSpot(TM) 64-Bit Server VM (build 14+36-1461, mixed mode, sharing)

    • @manjunathm3965
      @manjunathm3965 4 роки тому

      Even I was getting the same error. There can be mainly 3 reasons
      1. Make sure that JDK and JRE and eclipse belongs to the same architecture (32bit or 64 bit)
      2. Make sure that the JAVA_HOME path is set in your system.
      3. You may be having multiple versions of java installed in your system, and while installing eclipse you have to make sure that it is pointing to java 1.8.
      Better reinstall java properly and set up the JAVA_HOME and try again.

  • @CareFree014
    @CareFree014 4 роки тому

    Thank you so much, this was so helpful

    • @DanielGrissom
      @DanielGrissom  4 роки тому

      You're welcome! Make sure to checkout my online course if you want to learn to program using my style: www.hellodrdan.com/

  • @karas7716
    @karas7716 4 роки тому

    Do we have to set up environment variables? And how?

    • @manjunathm3965
      @manjunathm3965 4 роки тому

      Yes. You can do it by entering "export JAVA_HOME=$(/usr/libexec/java_home)" in '.bash_profile' file. This '.bash_profile' can be found in /Users/'yourUserSpace'. And if any case it's not found then you can just create the file and enter the path.

  • @khoingokorea976
    @khoingokorea976 4 роки тому +1

    thank you so much

  • @thomasjamme8933
    @thomasjamme8933 4 роки тому

    Thank you so much !!

  • @Somedudefromtexas
    @Somedudefromtexas 4 роки тому +1

    Thank you so much. Had a lot of issues with java download and now I can finally start coding my assignments 👍👍👍

  • @madamemcdeluxe
    @madamemcdeluxe 4 роки тому

    i was struggling to try to run it on xcode. but luckily i stumbled into your vid! but currently idk how to open an existing .class (java class file). hope you can assist me :(

  • @alMighty8989
    @alMighty8989 4 роки тому +1

    Alert Failed to create the Java Virtual Machine ... so frustrating

    • @alMighty8989
      @alMighty8989 4 роки тому +1

      fixed it! you just have to uninstall every other jdk except the 1.8.xxx stuff (jre 8 (LTS)) then it will work flawless.

    • @harrycornell4674
      @harrycornell4674 4 роки тому

      @@alMighty8989 how do you find the other jdk's? thanks

    • @alMighty8989
      @alMighty8989 4 роки тому

      @@harrycornell4674 Just google my friend. I found it in a forum with someone got the same problem. He wrote a textline where you can find all installed jdks or versions... but I have no clue. I just copy pasted it.

    • @beyzacevik3419
      @beyzacevik3419 4 роки тому

      Hey, guys, I solved this problem. You need to uninstall all the other jdk versions except the jdk8u and then install eclipse. It worked for me.

    • @DanielGrissom
      @DanielGrissom  4 роки тому +1

      Yes, sorry, I was just getting to responding here. I think people might miss the part where I talk about Mac needing Java 8 (truth be told, I made the same mistake when I first tried to make this video and tried to emphasize it a bit in the video, but maybe didn't make it clear enough).

  • @mohammedabdullah4826
    @mohammedabdullah4826 4 роки тому

    Dear friend, i already did what you said but it isn’t open the website!! What should I do?

  • @mevisto
    @mevisto 4 роки тому

    Bless you!

  • @mohamed-hm8pn
    @mohamed-hm8pn 4 роки тому

    thank u so much bro

  • @thundergauntlet1250
    @thundergauntlet1250 4 роки тому

    When I go to run the installer I get:
    'Version 1.8.0_131 of the JVM is not suitable for this product.
    Version: 11 or greater is required."
    I have downloaded the most recent Java update but the problem persists.
    HELP ME! I can't find this problem anywhere online.

    • @Rass-qj7rq
      @Rass-qj7rq 3 роки тому

      Hello you’ll need to update the eclipse installer. when done there vill be one more option when downloading eclipse ide for Java developers that says product version. change that to oxygen and then. change the Java 1.8+ VM option to your Java 8 installation now you can press install. when it’s installed you’re done. Now you can open eclipse.

  • @vlogs-dt1ne
    @vlogs-dt1ne 4 роки тому

    HI ,
    when. i type java version ,it shows this error
    Error: Could not find or load main class ~version
    Caused by: java.lang.ClassNotFoundException: ~version

    • @DemetrideSkepsi
      @DemetrideSkepsi 4 роки тому

      Were you typing 'java --version' into the Terminal/Command Prompt?
      based on the error message it looks like you got that from inside Eclipses console. I would try using your Terminal or whatever OS console you're using.
      useful: examples.javacodegeeks.com/java-lang-classnotfoundexception-how-to-solve-class-not-found-exception/

  • @hemikumar6769
    @hemikumar6769 4 роки тому

    very helpful. thanks :)

  • @jantheone8441
    @jantheone8441 4 роки тому

    when i try to run the eclipse installer it says "failed to create the virtual java machine" although i already installed jdk, can u help me?

    • @ixmxkc2022
      @ixmxkc2022 4 роки тому

      I have the same problem.. :(

    • @Aril-wc9tv
      @Aril-wc9tv 4 роки тому

      I have the same Problem

    • @farharahman910
      @farharahman910 4 роки тому

      @@Aril-wc9tv same problem..any solution?

    • @dangrissom6179
      @dangrissom6179 4 роки тому +1

      Please check out some of the other comments on this video. The problem is likely that you didn't install version 8 of the JDK. You'll likely need to uninstall all other versions.

    • @mylovelytwins-donyaandbaha8519
      @mylovelytwins-donyaandbaha8519 4 роки тому

      you probably downloaded jdk 14 which doesnt work with eclipse so go onto finder, "whateveryournameis" imac, then macintosh hd, then library, then java, then java virtual machines and delete the jdk 14 file, download jdk 8 (i downloaded 13 because it is newer) then try to open eclipse again and it should work

  • @sliceninja2917
    @sliceninja2917 4 роки тому

    thx so much
    I will sub

    • @DanielGrissom
      @DanielGrissom  4 роки тому

      Thanks! Check out my course at hellodrdan.com, too, if you'd like more instruction from me on any Java topic imaginable!

  • @ayshasumaiya1819
    @ayshasumaiya1819 4 роки тому +2

    OMG!! THANK YOU SO MUCH FOR THIS VIDEO!!!!
    YOUR VIDEO HAS HELPED ME A LOT!!!!! 😭
    I WOULD GIVE YOU A HUG IF I WAS ALLOWED TO

  • @КостяКреон
    @КостяКреон 4 роки тому

    Благодарю.

  • @dantewhite7659
    @dantewhite7659 4 роки тому +1

    hey man thanks for not skipping steps lol 😅

    • @DanielGrissom
      @DanielGrissom  4 роки тому

      Haha you're welcome! If you're looking for more Java videos on just about every topic you'd need and like my no-steps-skipped approach, head over to hellodrdan.com!

  • @davaasurenjigden6642
    @davaasurenjigden6642 4 роки тому +1

    I meant java Minecraft but ok

  • @norikochavez6673
    @norikochavez6673 3 роки тому

    be carful with this, all my stuffs was delete, all my applications...

  • @zeck9265
    @zeck9265 3 роки тому

    U don’t need to set JAVA_HOME

  • @centnugget
    @centnugget 4 роки тому +1

    I'm the 69th like

  • @kulashaker30
    @kulashaker30 4 роки тому +1

    You are wasting too much time to explain things that everyone doesn't care about.

  • @lakhalsaid169
    @lakhalsaid169 3 роки тому

    Many Thanks for you Dear

  • @s813082
    @s813082 4 роки тому

    Thanks a lot .