UmeshChoudhari / jnativehook

Automatically exported from code.google.com/p/jnativehook
0 stars 0 forks source link

Loading Example At JNLP #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. create a simple JNLP to run Example
2. Try Execute in Window 7 or Mac OSX

What is the expected output? What do you see instead?
The application return an erro: 
Error: org.jnativehook.NativeHookException: Failed to create JNI global 
references

What version of the product are you using? On what operating system?
- Window 7 and Mac OSX 10.6

Thanks

Original issue reported on code.google.com by brauliof...@gmail.com on 30 Nov 2012 at 7:27

Attachments:

GoogleCodeExporter commented 9 years ago
Can you provide a minimal test project that reproduces the problem?  Some jnlp 
that launches the demo program would be fine.

Original comment by a...@1stleg.com on 30 Nov 2012 at 11:26

GoogleCodeExporter commented 9 years ago
Also the error in that screen shot states that it cannot locate 
org.jnativehook.mouse.NativeMouseWheelEvent.  That file should be included in 
the JNativeHook.jar at version 1.1.0 or later.  Did you rebuild or unpack the 
library?  What version of the library are you using?

Original comment by a...@1stleg.com on 30 Nov 2012 at 11:30

GoogleCodeExporter commented 9 years ago
Hi, Thanks for your attention.

i'm using the last version 1.1.2.
I just want to load the demo app using jnlp.
The JAR must be signed for this? do you have any jnlp example?

Original comment by brauliof...@gmail.com on 1 Dec 2012 at 1:48

GoogleCodeExporter commented 9 years ago
I has worked in the past although my testing earlier today was producing a 
segfault in javaws.  Please attach the jnlp guide you are using so I can test.

Thanks

Original comment by a...@1stleg.com on 1 Dec 2012 at 1:52

GoogleCodeExporter commented 9 years ago
ok.
this is my jnlp and JNativeHook.jar signed that i made for test.

Original comment by brauliof...@gmail.com on 1 Dec 2012 at 2:00

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by a...@1stleg.com on 2 Dec 2012 at 8:37

GoogleCodeExporter commented 9 years ago
Verified the problem.  I am not sure how javaws loads classes but its not even 
close to the same way that java does.  For some reason the classpath does not 
contain any of the classes in the jar so the JNI method FindClass returns null. 
 I will keep digging around for some answers.

Original comment by a...@1stleg.com on 2 Dec 2012 at 10:23

GoogleCodeExporter commented 9 years ago
Can you please test the following jar to verify that the problem has been 
resolved.

Thanks.

Original comment by a...@1stleg.com on 5 Dec 2012 at 6:55

Attachments:

GoogleCodeExporter commented 9 years ago
oh! thanks for your atention!
in my mac osx it was work but not in windows 7.
this is the print screen of windows exception.
thanks again!

Original comment by brauliof...@gmail.com on 5 Dec 2012 at 12:18

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the stack trace.  This is a different error than the problem I 
originally fixed.  Does the jar file start normally without JNLP?  

Original comment by a...@1stleg.com on 5 Dec 2012 at 4:36

GoogleCodeExporter commented 9 years ago
when i tried in windows i have this one. In Mac OSX it's OK!

Original comment by brauliof...@gmail.com on 5 Dec 2012 at 4:44

Attachments:

GoogleCodeExporter commented 9 years ago
Looks like you stumbled upon another bug in the build script causing it to only 
generate x86_64 native binaries.  I have attached a rebuild with the correct 
libraries.

Original comment by a...@1stleg.com on 5 Dec 2012 at 7:11

Attachments:

GoogleCodeExporter commented 9 years ago
thanks again!!! now it's work 100%!!! bug resolved and closed!

Original comment by brauliof...@gmail.com on 5 Dec 2012 at 7:16

GoogleCodeExporter commented 9 years ago
Great!  Official release will be 1.1.3 in the next few days.

Original comment by a...@1stleg.com on 5 Dec 2012 at 9:43