Developer Studio 5 Java Building Error ejdk

Hello all,

The only sample application that DS5 has with Java is giving several errors (provoked by the same cause I think) when building it:

Have anybody solved this error?

Thank you,
Regargs.

Hi @rgabriel

You need to configure the JVM for your Java apps. There is no JVM embedded on Legato modules by default.
Go to Window > Preferences > Developer Studio > Java
You’ll have to choose between embedding the JVM in your app, or use a JVM already provisioned on the module.
You’ll have the link to Oracle JVM from the help page related to this preference page.

The other thing to check is your Component.cdef file. It has to rely on the good component, regarding the chosen mode above (cf the comments directly in the cdef file).

1 Like

Thank you,
Problem solved.