FaqJ2MESharingJ2MEJ2SELibs

How can I create two libraries from the same source code, one to be used in Java ME projects and the other one in Java SE projects?

Create a library project (just be sure you use API which is in both Java SE and Java ME) and then make your Java SE and Java ME projects depend on the library project.

Not logged in. Log in, Register

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo