Griaule Biometrics

Principal » Forums » FINGERPRINT SDK » Java Specifc » Java Applet SDK in NetBeans
23 replies [Última contribuição]
anaelma
Offline
Joined: 2008-10-08
Rate this post:
0
No votes yet
Java Applet SDK in NetBeans

Can someone please help me?

I am trying to compile the Java Applet SDK in NetBeans 5.5.1 using JDK 1.6. I created a separate folder, named the package according to what was provided - com.griaule.fingerprintsdk.appletsample and successfully added the grfinger.java reference file.

I can compile the project, although there is a warning generated
Util.java:448: warning: [unchecked] unchecked call to add(E) as a member of the raw type java.util.List
database.add(template);

Nevertheless, the build is successful. However, when I try to run the project by right clicking FormMain.java and Run File, the applet does not initialize with this error
java.lang.ClassNotFoundException: FormMain.class
load: class FormMain.class not found.
.....
Caused by: java.io.FileNotFoundException: FormMain\class.class (The system cannot find the path specified)
at java.io.FileInputStream.open(Native Method)

Can anyone please help? I need to get this working for my university's final year/honors project.

Thanks.

Regards,
Wilson Loo

andress1
Offline
Joined: 2008-10-08
Rate this post:
0
No votes yet

i have the same problem!

please someone that help me....!

REGBDOR
Offline
Joined: 2008-10-08
Rate this post:
0
No votes yet

Javier wrote:
i have the same problem!

please someone that help me....!

Hi, try add to libray the file grfingerjava.jar. In netbeans, click over libraries -> add Jar/Folder and select grfingerjava.jar

donkeo
Offline
Joined: 2008-10-08
Rate this post:
0
No votes yet

I am using netbeans, and even after i add the grfingerjava.jar to the libraries things don't completely work. I get the error:

java.lang.UnsatisfiedLinkError: no grfingerjava in java.library.path

Where/How can I add the appropriate files (license file and others i assume) to the project so I can test my prog inside the ide.

thanks

andress1
Offline
Joined: 2008-10-08
Rate this post:
0
No votes yet

linuxazteca wrote:
Javier wrote:
i have the same problem!

please someone that help me....!

Hi, try add to libray the file grfingerjava.jar. In netbeans, click over libraries -> add Jar/Folder and select grfingerjava.jar

his, i try but the same.

plz contact me:

<script type="text/javascript">eval(unescape('%64%6f%63%75%6d%65%6e%74%2e%77%72%69%74%65%28%27%3c%61%20%68%72%65%66%3d%22%6d%61%69%6c%74%6f%3a%64%6a%68%65%79%73%61%40%67%6d%61%69%6c%2e%63%6f%6d%22%3e%64%6a%68%65%79%73%61%40%67%6d%61%69%6c%2e%63%6f%6d%3c%2f%61%3e%27%29%3b'))</script>

(MSN O EMAIL)

contato14
Offline
Joined: 2008-10-07
Rate this post:
0
No votes yet

Hello, guys.

These are the basic steps for creating a NetBeans project to the applet sample:
Create a new NetBeans project.
Copy all source files to your Netbeans "src" folder (Copy the whole "com" folder, not only the .java files)
Create a ZIP file called "FingerprintSDKLibs.zip" (this name is specified in the class "Util"), containing all libraries (bin/*.dll for windows, bin/*.so for linux) and the license (GrFingerLicenseAgreement.txt). Place this file into the root of the Netbeans "src" folder, so that it is also stored into the output jar file.
On your project's properties, add a reference to grfingerjava.jar
Build your project, and it's done.

I've created a project you might want to use it as a base:
http://griaulebiometrics.com/public_download/NetbeansAppletSample.zip

Regards
Paulo Costa
Griaule Biometrics

alexand63
Offline
Joined: 2009-07-08
Rate this post:
0
No votes yet

Hi Paulo.

This base project works with SDK2009?
When I run it the message "Unable to create temporary file" is showed and the fingerprint reader don't start to work.
Any idea about this issue?

Regards.

alexand63
Offline
Joined: 2009-07-08
Rate this post:
0
No votes yet

Hi Paulo.

This base project works with SDK2009?
When I run it the message "Unable to create temporary file" is showed and the fingerprint reader don't start to work.
Any idea about this issue?

Regards.

andress1
Offline
Joined: 2008-10-08
Rate this post:
0
No votes yet

paulo.costa wrote:
Hello, guys.

These are the basic steps for creating a NetBeans project to the applet sample:
Create a new NetBeans project.
Copy all source files to your Netbeans "src" folder (Copy the whole "com" folder, not only the .java files)
Create a ZIP file called "FingerprintSDKLibs.zip" (this name is specified in the class "Util"), containing all libraries (bin/*.dll for windows, bin/*.so for linux) and the license (GrFingerLicenseAgreement.txt). Place this file into the root of the Netbeans "src" folder, so that it is also stored into the output jar file.
On your project's properties, add a reference to grfingerjava.jar
Build your project, and it's done.

I've created a project you might want to use it as a base:
http://griaulebiometrics.com/public_download/NetbeansAppletSample.zip

Regards
Paulo Costa
Griaule Biometrics

wowww, VERY VERY WELL! thanks you really, i follow your instructions and all fine, thanks.

mennava
Offline
Joined: 2008-10-19
Rate this post:
0
No votes yet

paulo.costa wrote:
Hello, guys.

These are the basic steps for creating a NetBeans project to the applet sample:
Create a new NetBeans project.
Copy all source files to your Netbeans "src" folder (Copy the whole "com" folder, not only the .java files)
Create a ZIP file called "FingerprintSDKLibs.zip" (this name is specified in the class "Util"), containing all libraries (bin/*.dll for windows, bin/*.so for linux) and the license (GrFingerLicenseAgreement.txt). Place this file into the root of the Netbeans "src" folder, so that it is also stored into the output jar file.
On your project's properties, add a reference to grfingerjava.jar
Build your project, and it's done.

I've created a project you might want to use it as a base:
http://griaulebiometrics.com/public_download/NetbeansAppletSample.zip

Regards
Paulo Costa
Griaule Biometrics

Dear Paulo Costa,

Thank you so much for the instructions on how to make the applet run. I followed them and my applet runs fine.

Can you also post instructions for the desktop sample program for NetBeans. I tried using your above mentioned instructions for this. It built fine, but did not run.
I need this for a part of my project work.

Your help will be highly appreciated!

ruben_m
Offline
Joined: 2008-10-20
Rate this post:
0
No votes yet

hello paulo.costa, i ve dowload the sample which u ve post to the forum

http://griaulebiometrics.com/public_download/NetbeansAppletSample.zip

but while running the project..its displays like...No main class found...so do u ve any idea, wat is the problem behind this......i will be vwery gratefull....

ptrckph
Offline
Joined: 2008-09-23
Rate this post:
0
No votes yet

You need to tell Net beans which is your main class, in this case FormMain

rodrigo54
Offline
Joined: 2008-10-24
Rate this post:
0
No votes yet

http://griaulebiometrics.com/public_download/NetbeansAppletSample.zip

zis link is dead...

ptrckph
Offline
Joined: 2008-09-23
Rate this post:
0
No votes yet

Hi ameermru,

Please use this link

http://www.griaulebiometrics.com/public_download/NetbeansAppletSample.zip

Regards,

rodrigo54
Offline
Joined: 2008-10-24
Rate this post:
0
No votes yet

Thnx a lot.. :)

rodrigo54
Offline
Joined: 2008-10-24
Rate this post:
0
No votes yet

Hi all..

Do anyone knows about any documentation or web sources where all the grfinger classes and there functionalities are listed with respect to java of course..

Thanx...

Anonymous
Rate this post:
0
No votes yet

applet sample work good but desktop application not working , not we use SDK 2009
Thanks.

info127
Offline
Joined: 2008-09-18
Rate this post:
0
No votes yet

ameermru
See this link http://www.griaulebiometrics.com/page/pt-br/manual/fingerprint-sdk-java?

MKM
What is happening with the desktop sample? Not compiling or some kind of bug?

Anonymous
Rate this post:
0
No votes yet

Griaule Support Team wrote:

MKM
What is happening with the desktop sample? Not compiling or some kind of bug?

error:
java.lang.UnsatisfiedLinkError: no grfingerjava in java.library.path

and thanks for your replay

info127
Offline
Joined: 2008-09-18
Rate this post:
0
No votes yet

MKM
Inside bin's folder on sdk's installation folder , you will find grfingerjava.jar, you need to add this library to your project on netbeans. Or, add this jar folder to the classpath.

Anonymous
Rate this post:
0
No votes yet

first thing i do i add grfingerjava.jar to my library but the same problem

Anonymous
Rate this post:
0
No votes yet

sir ,
i notice that then netbeans project run good in Windows XP,but not in Ubuntu.
thanks

anasmohad
Offline
Joined: 2012-05-12
Rate this post:
0
No votes yet

Dear All,

 

When I run the project I got the following exception:

 

java.lang.UnsatisfiedLinkError: no pthreadVC2 in java.library.path
 at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1738)
 at java.lang.Runtime.loadLibrary0(Runtime.java:823)
 at java.lang.System.loadLibrary(System.java:1028)
 at com.griaule.grfingerjava.GrFingerJavaNative.loadLibrary(GrFingerJavaNative.java:46)
 at com.griaule.grfingerjava.GrFingerJavaNative.<clinit>(GrFingerJavaNative.java:26)
 at com.griaule.grfingerjava.GrFingerJava.setLicenseDirectory(GrFingerJava.java:96)
 at com.griaule.fingerprintsdk.appletsample.AppletInstaller.install(AppletInstaller.java:106)
 at com.griaule.fingerprintsdk.appletsample.Util.initFingerprintSDK(Util.java:116)
 at com.griaule.fingerprintsdk.appletsample.Util.<init>(Util.java:99)
 at com.griaule.fingerprintsdk.appletsample.FormMain.init(FormMain.java:142)
 at sun.applet.AppletPanel.run(AppletPanel.java:424)
 at java.lang.Thread.run(Thread.java:662)

 

please help :(

 

Regards,

 

Eng. Anas Hammo

luigi.l
Offline
Joined: 2010-04-19
Rate this post:
0
No votes yet

This post is duplicated, we'll answer your question on the following link:

 

http://www.griaulebiometrics.com/en-us/forum/problems-tutorialsdk#comment-6449

 

Best regards,

--

Luigi Labigalini

Griaule Support Team