Re: [javaCompiler-users] Request for AWT information
Status: Beta
Brought to you by:
soapy
|
From: Lee D. P. <le...@3s...> - 2006-12-22 09:54:57
|
> All worked now? I assume you mean by the classes. Or did you download
> all sources?
It's compiling and linking from source once I had grabbed the source to
the troublesome jar, I'm still missing a few resources that were in the
jars but that should be easy to sort.
> What do you mean by "system properties"? Something you can get by
> System.getProperty("name")? Then just add a custom flag:
> -Dsome.property=3Dfoobar
> 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)...
>
Yes standard java system properties is what I need to set, should have
realized that you could pass it through as a custom flag :-)
Thanks
Lee
> -----Original Message-----
> From: jav...@li...
> [mailto:jav...@li...] On Behalf Of
> Marco Trudel
> Sent: 21 December 2006 20:09
> To: A mailing list for general questions and discussions.
> Subject: Re: [javaCompiler-users] Request for AWT information
>=20
> Lee D. Painter wrote:
> > Great, I look forward to the update. I've been able to compile from
> source,
>=20
> All worked now? I assume you mean by the classes. Or did you download
> all sources?
>=20
>=20
> > but it would certainly be easier from jars as all the additonal
> resources
> > are packaged up correctly already.
>=20
> Of course.
>=20
>=20
> > btw I'm compiling on Windows for Windows.
>=20
> :-)
>=20
>=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
> What do you mean by "system properties"? Something you can get by
> System.getProperty("name")? Then just add a custom flag:
> -Dsome.property=3Dfoobar
> 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)...
>=20
>=20
> Marco
>=20
> >
> > 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=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDE
V
> > _______________________________________________
> > 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=3Djoin.php&p=3Dsourceforge&CID=3D=
DEVDE
V
> >
> >
> >
------------------------------------------------------------------------
> >
> > _______________________________________________
> > javaCompiler-users mailing list
> > jav...@li...
> > https://lists.sourceforge.net/lists/listinfo/javacompiler-users
>=20
>=20
>
------------------------------------------------------------------------
-
> 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=
DEVDE
V
> _______________________________________________
> javaCompiler-users mailing list
> jav...@li...
> https://lists.sourceforge.net/lists/listinfo/javacompiler-users
|