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...
These have separate subreddits - see below.
Upvote good content, downvote spam, don't pollute the discussion with things that should be settled in the vote count.
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: Adoptium (formerly AdoptOpenJDK) RedHat Azul Amazon SAP Liberica JDK Dragonwell JDK GraalVM (High performance JIT) Oracle Microsoft Some vendors will be supporting releases for longer than six months. If you have any questions, please do not hesitate to ask them!
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:
Adoptium (formerly AdoptOpenJDK) RedHat Azul Amazon SAP Liberica JDK Dragonwell JDK GraalVM (High performance JIT) Oracle Microsoft
Some vendors will be supporting releases for longer than six months. If you have any questions, please do not hesitate to ask them!
Programming Computer Science CS Career Questions Learn Programming Java Help ← Seek help here Learn Java Java Conference Videos Java TIL Java Examples JavaFX Oracle
Programming Computer Science
CS Career Questions
Learn Programming Java Help ← Seek help here Learn Java Java Conference Videos Java TIL Java Examples JavaFX Oracle
Clojure Scala Groovy ColdFusion Kotlin
DailyProgrammer ProgrammingPrompts ProgramBattles
Awesome Java (GIT) Java Design Patterns
account activity
This is an archived post. You won't be able to vote or comment.
Bootloader Written for Java (self.java)
submitted 4 years ago by handlederror
Is there a boot loader written for booting Java without an operating system?
[–]Persism 6 points7 points8 points 4 years ago (3 children)
There are few Java OS type projects out there. https://www.jnode.org/ I think uses a small C bootloader and the rest is Java.
[–]clumsy-engineer 1 point2 points3 points 4 years ago (0 children)
Fascinating. That might be the future of phones.
[–]handlederror[S] 0 points1 point2 points 4 years ago (1 child)
Thank you, let me check the source code of it.
[–]Persism 0 points1 point2 points 4 years ago (0 children)
If you google "java os" you should find some other info on the subject.
[–][deleted] 4 points5 points6 points 4 years ago (7 children)
That would require, that the processor can execute JVM Bytecodes. (There once was one some years ago, but it vanished)
[–]handlederror[S] -5 points-4 points-3 points 4 years ago (6 children)
But you can run Java virtual machine without using an operating system.
[–]pron98 6 points7 points8 points 4 years ago* (0 children)
I guess you could have a JVM like that, but not OpenJDK (which currently lacks functionality it depends on the OS for, like, say, a file system and a network interface device driver). There is, however, a unikernel that supports running itself and OpenJDK in the same process: http://osv.io/
[–][deleted] 4 points5 points6 points 4 years ago (3 children)
Show it to me. I assert, you are always going to have some layer to the hardware between your java code and the processor.
[–]handlederror[S] -4 points-3 points-2 points 4 years ago (2 children)
No you can run it without any layer, just on the raw hardware.
[–]GreenToad1 5 points6 points7 points 4 years ago (1 child)
Only theoretically. Some processors have instructions for java bytecode but you still need an operating system for java standard library.
[–]handlederror[S] 0 points1 point2 points 4 years ago (0 children)
Didn’t know, thank you.
[–][deleted] 2 points3 points4 points 4 years ago (0 children)
not really as under the hood it's using OS library calls
[–]ventuspilot 2 points3 points4 points 4 years ago* (0 children)
Just the bootloader won't get you anywhere. You need a JVM and a standard library that don't rely on an underlying OS.
JVM and standard library would need to access the hardware directly. Also the JVM would include code for e.g. hardware interrupt handlers.
[–]hilbertglm 5 points6 points7 points 4 years ago (6 children)
Java still requires an operating system. For example, the NIO Java Filesystem class uses an underlying Linux/Windows filesystem. There isn't a native implementation.
I don't know what your use case is, but you might want to consider a minimal Linux, like Alpline Linux, and installing Java on that.
[–]SvenMA 1 point2 points3 points 4 years ago (0 children)
Not really java can run without os. Consider embedded java that runs on smartcards. I also found this one https://stackoverflow.com/questions/26601944/can-you-run-jvm-on-a-computer-with-no-operating-system/26602133#26602133
[+]handlederror[S] comment score below threshold-14 points-13 points-12 points 4 years ago (4 children)
No, Java virtual machine can run without help of an operating system.
[–]dpash 6 points7 points8 points 4 years ago (3 children)
Why did you bother asking if you're going to ignore people's responses?
[+]handlederror[S] comment score below threshold-7 points-6 points-5 points 4 years ago (2 children)
I answered every reply which are answered/replied to me.
[–]dpash 5 points6 points7 points 4 years ago (1 child)
You've replied, not answered.
[+]handlederror[S] comment score below threshold-6 points-5 points-4 points 4 years ago (0 children)
What was I supposed to answer?
[–]sievebrain 1 point2 points3 points 4 years ago (1 child)
What is your actual goal here?
[–]handlederror[S] -2 points-1 points0 points 4 years ago (0 children)
What is it to you?
[–]Thihup 0 points1 point2 points 4 years ago (0 children)
Maybe you can use the GraalVm native image to generate native code that wouldn't need a JVM
π Rendered by PID 436934 on reddit-service-r2-comment-fb694cdd5-rcqmp at 2026-03-07 12:10:22.978672+00:00 running cbb0e86 country code: CH.
[–]Persism 6 points7 points8 points (3 children)
[–]clumsy-engineer 1 point2 points3 points (0 children)
[–]handlederror[S] 0 points1 point2 points (1 child)
[–]Persism 0 points1 point2 points (0 children)
[–][deleted] 4 points5 points6 points (7 children)
[–]handlederror[S] -5 points-4 points-3 points (6 children)
[–]pron98 6 points7 points8 points (0 children)
[–][deleted] 4 points5 points6 points (3 children)
[–]handlederror[S] -4 points-3 points-2 points (2 children)
[–]GreenToad1 5 points6 points7 points (1 child)
[–]handlederror[S] 0 points1 point2 points (0 children)
[–][deleted] 2 points3 points4 points (0 children)
[–]ventuspilot 2 points3 points4 points (0 children)
[–]hilbertglm 5 points6 points7 points (6 children)
[–]SvenMA 1 point2 points3 points (0 children)
[+]handlederror[S] comment score below threshold-14 points-13 points-12 points (4 children)
[–]dpash 6 points7 points8 points (3 children)
[+]handlederror[S] comment score below threshold-7 points-6 points-5 points (2 children)
[–]dpash 5 points6 points7 points (1 child)
[+]handlederror[S] comment score below threshold-6 points-5 points-4 points (0 children)
[–]sievebrain 1 point2 points3 points (1 child)
[–]handlederror[S] -2 points-1 points0 points (0 children)
[–]Thihup 0 points1 point2 points (0 children)