Reputation: 4303
Are there any operating systems that when fully loaded only provide a java environment for console application execution? Ideally one which will automatically start programs when its loaded up
Upvotes: 1
Views: 649
Reputation: 120526
Even if it did exist, it would not by itself provide any security benefits.
A java application can still exercise almost all user-ring authority made available by the OS. If it can write somewhere on the library load path or start another java application with a specified library load path then it can:
native
methods backed by that library.System.loadLibrary
to load that library.native
method to execute arbitrary user-ring code.If you want an operating system that allows you to effectively control the authority available via the shell, then read up on
Upvotes: 1
Reputation: 7626
There's also the Phantom OS, being worked on by some Russian programmers. The system has no concept of files. Everything is an object living in one large memory space.
Upvotes: 1
Reputation:
Here is a such thing with name: JavaOS
From my point of view better approach is to install a Linux distribution pack or small Linux distribution pack with java support and put your java code to the OS startup. To run it when OS has been started.
Upvotes: 1