Logging + static linking
Mark Anderson
mark@panonet.net
Wed Nov 3 11:02:00 GMT 2004
I am trying to create a statically linked executable that makes use of
java.util.logging, however, I cannot seem to get it to produce any logging
output.
I compiled with the command
/opt/gcc4.0/bin/gcj -o log LogTest.java
-Djava.util.logging.config.file=/opt/gcc4.0/lib/logging.properties
--main=LogTest -static
LogTest.java is attached, its very simple and works fine against the shared
library.
--
Regards,
Mark
-------------- next part --------------
A non-text attachment was scrubbed...
Name: LogTest.java
Type: text/x-java
Size: 187 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/java/attachments/20041103/d3a1ede1/attachment.bin>
More information about the Java
mailing list