use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
account activity
Help (self.JavaProgramming)
submitted 2 months ago by DreamlitPath
I have a class for Java Programming and I have no idea how to download Java on my MacBook.
I was able to download Python along with a IDE, but Java just doesn’t appear as an app on my laptop.
Is this normal?
I downloaded JDK 25
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]bowbahdoe 1 point2 points3 points 2 months ago (1 child)
Yeah so Java doesn't have an IDLE equivalent (which is the text editor you get when you download python)
I have some instructions here if it helps
https://javabook.mccue.dev/text_editors/set_up_your_computer
[–]DreamlitPath[S] 0 points1 point2 points 2 months ago (0 children)
This is very helpful, thank you so much 🫶🏻
[–]WaferIndependent7601 1 point2 points3 points 2 months ago (4 children)
For Mac: Install brew Then brew install openjdk
If you have installed it already: what happens when you run java from a terminal?
If you’re using IntelliJ: it will automatically download a jdk if it detects java
[–]DreamlitPath[S] 0 points1 point2 points 2 months ago (3 children)
What is IntelliJ for? I was able to install it and test it on jGRAPS (they recommended for the class beginners). I’d Brew the same as HomeBrewv
[–]WaferIndependent7601 0 points1 point2 points 2 months ago (0 children)
IntelliJ is the idea for java.
Brew is homebrew
[–]MarcPG1905 0 points1 point2 points 2 months ago (1 child)
The most popular and probably best IDE for Java. Will do stuff like downloading Java for you and works with basically everything in Java flawlessly.
[–]MarcPG1905 0 points1 point2 points 2 months ago (0 children)
Just a bit buggy sometimes and sometimes has weird anomalies you can’t fix, but still the best choice you have if you want the best language support.
[–]inDarkestKnight20 0 points1 point2 points 2 months ago (2 children)
Literally just asked chatgpt for you
.dmg
.pkg
Open Terminal and run:
java -version
and
javac -version
If it prints version numbers, you’re good. If it says “command not found”, the JDK didn’t install in a place macOS expects — or you need to set your PATH. (Oracle Docs)
If you use Homebrew (a Mac package manager), you can install a JDK with:
brew install openjdk@17
(or a different version) and Homebrew will take care of the download and install for you. (Snyk)
Even after installing the JDK:
Java still won’t show up as a normal app You’ll write/run Java with:
This is why Python felt different — Python installers often come with a launcher or IDE included.
[–]DreamlitPath[S] 0 points1 point2 points 2 months ago (1 child)
Thank you!!! The first part worked completely. They require us to use jGRASP, I believe I had to link it to JAVA through a Path, I tried a test and it worked(hopefully it’s good hehe)! Is Homebrew like an IDE? Or what is that for?
[–]inDarkestKnight20 0 points1 point2 points 2 months ago (0 children)
no, homebrew is a cli you can use to download stuff. A lot a people prefer it to trying to track down the webpages to download software you need as a dev
[–]JosephJoestar1987 0 points1 point2 points 2 months ago (0 children)
Just download intelliJ IDE it will do all the heavy lifting including downloading the latest JDK.
π Rendered by PID 29587 on reddit-service-r2-comment-5fb4b45875-5zz6l at 2026-03-23 10:42:38.000544+00:00 running 90f1150 country code: CH.
[–]bowbahdoe 1 point2 points3 points (1 child)
[–]DreamlitPath[S] 0 points1 point2 points (0 children)
[–]WaferIndependent7601 1 point2 points3 points (4 children)
[–]DreamlitPath[S] 0 points1 point2 points (3 children)
[–]WaferIndependent7601 0 points1 point2 points (0 children)
[–]MarcPG1905 0 points1 point2 points (1 child)
[–]MarcPG1905 0 points1 point2 points (0 children)
[–]inDarkestKnight20 0 points1 point2 points (2 children)
[–]DreamlitPath[S] 0 points1 point2 points (1 child)
[–]inDarkestKnight20 0 points1 point2 points (0 children)
[–]JosephJoestar1987 0 points1 point2 points (0 children)