How import jar file in native J2SE

10 views
Skip to first unread message

Ulises Escobar

unread,
Oct 28, 2016, 7:43:31 PM10/28/16
to CodenameOne Discussions
IDE: Netbeans
SO: Windows

Hi, I'm trying to implement a feature to use the webcam to take photos in the J2SE build. I was put my camera lib jar in the native/j2se path, but when I try to compile Netbeans can't find the package.

What is the right way to do this? 

Shai Almog

unread,
Oct 28, 2016, 10:32:10 PM10/28/16
to CodenameOne Discussions
Hi,
for local compilation to work you will need to add the jar to the project classpath. But you need to be careful not to use it accidentally in regular (non-native) code.
Reply all
Reply to author
Forward
0 new messages