david
28.12.2007, 21:08 |
JAVA + HX-DOS (DOSX) |
Hi Japheth,
Free time durring christmas days allowed me to play with java again.
OK, Helloworld works fine, but I rather have something more.
This is reported when I run classes
dpmild32 java -classpath jfdraw.jar A
java.lang.UnsatisfiedLinkError: C:\JAVA\BIN\awt.dll: MsgId: 0000000B
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668)
at java.lang.Runtime.loadLibrary0(Runtime.java:822)
at java.lang.System.loadLibrary(System.java:993)
at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
at java.security.AccessController.doPrivileged(Native Method)
at sun.awt.NativeLibLoader.loadLibraries(NativeLibLoader.java:38)
at sun.awt.DebugHelper.<clinit>(DebugHelper.java:29)
at java.awt.Component.<clinit>(Component.java:545)
Exception in thread "main"
Do you have any idea?
David |
Japheth

Germany (South), 29.12.2007, 08:09
@ david
|
AWT.DLL not HX compatible |
Hi David,
> Do you have any idea?
Yes, AWT.DLL cannot be loaded by hx's dpmild32. Without AWT, most - or all? - Java GUI apps can't work. --- MS-DOS forever! |
david
29.12.2007, 09:25
@ Japheth
|
AWT.DLL not HX compatible |
> Yes, AWT.DLL cannot be loaded by hx's dpmild32. Without AWT, most - or
> all? - Java GUI apps can't work.
Thank you Japheth,
So I can use java compiler in HX and java apps without GUI. |
flox

29.12.2007, 11:22
@ david
|
AWT.DLL not HX compatible |
> So I can use java compiler in HX and java apps without GUI.
It would be interesting, if f.e. tombcat (http://tomcat.apache.org/) could be used... (I do not think so, but...) |