Re: [javaCompiler-users] Request for AWT information
Status: Beta
Brought to you by:
soapy
From: Marco T. <mt...@gm...> - 2006-12-21 17:43:55
|
Lee D. Painter wrote: > Hi, > > > > I’ve been looking at JNC and it shows much promise J > > > > However I’m trying to compile a small java app on Windows that uses AWT > but am getting undefined reference errors for AWT methods. Do you compile for Windows or for Linux? Does that application run with a Sun 1.4 JRE or does it depend on 1.5 methods? If you only compile for Windows and the application runs with a Sun 1.4 JRE, then it's probably a bug. > I assume this > is because I need to configure JNC somehow to link to an awt.dll (like > the one in the AWT example). No, you don't have to do anything special. If you want to compile the AWT example, just add it as source and compile it. awt.dll and the other files are only needed at runtime. > I’ve searched these mailing lists and > cannot find any information about how this can be achieved. Can someone > provide a quick overview of what we need to do to get AWT support working? Nothing, it runs out of the box :-) Or at least should. I mainly program SWT, so I didn't have fancy applications to test. So your feedback is really welcome. Marco |