问题
I was surprised if there is any way to run Java Swing or AWT under a DOS operating system, like freedos. Is there any other way to run a Java GUI under DOS?
回答1:
Not exactly DOS, but you can try Charva which is like 'ncurses' for Java ?
回答2:
This claims to have some GUI functionality, but very slow! http://sourceforge.net/projects/jaguid/
回答3:
There was a port of Kaffe for DOS, but it could only run headless (without GUI). So I think the answer is no.
回答4:
There was a VM for DOS called JavaPC. It was discontinued a long time ago though and this is the only reference I can find.
来源:https://stackoverflow.com/questions/6151623/is-it-possible-to-run-java-gui-programs-under-dos-systems