I am attempting to upgrade from JExplorer 2.3 to 2.7 and having a license problem. When I build and run the application as a Java Web Start, everything works fine. When I try to run it from within Eclipse, I get the following error:
JNIWrapper license check failed: No valid license found.
I assume that this is because the jniwrap.dll moved into the JExplorer-2.7.jar. I can't figure out where to put the license files so it can be found when running from Eclipse. For the WebStart, it is in the META-INF folder and it works fine.
I took the demo and made it an Eclipse project and get the same problem. Here is the stack trace:
Exception in thread "AWT-EventQueue-0" java.lang.ExceptionInInitializerError
at com.jniwrapper.win32.ie.samples.demo.TreeCellRenderer.<clinit>(TreeCellRenderer.java:17)
at com.jniwrapper.win32.ie.samples.demo.DOMStructurePanel.initialize(DOMStructurePanel.java:76)
at com.jniwrapper.win32.ie.samples.demo.DOMStructurePanel.<init>(DOMStructurePanel.java:41)
at com.jniwrapper.win32.ie.samples.demo.JExplorerDemo.createGUI(JExplorerDemo.java:141)
at com.jniwrapper.win32.ie.samples.demo.JExplorerDemo.run(JExplorerDemo.java:93)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
Caused by: java.lang.RuntimeException: JNIWrapper license check failed: No valid license found.
Thanks
Bill