In the late 2000s Google's London office had a small department who kept just about every feature phone you could imagine stored, charged and ready to grab for devs and qa teams to test out J2ME apps we were building. They had hundreds of devices all stored in these tiny little cages. The variance in the J2ME setups on each device was vast and we'd often get bug reports that could only be reproduced on specific devices.
Opera had similar, and we also had a large piece of Java code that would do either device / manufacturer or feature detection to work around bugs that different vendors had in their j2me implementations. It was gnarly.
Sun maintained closed source test suites called TCKs (Technology Compatibility Kit) for their desktop (j2se), server (j2ee), and mobile (j2me) versions of Java. If you wanted to ship a JVM on your device you had to get a license from them and pass those tests. j2me TCK was very incomplete and very forgiving compared to the desktop one. Was it by accident or by design, I'm not sure, but Sun really wanted more phone vendors to ship Java on their phones, so making the test suite easier to pass would be in their interests. As a result many Java apps wouldn't run on different devices out of the box, and if you had a popular mobile app like Opera Mini you would have to adjust to new JVMs appearing in a wild all the time.
Replies (3)
Edit: fixed the slogan
Replies (1)
Sun maintained closed source test suites called TCKs (Technology Compatibility Kit) for their desktop (j2se), server (j2ee), and mobile (j2me) versions of Java. If you wanted to ship a JVM on your device you had to get a license from them and pass those tests. j2me TCK was very incomplete and very forgiving compared to the desktop one. Was it by accident or by design, I'm not sure, but Sun really wanted more phone vendors to ship Java on their phones, so making the test suite easier to pass would be in their interests. As a result many Java apps wouldn't run on different devices out of the box, and if you had a popular mobile app like Opera Mini you would have to adjust to new JVMs appearing in a wild all the time.
And now us Android developers get to experience that same joy. Thanks Google!