2
votes

I simply need a response to a one fact question. If I have installed the latest free .nbm file for CodeName One into Netbeans 11, and am using, for example, the Java OpenJDK, does CodeName one use (outsource for a VM) my Path/Classpath version of java to run things from that virtual machine, or does CodeName One run virtualised mobile phone midlets from its own internal virtual machine?

1
When you run locally the local VM is used for debugging and simulating. When you need to build we use the native/custom VM. - Shai Almog

1 Answers

2
votes

I suggest you to read here, there is response of Shai Almog on how Codename One works: https://stackoverflow.com/a/10646336/2670744

I also suggest you to read these FAQs: https://www.codenameone.com/faq.html

Said that, on your IDE Codename One uses the OracleJDK or OpenJDK version you installed when you run your apps in the Codename One Simulator.

About Netbeans 11 + the last OpenJDK, I suppose that their support is still experimental (maybe Shai can confirm or disconfirm this). However, I use Netbeans 10 + the last OracleJDK 8 (1.8.0_212): it works perfectly.