Re: [javaCompiler-users] Request for AWT information
Status: Beta
Brought to you by:
soapy
From: Lee D. P. <le...@3s...> - 2006-12-21 19:50:21
|
Great, I look forward to the update. I've been able to compile from = source, but it would certainly be easier from jars as all the additonal = resources are packaged up correctly already.=20 =20 btw I'm compiling on Windows for Windows. =20 I'd like to be able to set some custom system properties in the .exe, I = know this is possible through gcj do you have plans to add this, or is = there some way I can do that now? =20 Regards =20 Lee ________________________________ From: jav...@li... on behalf of = Marco Trudel Sent: Thu 21/12/2006 19:17 To: A mailing list for general questions and discussions. Subject: Re: [javaCompiler-users] Request for AWT information Lee D. Painter wrote: > Thanks for the quick reply. > >> Do you compile for Windows or for Linux? > > I'm specifically trying to compile on Windows for this application. Yeah, on Windows, but on Windows for Linux or for Windows? It's all kind of confusing because you can crosscompile :-) But read below... >> Does that application run with a Sun 1.4 JRE or does it depend on 1.5 >> methods? > > Heh, well actually the code I'm compiling is designed to run with any > JVM 1.1 or above so I don't think that is the issue. >=20 > I've just tested the AWT example and that compiles ok so it must be > something in my configuration. I was compiling from a set of jar files >>from our standard java build so I've changed to use source and there = are > less warnings, in fact the only warnings I'm seeing now are from one = of > the libraries we are using and again they are awt and swing methods. = Do > you think there is an issue with linkage and compiling from jars? Yes, of course! I forgot to add some configuration for jar compiling! Thanks for pointing that out. I'll release a new Version tomorrow. You'll only need to update the GUI frontend, the huge compilers stay the same... In the mean time, just unpack the jars and compile from the directory with the extracted classes. I usually suggest to compile from classes instead of the sources anyway. > I don't know if it's relevant but I could get the same jars to compile > using the 0.9 version of NativeJ although that failed with > ClassNotFoundExceptions when AWT stuff was loaded. Yeah, AWT/Swing doesn't work in 0.9. > I'm going to get the source to this external library and compile it > directly, hopefully that will resolve the issue. Not needed as explained above. I hope it works by compiling from the classes... Marco -------------------------------------------------------------------------= Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share = your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV _______________________________________________ javaCompiler-users mailing list jav...@li... https://lists.sourceforge.net/lists/listinfo/javacompiler-users |