Skip to Content
Former Member
Jul 21, 2010 at 03:11 PM

CrEme: on what Java version is based?


Hi everyone!

I'm developing OCA applications (for handheld), and as part of the device client installation it's the CrEme as the java virtual machine.

I have the impression that the development version of java (at least for NWDS) is java 5, however when I run an application with classes or methods from java 5, CrEme throws the exception "java.lang.NoSuchMethodError". This happened to me with two methods of String class:

public static String format(Locale l, String format,Object... args) // Since 1.5
public String replace(CharSequence target, CharSequence replacement) // Since 1.5

The weird thing is I'm using the StringBuilder class too (valid since java 1.5 too) and the application not throws exceptions!!

So my question is: what classes and methods are supported for CrEme? from wich jdk version's?

PD: In (CreMe homepage) at CrEme 4.x documentation's, appear jdk 1.3.1 like the based version.

Best regards,