Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8258509
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T02:33:43+00:00 2026-06-08T02:33:43+00:00

I have the following code in a HTML page <applet code=com.griaule.fingerprintsdk.appletsample.FormMain archive=SignedFingerprintSDKJava.jar, AbrirAplicativoAssinado.jar width=515

  • 0

I have the following code in a HTML page

        <applet code="com.griaule.fingerprintsdk.appletsample.FormMain"
            archive="SignedFingerprintSDKJava.jar, AbrirAplicativoAssinado.jar"
            width="515" height="560">
        </applet>

When I run my html page, a got an error that says, "ClassNotFoundException, FormMain.class"

I run jarscan and I found the class FormMain in my jar file.

What happened ?

This is how I generate my jar file

jar cvf C:\Users\lucas\desktop\AbrirAplicativo.jar C:\Users\lucas\workspace\applet-chave\bin\com\griaule\fingerprintsdk\appletsample\AppletInstaller.class C:\Users\lucas\workspace\applet-chave\bin\com\griaule\fingerprintsdk\appletsample\ColorPane.class C:\Users\lucas\workspace\applet-chave\bin\com\griaule\fingerprintsdk\appletsample\FormMain.class C:\Users\lucas\workspace\applet-chave\bin\com\griaule\fingerprintsdk\appletsample\FormOptions.class C:\Users\lucas\workspace\applet-chave\bin\com\griaule\fingerprintsdk\appletsample\Util.class 

Generate keys

keytool -genkey -dname "cn=AbrirAplicativoApplet, ou=XXX, o=XXX, l=São Paulo, s=SP c=BR" -alias AbrirAplicativoAppletKey -keystore C:\ChaveAbrirAplicativoApplet -storepass 123456 -validity 7300

Assign Jar File

jarsigner -keystore C:\users\lucas\desktop\ChaveAbrirAplicativoApplet -storepass 123456 -signedjar "C:\Users\lucas\Desktop\AbrirAplicativoAssinado.jar" "C:\Users\lucas\Desktop\AbrirAplicativo.jar" AbrirAplicativoAppletKey

Exporting Certificate

keytool -export -keystore C:\users\lucas\desktop\ChaveAbrirAplicativoApplet -alias AbrirAplicativoAppletKey -file C:\users\lucas\desktop\CertificadoAbrirAplicativoApplet.x509

Verifying Assign

keytool -import -alias AbrirAplicativoAppletKey -file C:\CHAVES\CertificadoAbrirAplicativoApplet.x509

Maybe my problem are in the PolicyTool

When I try to put a new policy entry I got the following error

java.net.MalformedURLException: no protocol: AbrirAplicativoAssinado.jar

but how can I put a URL in this field, if my jar file are in my desktop ?

I try to put http://localhost/AbrirAplicativoAssinado.jar but occurs a new error

There is not a public key for the alias AbrirAplicativoAppletKey.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T02:33:45+00:00Added an answer on June 8, 2026 at 2:33 am

    OK the “class not found” should have nothing to do with signing. I take it that the jar files reside in the same directory as the html file?

    There might be a problem with the way you list multiple archives. You might try the following approaches:

    • Omit the , from the archive list, leaving just the space.
    • Replace the , (including the space) by either : or ;.
    • Create a jar file which only contains a manifest, and in that manifest add a Class-Path property listing the other two archives, separated by a space. Use that file as the archive= parameter.
    • Modify one of your jar files to reference the other in the Class-Path property of its manifest, and only list that one in the archive= parameter.

    It also apepars as if the way you build yor jar file, all the class files would be placed in the root directory of the file, without internal directory structure. The directory structure in the jar file has to match the package structure of your classes, i.e. the package lines in your source code, and also the code= parameter of your applet tag.

    In order to create the directory structure inside your jar file, change directory to C:\Users\lucas\workspace\applet-chave\bin and then execute jar cvf C:\Users\lucas\desktop\AbrirAplicativo.jar com to add the whole directory com to the archive.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have the following code to try and load a local html page in
I have the following HTML Code <%@ Page Language=C# %> <html> <head> <title></title> </head>
I have saved an html page using the following line of code : NSURL
I have the following Javascript code add_num = { f: function(html, num) { alert(this.page);
I have the following code in my html page. The icon exists and the
I have the following code on an html page: <script type=text/javascript> <!-- window.location.replace(http://www.example.com/); -->
I have written a HTML page which has following code. <div id=adsListContainer style=margin: 5px;>
I have following HTML code: <div id=wrapper> <div class=page id=first> Test<br/> Test<br/> Test<br/> Test<br/>
I have the following code to generate a blank html page with a series
I have the following code that generates my form on my html page <input

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.