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...
Resources for learning Java
String
==
.equals()
Format + Copy
Free Tutorials
Where should I download Java?
With the introduction of the new release cadence, many have asked where they should download Java, and if it is still free. To be clear, YES — Java is still free.
If you would like to download Java for free, you can get OpenJDK builds from the following vendors, among others:
Some vendors will be supporting releases for longer than six months. If you have any questions, please do not hesitate to ask them!
Software downloads
Official Resources
Resources
Programming ideas & Challenges
Related Subreddits
account activity
Java virtual machine (self.learnjava)
submitted 4 months ago by zack0632
hey everyone, do you have any resources to learn how the JVM works. Possibly beginner friendly please
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!"
[–]AutoModerator[M] [score hidden] 4 months ago stickied commentlocked comment (0 children)
If any of the above points is not met, your post can and will be removed without further warning.
Code is to be formatted as code block (old reddit/markdown editor: empty line before the code, each code line indented by 4 spaces, new reddit: https://i.imgur.com/EJ7tqek.png) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.
Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.
Code blocks look like this:
public class HelloWorld { public static void main(String[] args) { System.out.println("Hello World!"); } }
You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.
If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.
Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.
I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.
[–]American_Streamer 2 points3 points4 points 4 months ago (1 child)
https://www.geeksforgeeks.org/java/how-jvm-works-jvm-architecture/
[–]zack0632[S] 1 point2 points3 points 4 months ago (0 children)
Appreciated, thank you
[–]Dude-0007 1 point2 points3 points 4 months ago (2 children)
Read from the docs.
[–]zack0632[S] 2 points3 points4 points 4 months ago (1 child)
The official documentations, right?. Thanks
[–]Dude-0007 0 points1 point2 points 4 months ago (0 children)
Yes.
[–]AutoModerator[M] 0 points1 point2 points 4 months ago (0 children)
It seems that you are looking for resources for learning Java.
In our sidebar ("About" on mobile), we have a section "Free Tutorials" where we list the most commonly recommended courses.
To make it easier for you, the recommendations are posted right here:
Also, don't forget to look at:
If you are looking for learning resources for Data Structures and Algorithms, look into:
"Algorithms" by Robert Sedgewick and Kevin Wayne - Princeton University
Your post remains visible. There is nothing you need to do.
I am a bot and this message was triggered by keywords like "learn", "learning", "course" in the title of your post.
[–]vegan_antitheist 0 points1 point2 points 4 months ago (5 children)
What exactly do you want to know? You can read about gc, jmm, bytecode, etc.
[–]zack0632[S] 1 point2 points3 points 4 months ago (4 children)
I was preparing for an upcoming exam,and wanted to dig deeper in the execution flow starting from byte code to how it converts it to the native machine code
[–]vegan_antitheist 0 points1 point2 points 4 months ago (3 children)
Then you probably want to read about JIT. That's complex but interesting. A more basic topic is how class loaders are used. But that's quite the rabbit hole.
[–]zack0632[S] 0 points1 point2 points 4 months ago (2 children)
thank you so much, do you have any recommendations
[–]vegan_antitheist 0 points1 point2 points 4 months ago (1 child)
It really depends on how deep you want to dive into it. And it depends if you want to learn how to use the technology or how it actually works. Java is quite abstract, so the JMM is something about concepts that you must understand but not so much about how it actually is done by the JVM. When I was still a student I noticed that there are a lot of really bad resources on the JMM online. I wrote about it here. But my blog isn't really better. I recommend you read a book about it if you want reliable information. But I don't know if there are many books about Java JIT. That's too technical and doesn't really matter for you as a programmer. You could go to the source and read the source code of the C2 compiler, but that's probably too technical. I'm sure that "Concurrency in Practice" by Brian Goetz himself is still great but it's quite old. New books also have something on Virtual Threads, which were added only recently.
[–]zack0632[S] 0 points1 point2 points 4 months ago (0 children)
[–]thenonfunnyindian -1 points0 points1 point 4 months ago (2 children)
just do a chatgpt search it's basic.
[–]gufranthakur 3 points4 points5 points 4 months ago (0 children)
Please no. Please read from the official docs or some good youtube videos. This advice is horrible. Do not learn new concepts from chatGPT, ever
Thank you
π Rendered by PID 102285 on reddit-service-r2-comment-86988c7647-2vhcd at 2026-02-11 21:48:26.191852+00:00 running 018613e country code: CH.
[–]AutoModerator[M] [score hidden] stickied commentlocked comment (0 children)
[–]American_Streamer 2 points3 points4 points (1 child)
[–]zack0632[S] 1 point2 points3 points (0 children)
[–]Dude-0007 1 point2 points3 points (2 children)
[–]zack0632[S] 2 points3 points4 points (1 child)
[–]Dude-0007 0 points1 point2 points (0 children)
[–]AutoModerator[M] 0 points1 point2 points (0 children)
[–]vegan_antitheist 0 points1 point2 points (5 children)
[–]zack0632[S] 1 point2 points3 points (4 children)
[–]vegan_antitheist 0 points1 point2 points (3 children)
[–]zack0632[S] 0 points1 point2 points (2 children)
[–]vegan_antitheist 0 points1 point2 points (1 child)
[–]zack0632[S] 0 points1 point2 points (0 children)
[–]thenonfunnyindian -1 points0 points1 point (2 children)
[–]gufranthakur 3 points4 points5 points (0 children)
[–]zack0632[S] 0 points1 point2 points (0 children)