Hi,
I'm using Eclipse + NXP JCOP Tools for applet development, but I'm having issues as the tools are unable to detect or use PC/SC readers. I have tried a number of different Eclipse versions and JDK/JRE versions, but nothing seems to improve my results.
The JCOP Tools getting started guide seems out-of-date and so I would like to ask what is the current recommended development environment used by NXP for applet development on the P71D600?
Specifically related to the error, below is a log of the error that occurs in the plugin (abridged):
!ENTRY com.nxp.id.jcop.eclipse 4 0 2023-09-16 06:52:11.105
!MESSAGE Plug-in "com.nxp.id.jcop.eclipse" was unable to instantiate class "com.nxp.id.jcop.eclipse.internal.launcher.SCCommProvider".
!STACK 1
org.eclipse.core.runtime.CoreException: Plug-in "com.nxp.id.jcop.eclipse" was unable to instantiate class "com.nxp.id.jcop.eclipse.internal.launcher.SCCommProvider".
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.throwException(RegistryStrategyOSGI.java:212)
at org.eclipse.core.internal.registry.osgi.RegistryStrategyOSGI.createExecutableExtension(RegistryStrategyOSGI.java:206)
at org.eclipse.core.internal.registry.ExtensionRegistry.createExecutableExtension(ExtensionRegistry.java:923)
at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtension(ConfigurationElement.java:246)
at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableExtension(ConfigurationElementHandle.java:63)
at com.nxp.id.jcop.eclipse.internal.launcher.ReaderManager$ReaderProviderExt.getProvider(ReaderManager.java:183)
at com.nxp.id.jcop.eclipse.internal.launcher.ReaderManager.update(ReaderManager.java:149)
at com.nxp.id.jcop.eclipse.internal.launcher.ReaderManager.__getReaders(ReaderManager.java:100)
at com.nxp.id.jcop.eclipse.internal.launcher.ReaderManager.getReaders(ReaderManager.java:79)
at com.nxp.id.jcop.eclipse.internal.LicenseWizard$CardVerifyWizard$CardPage.createControl(LicenseWizard.java:577)
Solved! Go to Solution.
Hello makinako
I am using the following setup for Eclipse and JCOP:
With this setup I am able to use PC/SC card readers.
Cheers
Frank
I think this is related to a few path problems with the various JCShell related plugins. It looks like you're trying to use the card reader to activate your JCOP tools plugin (given the "LicenseWizard" method? If that's correct, my guess is that the instantiation problem you're having is related to not being able to find JNISCCommWrapper_xx.dll and its ilk.
Try this:
1) Figure out where the plugin is stored on your machine - mine is at c:/Users/<myname>/.p2/pool/plugins/com.nxp.jcop.eclipse_6.9.0.12
2) The DLLs you need are in os/win under that directory.
3) Either create a .bat file that adds that os/win to the PATH environment variable before running eclipse, or add it to the global PATH var.
Also, make sure you have the Windows 2010 C++ redist installed. JNISCCommWrapper appears to need it.
See if that helps. Also, this should fix some issues with the JCOP tools internal JCShell window.
Hello makinako
I am using the following setup for Eclipse and JCOP:
With this setup I am able to use PC/SC card readers.
Cheers
Frank
Hi Bro, can you list the url to download the nxp-jcop-tools-jcop4.5-v6.9.0.12_RC1.zip . I can't find where to download it.
Thanks.
The NXP JCOP tools package is only available under NDA. Request it from your NXP contact and they'll push it to your Docstore/NXP secure documents account.