On 2021-11-15 15:06, gnufan42 wrote:
David Holmes wrote:
I'd say it is technically impossible to port OpenJDK to DOS as you do
not have any of the necessary operating system support for threads,
synchronization, virtual memory, ....
        Well, these difficulties are all overcame by the DJGPP project. They 
use DPMI to let the code runs in 32-bit protected mode, they implemented a lot 
of POSIX functions, including pthread. Otherwise I won't be trying.
Oh, that's interesting, I did not know about that.

I assume you're doing this just for the sake of it, and not really to use it for anything seriously? If so, it can certainly be a fun challenge. :-) Do you have a github repo? I might be able to give you a hand here and there. Not really as an Oracle engineer, but on my spare time just since it sounds like a cool project. :-)

You need to have reasonably high expectations, however. The entire java.desktop package is likely to be out of the question, for instance. Also, what kind of memory space are we talking about here? You might be hard pressed to run anything else but HelloWorld using zero...

/Magnus



Thanks,
Gnufan

Reply via email to