This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
gcj suitable for native-wrappers for launching java?
- From: Andrew dot Ferguson at arm dot com
- To: java at gcc dot gnu dot org
- Date: Thu, 19 Feb 2004 10:57:24 +0000
- Subject: gcj suitable for native-wrappers for launching java?
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