I've been in presentations showing all kinds of things being rewritten in Java just because apparently that was something that needed to be done. I particularly remembers seeing a NIS (YP) server and and NFS server in Java. When I asked why they did that, and particularly why they didn't go for NIS+ (which was many years old at the time) or event LDAP, they had no answer.
Huh? The web browser/JVM certainly needed an operating system to run, and by extension the applets did too.
I wonder if any significant amount of money was ever made from selling Java applets. I can't remember the last time I saw one in the wild.
I'm pretty sure it's safe to say that Java applets on bare metal never took off. As has been pointed out in another response, "running Java applets without an OS or browser" was not exactly the intent of the OP's words in any instance.
The ones that never had any issue with either Sun or Oracle, because they always played by the license rules.
The conversation was about applets, running in a web browser, and how a browser AND the the JVM's available at Java's release, did or didn't require an operating system to run.
Embedded Java is not "applets". Nobody is denying that there is billions of devices running client side Java code.
https://www.v3.co.uk/v3-uk/news/2443810/oracle-signals-the-e...
Not moving goal post at all "JVM certainly needed an operating system to run".
JavaOS wasn't released until later (1996). And Wikipedia classifies it as an "operating system with a Java virtual machine as a fundamental component". The clue is in the name.
Circa 1997 I put a JRE on a brandable installer CD for a client that used JNI to call Win32 API to write Windows registry entries, make shortcuts and a desktop shortcut basically as an "InstallAnywhere" before it existed.
A couple of years later, I wrote a Java to MIPS direct compiler for a compiler course... in both C++90 and Java 1.3.
For those who weren't there to remember, the concept of Applets, or applications that ran in a web browser and didn't need an operating system to run, was apparently terrifying to Microsoft. Sun's senior management exploited that terror blunt the invasion of Windows desktops in Sun's enterprise accounts. So many complex technical issues resolved with the test "will it scare/attenuate Microsoft?" rather than "Is this what the language/system should be?"
[1] https://stuff.mit.edu/afs/sipb/user/marc/hotjava/doc/people....