On Sun, Nov 14, 2021 at 10:52 PM David Holmes <david.hol...@oracle.com> wrote:
> Hi, > > On 14/11/2021 9:09 pm, gnufan42 wrote: > > Hi, > > I'm trying to port openjdk 8 to DOS. I use cygwin as compilation > environment and use djgpp-gcc for the compiler. I have just got started and > now I'm recompiling some dependency libraries. Can anybody give me some > suggestion about what I'm trying to do? > > 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, .... > > It might be possible to write a Java bytecode interpreter that runs on > DOS, but there would be a lot of missing functionality IMO. > > Cheers, > David > > You may have more luck with a JVM targetted to embedded, like the CVM (JavaME). But I believe that would not be a straightforward port either but require substantial changes. If it can be done at all. Cheers, Thomas > > Thanks, > > Gnufan > > >