Plugin and API

I’m building a plugin that uses a third-party API. I’m running MacOS X, so the jar and jnilib files are places in /Library/Java/Extensions/

On my computer the plugin works fine, but on clients it seems to be looking for the jars and jnilibs. I figure this because I got the same effect from removing these files from Extensions.

I’m new at Java and Servoy plugins, so I’m not sure I exported the plugin wrong or I’m suppose to copy these files to the server computer, and if so, where?

Any help appreciated.

If your plugin needs additional jars, they have to be placed in a separate directory, not in the Servoy lib. Secondly, you have to create a jnlp (or was it jlnp?) file, have a look at the scheduler plugin for details.

Hope this answers your question.

Paul

see the scheduler.jar.jnlp from plugins directory as sample

checkLogin.servoy (381 KB)