I am trying to compile the CLDC with kvm on linux, I get an error
cannot access java.lang.StringBuilder class file for java.lang.StringBuilder not found
at the statement:
return getClass().getName() + "@" + Integer.toHexString(hashCode());
I think that is because this uses its own bootclasspath which contains StringBuffer
but not StringBuilder
. Now, how do I force javac to use StringBuffer
instead of default StringBuilder
?
My dev environment is: Ubuntu 10.04.2 LTS + javac 1.6.0_24 (sun-java6-jdk)