On Thu, 2014-10-23 at 10:36 +0100, Bryce McKinlay wrote: > gcj -O2 --shared scala-library-2.9.2.jar -o libScala.so > gcj *.class -L. -lscala > LD_LIBRARY_PATH=. ./a.out Have you actually executed this on a machine? If so, I'd like to know which version of GCJ you used for this. As I've reported in one of my previous mails, the first command fails. This happens with GCC 4.7.2. I've tried to build GCC 4.9.1 because Andrew Hughes pointed out I might have a too old GCJ version to include Pattern.quote(String), but something was failing with the build process, so I can't really give it a shot with 4.9.1. -- Cheers, Marko http://dimjasevic.net/marko