No valid license found running from Eclipse

844 views
Skip to first unread message

billand...@gmail.com

unread,
Apr 22, 2013, 10:12:54 PM4/22/13
to jexplor...@teamdev.com
 
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
 

JExplorer Forum

unread,
Apr 23, 2013, 8:03:01 AM4/23/13
to billand...@gmail.com, JExplorer Forum
Hello Bill,

It seems like you run your application in an environment that is not supported by your JExplorer license. JExplorer 2.3 doesn't support 64-bit environments and I suppose that your license doesn't support 64-bit environments too. To make sure that the reason is in the license, please try to run your application with JExplorer 2.7 using JRE 32-bit. If you could run your application, then the reason is in license. In this case you will need to send requests to our Sales team at sa...@teamdev.com and request and updated JExplorer license that supports 64-bit environments.

Sincerely,
Vladimir Ikryanov


 

--
You are receiving this email because you have joined the "JExplorer Forum" group or have been added by request. You may choose not to receive emails from this group or unsubscribe completely on "Edit my membership" page.
Go to http://links.teamdev.com/jexplorer-forum, choose "Edit my membership" link on the right. Specify your email preferences in suggested options, or click "Unsubscribe" button.
---
You received this message because you are subscribed to the Google Groups "JExplorer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jexplorer-for...@teamdev.com.
To post to this group, send email to jexplor...@teamdev.com.
Visit this group at http://groups.google.com/a/teamdev.com/group/jexplorer-forum/?hl=en.
For more options, visit https://groups.google.com/a/teamdev.com/groups/opt_out.
 
 

billand...@gmail.com

unread,
Apr 23, 2013, 11:32:50 AM4/23/13
to jexplor...@teamdev.com, billand...@gmail.com, jexplor...@teamdev.com
Vladimir -
 
I have checked and it is running a 32 bit JVM. We have other external DLLs with our application that don't support 64 bit JVM so I was pretty sure that I was. In fact, I have uninstalled all 64 bit JVMs since I did once have a problem where it was picking up the wrong one.
 
Is there a way to specify from the command line where the license files are?
 
Thanks
 
Bill

Bill Andrews

unread,
Apr 23, 2013, 11:59:10 PM4/23/13
to jexplor...@teamdev.com, billand...@gmail.com
Vladimir -
 
I have figured it out.
 
 I made a META-INF folder in the /bin folder and put the licenses in there and it worked.
 
Thanks,
 
Bill
Reply all
Reply to author
Forward
0 new messages