gcj suitable for native-wrappers for launching java?
Andrew.Ferguson@arm.com
Andrew.Ferguson@arm.com
Thu Feb 19 10:57:00 GMT 2004
hi,
i was wondering if gcj is suitable for creating native-wrappers for
launching a java program via a named jvm (in the same was as projects such
as JSmooth)? ie. the original java application still runs on a full-blown
jvm, but the bootstrapping and setting up of environment is done by a
native stub. Open-source projects for this seem to be very windows
oriented.
having done some tiny experiments with gcj and got things working on
windows, i've compiled on solaris but theres another bootstrapping problem
of setting up the LD_LIBRARY_PATH - something that end-users with a clean
machine can't be expected to do. i've had a go at static linking libgcc and
libgcj but not been able to get it to work - is this a sensible thing to be
trying to do? once i'd got that working i'd need to do the same for linux
and HP/UX platforms - so i guess my question is whether to give up now :)
any help appreciated,
thanks,
Andrew
More information about the Java
mailing list