Re: [javaCompiler-users] Request for AWT information
Status: Beta
Brought to you by:
soapy
From: Marco T. <mt...@gm...> - 2006-12-21 20:09:29
|
Lee D. Painter wrote: > Great, I look forward to the update. I've been able to compile from source, All worked now? I assume you mean by the classes. Or did you download all sources? > but it would certainly be easier from jars as all the additonal resources > are packaged up correctly already. Of course. > btw I'm compiling on Windows for Windows. :-) > 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? What do you mean by "system properties"? Something you can get by System.getProperty("name")? Then just add a custom flag: -Dsome.property=foobar Or do you mean stuff like PATH or so? That's not possible. That's not possible with C applications as well (as far as I know)... Marco > > Regards > > 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. >> >> 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=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > javaCompiler-users mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/javacompiler-users > > > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > 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=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > javaCompiler-users mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/javacompiler-users |