Originally posted by minal silimkar:
Caused by: java.lang.ClassNotFoundException: java.lang.StringBuilder not found in [file:/usr/share/java/libgcj-3.4.3.jar, file:./, core:/]
For Java 5.0 and up, the compiler turns
string concatenation using + into a StringBuilder call:
is equal to
Now it seems that you are using the JVM that was shippedd with GCJ for executing. That one seems to miss all the Java 5.0 and up features, but more importantly its classes.
Try compiling with -source 1.4 -target 1.4 and see if it works then. This should remove the references to StringBuilder.
Or you could try upgrading your GCJ first and see if the latest version includes StringBuilder.