How to activate Java Applets?

Hi,
I got some Java Applets that i try to run (again). Since Javas own security and firefox itself forbids to run Java without being activated by the user i thought i would be asked whether to activate java on my own site (local on the PC) or not. Although java is activated inside in the plugins-option menu and the correct installation of java is confirmed by java.com (test after the installation) my Java applets dont show up, not even a message saying "Applets are being blocked" or so.
In chrome i can simply activate the NPAPI in the settings and enable the flag and the applets work. Isnt there a function similar to this?
I would like to run Firefox portable on a CD to give to students. As the Java applets are being blocked i hoped to simply enable the corrosponding flag so prevent rewriting all the java applets.
Is there another developer plugin of some sort that i can pre-install into Firefox portable that does the job?
See blow for Versions of Windows, Firefox. Java Version 8 Update 45 (Build 1.8.0_45-b14) latest version.
Kind regards,
Marcel Klinge
"application": {
"name": "Firefox",
"version": "37.0.2",
"buildID": "20150415140819",
"userAgent": "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:37.0) Gecko/20100101 Firefox/37.0",
"updateChannel": "release",
"supportURL": "https://support.mozilla.org/1/firefox/37.0.2/WINNT/de/",
"numTotalWindows": 1,
"numRemoteWindows": 0
"crashes": {
"submitted": [],
"pending": 0
"modifiedPreferences": {
"accessibility.typeaheadfind.flashBar": 0,
"browser.cache.disk.smart_size.first_run": false,
"browser.cache.disk.smart_size.enabled": false,
"browser.cache.disk.capacity": 0,
"browser.cache.frecency_experiment": 4,
"browser.places.importBookmarksHTML": false,
"browser.places.smartBookmarksVersion": 7,
"browser.search.useDBForOrder": true,
"browser.sessionstore.upgradeBackup.latestBuildID": "20150415140819",
"browser.startup.homepage_override.mstone": "37.0.2",
"browser.startup.homepage": "file:///C:/Users/Klinge/Desktop/Sign%C3%BC%20I+II%20-%20Neu/sueb1/html/index.html",
"browser.startup.homepage_override.buildID": "20150415140819",
"dom.ipc.plugins.sandbox.default": true,
"dom.mozApps.used": true,
"extensions.lastAppVersion": "37.0.2",
"gfx.direct3d.last_used_feature_level_idx": 0,
"media.gmp-gmpopenh264.lastUpdate": 1430384919,
"media.gmp-gmpopenh264.version": "1.3",
"media.gmp-manager.lastCheck": 1430384919,
"network.cookie.prefsMigrated": true,
"places.database.lastMaintenance": 1430385666,
"places.history.expiration.transient_current_max_pages": 104858,
"plugin.importedState": true,
"plugin.disable_full_page_plugin_for_types": "application/pdf",
"plugin.state.java": 2,
"privacy.sanitize.migrateFx3Prefs": true,
"storage.vacuum.last.places.sqlite": 1430385666,
"storage.vacuum.last.index": 0
"lockedPreferences": {},
"graphics": {
"numTotalWindows": 1,
"numAcceleratedWindows": 1,
"windowLayerManagerType": "Direct3D 11",
"windowLayerManagerRemote": true,
"adapterDescription": "ATI Radeon HD 4650",
"adapterVendorID": "0x1002",
"adapterDeviceID": "0x9498",
"adapterSubsysID": "22691787",
"adapterRAM": "512",
"adapterDrivers": "atiumd64 atidxx64 atiumdag atidxx32 atiumdva atiumd6a atitmm64",
"driverVersion": "8.632.1.2000",
"driverDate": "8-17-2009",
"adapterDescription2": "",
"adapterVendorID2": "",
"adapterDeviceID2": "",
"adapterSubsysID2": "",
"adapterRAM2": "",
"adapterDrivers2": "",
"driverVersion2": "",
"driverDate2": "",
"isGPU2Active": false,
"direct2DEnabled": true,
"directWriteEnabled": true,
"directWriteVersion": "6.2.9200.16571",
"webglRenderer": "Google Inc. -- ANGLE (ATI Radeon HD 4650 Direct3D11 vs_4_1 ps_4_1)",
"info": {
"AzureCanvasBackend": "direct2d 1.1",
"AzureSkiaAccelerated": 0,
"AzureFallbackCanvasBackend": "cairo",
"AzureContentBackend": "direct2d 1.1"
"javaScript": {
"incrementalGCEnabled": true
"accessibility": {
"isActive": false,
"forceDisabled": 0
"libraryVersions": {
"NSPR": {
"minVersion": "4.10.8",
"version": "4.10.8"
"NSS": {
"minVersion": "3.17.4 Basic ECC",
"version": "3.17.4 Basic ECC"
"NSSUTIL": {
"minVersion": "3.17.4",
"version": "3.17.4"
"NSSSSL": {
"minVersion": "3.17.4 Basic ECC",
"version": "3.17.4 Basic ECC"
"NSSSMIME": {
"minVersion": "3.17.4 Basic ECC",
"version": "3.17.4 Basic ECC"
"userJS": {
"exists": false
"extensions": [],
"experiments": []
}

use Robot Class
java.awt.Robot since jdk1.3

Similar Messages

  • How to start java applet with netbeans 6.1

    hey,
    I want to learn how to start java applet (with database) with netbeans.. I'm new to java...can you show me how can i start..if you have any doc about it can you send it to me..thank you..:)

    You really should be asking this NetBeans question at the NB site - these forums are for Java language topics, not NB support.
    [http://www.netbeans.org/kb/61/web/applets.html]
    Almost any NB question you have can be answered by either the NB web documentation or the NB program's Help.

  • How relevant is Java Applet technology in 2006 for wide web deployment?

    How relevant is Java Applet technology in 2006 for wide web deployment?
    I'm developing a website which requires deployment Internationally to as many users as possible. Many people advise to stay away from Java applets, others say only use Java 1.1 (AWT limitation), some say use Flash, others say stay away from applets and plugins altogether.
    Of course it depends on the content. I have interactive 3D content currently powered by Java 1.1 applet BUT I have been using Swing to introduce custom GUI functionality but which I know may limit compatibility. I'm torn by this whole debate and what impact it will have on the relevancy of my website.
    How many users out there have browsers that will cope with my content?
    Then there's the issue of all the various different browsers nowadays. I'm testing for IE and Netscape on Windows platform, but what about other browsers and OSes on other platforms? I notice that some websites have a page with tables to show users what browser is and is not compatible with their web content. How far must a web developer go to test all these things exhaustively?
    Then there's the issue of a 16MB download for the latest Java plugin if a user's system is not up to date. Can all modern browsers handle Java even with the latest Java download?
    Or should I just tell the user to get a compatible browser? Another 10-20MB download, depending.
    Or how about Flash? That reportedly has a vast International deployment base, but do I need to pay for a Flash editor / IDE / compiler? So far I've been using freeware (HTML, Java, NetBeans, PHP, MySQL, PNG images) to achieve excellent results within my ludicrously limited budget. The Flash Player is only a 930KB download, and that is quite user friendly even if I must tell a user to get the latest version � only 2 minutes download on a 56K modem or about 15 seconds on DSL followed by a 2 second really easy install.
    Look here to see where Java ranks against Flash and others :
    http://www.macromedia.com/software/player_census/flashplayer/
    I know Java. I use it for apps and now applets. I get it to communicate with my server's PHP and MySQL. It works well on my machine, but will my applets work for millions of users world wide with few technical problems? Looking through Java forums I see developers struggling with Java Applets in Safari on OSX but not on Windows. Then another has problems with Applets in IE on Windows but not on Netscape. Then one browser struggles with key events . . . it's like a mine field out there and I'm struggling for clear direction.
    Microsoft's support for Java has been poor. If I depend on Java Applets now and for the next year, then will they still be supported 3 or 5 years from now? Or will I have to write off this investment in Java development effort and then switch to something else? Or switch to something else now?
    Does Sun Microsystems somewhere reveal how ubiquitous their JVM deployment is?
    Perhaps I'm totally misinformed, but Java Applets seem to be dying out. I'd really love to hear from other active web developers out there doing stuff for wide deployment to mass markets.

    Since my zwebsite is already using Java 1.1 for 3D visualization I've decided to standardize on Java 1.1 to gain maximum browser compatibility. To add another technology like Flash at this point may just complicate matters, especially for me.
    I'm now converting my Swing GUI to AWT. It wastes a lot of time, but the effort should be worth it in terms of the deployment success rate - in theory at least :-)
    Just imagine if Java 1 had Swing . . . dream on!
    In the deployment stats noted in my first post on this thread they state that Java has 86% world wide desktop deployment. Problem is that I bet that figure only relates to Java1. I wonder what pathetic percentage is true for Java2?
    Regarding the use of Java for content rich dynamic content for world world wide web browser deployment . . . I'm rather disillusioned at this point. It seems for this application Java is stuck indefinitely at Java1 and the cool things they developed after that cannot be used effectively. Please note that I am ONLY referring to wide browser deployment. For stand-alone apps and targeted web deployment (where you can reasonably expect your user to upgrade his/her system for a good reason) Java is still very cool.
    As for Java WebStart: I can see the uses for it, but it just does not fit into the browser application where the general public enter your web pages and see cool content inside the essential context of your webpage. This last point is vital for any serious web site. If the object of the site is to deploy a useful app to the user (like a forex trading front-end with GUI) then use Java WebStart by all means.
    After this website, I'll invest in Flash. I'm sure Flash is not without its share of issues, but it has 97% deployment of nearly the latest versions and user download/upgrade is under 1MB. On top of that it does not seem to suffer from corporate relationship woes like those between Sun and Microsoft.
    After all, Flash is labelled as a 'player' and not a Virtual Machine. Mass users out there want to play rather than know about complex and bulky IT stuff.

  • How to load Java applets on Gemxplore 3G card ? (APDU inside)

    Hi,
    Does anyone have experience on how to load Java applets into Gemxplore 3G card ?
    I tried to load the tck applets into Gemxplore 3G card but the got sw 6985 for INSTALL FOR INSTALL Make Selectable
    Here is the details on APDUs.
    Do you know what is wrong ?
    Regards
    -guoqing
    SELECT
    *00 A4 04 00 07 A0 00 00 00 18 43 4D*
    *61 1A [Normal ending of the command with <26> bytes of extra information.]*
    INITIALIZE UPDATE
    *80 50 01 01 08 00 01 02 03 04 05 06 07 (1C)*
    *43 4D 6D FF 23 B5 C4 13 20 1A 01 01 9F 15 97 A5 CE E9 CF A7 19 C6 8D F9 8B 9A 78 DB, 90 00 [Normal ending of the command.]*
    EXTERNAL AUTHENTICATE
    *84 82 01 00 10 EB 88 23 3C B6 4E 23 E9 69 1B 30 08 56 7A 1F 8F*
    *90 00 [Normal ending of the command.]*
    INSTALL FOR LOAD
    *84 E6 02 00 24 09 A0 00 00 00 62 B0 BA A1 01 00 00 0E EF 0C C6 02 00 00 C8 02 00 00 C7 02 00 00 00 53 9D 96 C2 D4 8F 41 6B (00)*
    *00, 90 00 [Normal ending of the command.]*
    SELECT
    *00 A4 04 00 07 A0 00 00 00 18 43 4D*
    *61 1A [Normal ending of the command with <26> bytes of extra information.]*
    INITIALIZE UPDATE
    *80 50 01 01 08 00 01 02 03 04 05 06 07 (1C)*
    *43 4D 6D FF 23 B5 C4 13 20 1A 01 01 A5 57 A0 A0 00 7E 5A 3F A5 10 6A 37 69 16 AA 6F, 90 00 [Normal ending of the command.]*
    EXTERNAL AUTHENTICATE
    *84 82 01 00 10 28 BA 3A C4 D6 05 C9 C9 70 37 39 F1 7B 6D F8 80*
    *90 00 [Normal ending of the command.]*
    INSTALL FOR INSTALL Make Selectable
    *84 E6 0C 00 36 09 A0 00 00 00 62 B0 BA A1 01 09 A0 00 00 00 62 B0 BA A1 81 09 A0 00 00 00 62 B0 BA A1 81 01 00 0C EF 08 C7 02 00 00 C8 02 00 00 C9 00 00 A4 CE 57 8B 19 F2 9E 0A (00)*
    *69 85*
    Edited by: guoqing on May 19, 2008 6:06 AM
    Edited by: guoqing on May 19, 2008 6:20 AM

    I don't have any experience with GTO's cards, but one would expect they provide a user guide or a data sheet how to load applications.. Reasons could be:
    1. Issuer policy to have a certain security level for content management --> raise the security level to C_MAC + ENC
    2. Issuer policy this card is static --> no post-issuance

  • HT4972 how to activate java in ipad

    how to activate java in in my ipad

    You can't, Java is not supported on the iPad - only JavaScript  is supported (which is not the same thing as Java) via Settings > Safari

  • How to sign java applet policy to end user?

    i have putted my applet class on server, i want all end users can access it on server, how to sign the java.policy to there JRE?
    can anyone help me?

    I found this some where else. It shows how to sign an applet.
    START OF DOC
    How To Sign a Java Applet
    The purpose of this document is to document the steps required to sign and use an
    applet using a self-signed cert or CA authorized in the JDK 1.3 plugin.
    The original 9 steps of this process were posted by user irene67 on suns message forum:
    http://forums.java.sun.com/thread.jsp?forum=63&thread=132769
    -----begin irene67's original message -----
    These steps describe the creation of a self-signed applet. This is useful for testing purposes. For use of public reachable applets, there will be needed a "real" certificate issued by an authority like VeriSign or Thawte. (See step 10 - no user will import and trust a self-signed applet from an unkown developer).
    The applet needs to run in the plugin, as only the plugin is platform- and browser-independent. And without this indepence, it makes no sense to use java...
    1. Create your code for the applet as usual.
    It is not necessary to set any permissions or use security managers in
    the code.
    2. Install JDK 1.3
    Path for use of the following commands: [jdk 1.3 path]\bin\
    (commands are keytool, jar, jarsigner)
    Password for the keystore is any password. Only Sun knows why...
    perhaps ;-)
    3. Generate key: keytool -genkey -keyalg rsa -alias tstkey
    Enter keystore password: *******
    What is your first and last name?
    [Unknown]: Your Name
    What is the name of your organizational unit?
    [Unknown]: YourUnit
    What is the name of your organization?
    [Unknown]: YourOrg
    What is the name of your City or Locality?
    [Unknown]: YourCity
    What is the name of your State or Province?
    [Unknown]: YS
    What is the two-letter country code for this unit?
    [Unknown]: US
    Is CN=Your Name, OU=YourUnit, O=YourOrg, L=YourCity, ST=YS, C=US
    correct?
    [no]: yes
    (wait...)
    Enter key password for tstkey
    (RETURN if same as keystore password):
    (press [enter])
    4. Export key: keytool -export -alias tstkey -file tstcert.crt
    Enter keystore password: *******
    Certificate stored in file tstcert.crt
    5. Create JAR: jar cvf tst.jar tst.class
    Add all classes used in your project by typing the classnames in the
    same line.
    added manifest
    adding: tst.class(in = 849) (out= 536)(deflated 36%)
    6. Verify JAR: jar tvf tst.jar
    Thu Jul 27 12:58:28 GMT+02:00 2000 META-INF/
    68 Thu Jul 27 12:58:28 GMT+02:00 2000 META-INF/MANIFEST.MF
    849 Thu Jul 27 12:49:04 GMT+02:00 2000 tst.class
    7. Sign JAR: jarsigner tst.jar tstkey
    Enter Passphrase for keystore: *******
    8. Verifiy Signing: jarsigner -verify -verbose -certs tst.jar
    130 Thu Jul 27 13:04:12 GMT+02:00 2000 META-INF/MANIFEST.MF
    183 Thu Jul 27 13:04:12 GMT+02:00 2000 META-INF/TSTKEY.SF
    920 Thu Jul 27 13:04:12 GMT+02:00 2000 META-INF/TSTKEY.RSA
    Thu Jul 27 12:58:28 GMT+02:00 2000 META-INF/
    smk 849 Thu Jul 27 12:49:04 GMT+02:00 2000 tst.class
    X.509, CN=Your Name, OU=YourUnit, O=YourOrg, L=YourCity, ST=YS, C=US
    (tstkey)
    s = signature was verified
    m = entry is listed in manifest
    k = at least one certificate was found in keystore
    i = at least one certificate was found in identity scope
    jar verified.
    9. Create HTML-File for use of the Applet by the Sun Plugin 1.3
    (recommended to use HTML Converter Version 1.3)
    10. (Omitted See Below)
    -----end irene67's original message -----
    To make the plug-in work for any browser you have two options with the JDK 1.3 plugin.
    1) Is to export a cert request using the key tool and send it to a CA verification source like verisign.
    When the reponse comes back, import it into the keystore overwriting the original cert for the generated key.
    To export request:
    keytool -certreg -alias tstkey -file tstcert.req
    To import response:
    keytool -import -trustcacerts -alias tstkey -file careply.crt
    An applet signed with a cert that has been verified by a CA source will automatically be recognized by the plugin.
    2) For development or otherwise, you may want to just use your self-signed certificate.
    In that case, the JDK 1.3 plugin will recognize all certs that have a root cert located in the JDK 1.3 cacerts keystore.
    This means you can import your test certificate into this keystore and have the plugin recognize your jars when you sign them.
    To import self-signed certificate into the cacerts keystore, change directory to where the JDK plugin key store is located.
    For JDK 1.3.0_02: C:\Program Files\JavaSoft\JRE\1.3.0_02\lib\security
    For JDK 1.3.1: C:\Program Files\JavaSoft\JRE\1.3.1\lib\security
    Import your self-signed cert into the cacerts keystore:
    keytool -import -keystore cacerts -storepass changeit -file tstcert.crt
    (the password is literally 'changeit')
    Now, regardless of which method you use, the applet should be recognized as coming from a signed jar. The user can choose to activate it if he / she chooses. If your applet uses classes from multiple jars, for example Apache's Xerce's parser, you will need to sign those jars as well to allow them to execute in the client's brower. Otherwise, only the classes coming from the signed jar will work with the java.security.AllPermission setting and all other classes from unsigned jars will run in the sandbox.
    NOTE: Unless otherwise specified by the -keystore command in all keytool and jarsigner operations, the keystore file used is named '.keystore' in the user's home directory.
    The first time any keystore is accessed (including the default) it will be created and secured with the first password given by the user. There is no way to figure out the password if you forget it, but you can delete the default file and recreate it if necessary. For most operations, using the -keystore command is safer to keep from cluttering or messing up your default keystore.

  • How i use java applet data grid i have many record i need show in grid

    hi master
    sir i have many record i want show all record in applet grid how i use grid in applet
    please send me sample code of java class how send many record to grid and applet code how use applet grid
    thanks
    aamir

    Duplicate post:
    how use the jtable in java applete
    Aamir,
    If you use JApplet then you can use JTable. Just do an Internet search for "JTable" and "applet".
    Good Luck,
    Avi.

  • Detailed on how to install java applet ??

    Hi there,
    Can you tell me the detail on how to configure the pdk to use my
    existing applet ? I have followed the instructions in the pdf ..
    but it failed. And the instruction is not very clear.
    What is the proper procedure to do so ?
    Thanx
    -Maggie

    The way you would use a browser-run java applet is to take the
    HTML <APPLET> or <EMBED> tags you would normally use for your
    Java applet and use that HTML in your portlet.
    If you are talking about using an existing Java class, JSP, or
    servlet (all server-side), you can find detailed instructions in
    the getting started section of the PDK
    http://portalstudio.oracle.com

  • How to use java applets inside visual basic

    hi everyone,
    i am new to programming specially java so please bear with me.
    having said that i am looking for a way to embed java applets in visual basic. so
    1) is it possibele?
    2) if yes(which i believe) then how?
    we are supposed to use VB but i hate it so looking for this way .
    any suggestions and help is whole-heartedly welcome.
    kindly help me.
    you can post ur replies here or mail me directly at my e-mail id
    [email protected]

    thanx
    i have 2 more queries.
    1) is this IE ACTIVE-X CONTROL present by default in VB or do i have to download some add-ons?
    2) how do i write a concurrent server in java . i mean is there any thing equivalent to the UNIX system's FORK()?what if i have to implement this in an applet?
    thanx again.

  • How to Debug Java Applet called in a BSP Component

    Hi All,
    In CRM Marketing->Segments->Graphical Modeler
    A click on settings button will load a Java Applet window.
    The settings window displays some elements. I want to translate a text displayed in that Java Applet window.
    Please let me know the ways to debug a Java applet loaded from BSP Component or ways the data is loaded into Java applet from SAP.
    Your help would be appreciated and points will be rewarded.
    Thanks a lot in advance.

    For the newbies, like me:
    Instruction to setup and debug an applet in Eclipse IDE via your Browser
    Java Console Setup for Applet debugging:
    1. Open up the Java Console Application by double clicking on it at C:\Program Files (x86)\Java\jre1.6.0_03\bin\javacpl.exe
    2. Select the Java Tab
    3. View Applet Runtime Settings button
    4. Enter in the Java Runtime Parameters the following: -Xdebug -Xrunjdwp:transport=dt_socket,address=5555,server=y,suspend=y
    5. Note: the port address 5555 can be anytime you want. You will need to enter whatever number you select into Eclipse IDE.
    6. Note: if you don�t need to debug code in the Applet�s init() method, then use....suspend=n (Not tested yet.)
    Eclipse setup for Applet debugging:
    1. Open up Eclipse and create your Applet. Once you are ready to debug go to the next step.
    2. Select the top level Run menu
    3. Pick the Open Debug Dialog� option
    4. In the left column select Remote Java Application
    5. Then select the �New� button to create a debug configuration for the remote session (the new button looks like a page with a yellow plus in the upper right hand corner)
    6. Give your session a name. I used the class name followed with the work remote for example: mainclassnameRemote
    7. Set connection type to Standard (Socket Attached)
    8. Host to localhost
    9. Port to 5555, or whatever you used in Java Console Setup step 5.
    10. Due not check the �Allow termination of remote VM�
    11. Due not close this window.
    Start debugging:
    1. Go to your Applet html launch file and launch in a browser
    2. Then go back to eclipse and select the debug button
    3. Eclipse should now throw you into the debugger mode.
    4. If it hangs, just retry again. It seems to work ok most of the time. A few time I need to close the browser and start over and then it seems to work.

  • How to call Java Applet on a Oracle Portal page

    I have completed the below steps to add an Java Applet class file to the Oracle Portal.
    1. On the Portal Builder page, click the Navigator link.
    2. Click the Database Objects tab.
    3. In the Name column, scroll down to the schema in which you want to build the 4. object.
    5. Click the schema's name.
    6. Click Create New...Java Object.
    7. Click Java Class.
    8. Complete each wizard page until you reach this page.
    9. Granted PUBLIC access.
    I have created an html portlet on page an added:
    <applet class ="XXCPORT.MyJavaApplet">
    </applet>
    However, it does find the applet when I view the page. Is there some additional path or parameters I need to add?

    If you are asking if you can execute an external process (application/applet) from another application/applet - the answer is yes and no.
    Yes. If you have the security settings/policy to do so.
    No. This may require a security policy to be allowed - as an applet.

  • How to find java-applets developers?

    Hello everybody,
    do you know where is possible to find java-applets on Gemplus GemCombiXpresso R4 cards developers?
    I. T. Co. need them for one-project work
    thanks for help

    Dear friend,
    I would be interested to know more about this project and offer my competence. You can reach me by e-mail from my contact details.
    Thanks
    Dmitri

  • How to use JAVA APPLET VIEWER in JSP?

    i want to use applet viewer in my jsp, but i've no idea how to do this. Now, i'd like to finish the two jobs below with applet viewer:
      1. Open a CR Report with applet viewer in a jsp
      2. Programmlly pass parameters into the report
    thx all

    I'm not sure why you are getting the console message, but here is how you might use the tag. This will simply print out the list of immediate groups (not parent groups) to which user "weblogic" is a member.
    &lt;%@ taglib uri="http://www.bea.com/servers/p13n/tags/userGroupManagement" prefix="ugm" %&gt;
    &lt;%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %&gt;
    &lt;ugm:getGroupNamesForUser username="weblogic" id="groupNames"/&gt;
    &lt;c:forEach items="${groupNames}" var="groupName"&gt;
    bq. &lt;c:out value="${groupName}"/&gt;
    &lt;/c:forEach&gt;

  • How to load java applet to java-enabled card

    I have downlaoded the sdk n run some samples. but when i connect the card as through pcsc reader, and tried to install some ready applet in the card explorer,it fail n give me 6a80.
    How can i load a java card applet into a java-card?

    You will need a loader. To develop a loader, you will need to follow the steps outlined in the Global Platform specs to establish a secure channel and install.

  • How to activate this applet

    adpu:
    //Test script for Applet 'TimeAttendApplet'
    powerup;
    // Select TimeAttendApplet //aid/1B85451EEB/C9FB
    0x00 0xA4 0x04 0x00 0X07 0X1B 0X85 0X45 0X1E 0XEB 0XC9 0XFB 0x7F;
    //Send the APDU here
    0x80 0x00 0x7F;
    powerdown;
    package com.walker;
    import javacard.framework.APDU;
    import javacard.framework.Applet;
    import javacard.framework.ISO7816;
    import javacard.framework.ISOException;
    import javacard.framework.Util;
    public class TimeAttendApplet extends Applet {
         private TimeAttendApplet() {
              register();
          private static byte[] hello = { (byte)'1', (byte)'2', (byte)'3'
             ,(byte)'4',(byte)'5', 
          private static final byte HW_CLA = (byte) 0x80;
          private static final byte HW_INS = (byte) 0x00;
          public static void install(byte[] bArray, short bOffset, byte bLength) {
              new TimeAttendApplet();
          public void process(APDU apdu) {
                 byte buffer[] = apdu.getBuffer();
                    switch (buffer[ISO7816.OFFSET_INS])
                  case HW_INS:
                      getHello(apdu);
                      break;
                  default:
                      ISOException.throwIt(ISO7816.SW_INS_NOT_SUPPORTED);
          private void getHello(APDU apdu)
              byte[] buffer = apdu.getBuffer();
              short length = (short) hello.length;
              Util.arrayCopyNonAtomic(hello, (short)0, buffer, (short)0, length);
              apdu.setOutgoingAndSend((short)0, length);
          public void setHello(byte[] empId)
               hello = empId;
    }Receiving:
    Opening connection to localhost on port 9025.
    Connected.
    Received ATR = 0x3b 0xf0 0x11 0x00 0xff 0x00
    CLA: 00, INS: a4, P1: 04, P2: 00, Lc: 07, 1b, 85, 45, 1e, eb, c9, fb, Le: 00, SW1: 69, SW2: 99
    Invalid Token after "0x7F", was expecting: <INTEGER_LITERAL>
    Seems like the select has succeeded, but the command/data string was incorrect.
    Also tried
    0x80 0x00;
    Let me know
    Edited by: 933351 on 2013/3/21 上午 3:01

    Then shane,
    How do I select it correctly? I have this in my manifest.mf and applet.xml files
    Manifest-Version: 1.0
    Runtime-Descriptor-Version: 3.0
    Application-Type: classic-applet
    Classic-Package-AID: //aid/1B85451EEB/3CB7
    <?xml version="1.0" encoding="UTF-8"?>
    <applet-app xmlns="http://java.sun.com/xml/ns/javacard"
                xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                xsi:schemaLocation="http://java.sun.com/xml/ns/javacard http://java.sun.com/xml/ns/javacard/applet-app_3_0.xsd"
                version="3.0">
        <applet>
            <!-- The applet application deployment descriptor conveys APDU-based application
            model elements and configuration information of an application between application
            developers, application assemblers, and deployers. -->
            <display-name>Time Attend Applet</display-name>
            <applet-class>com.walker.TimeAttendApplet</applet-class>
            <applet-AID>//aid/1B85451EEB/C9FB</applet-AID>
        </applet>
    </applet-app>Thanks in advance

Maybe you are looking for

  • Getting integer values from a JTable

    Hello The table's cells contain integer values. I would like to save each one of theme them in an array of integers. The problem is, I don't know how to do so. I tried to use the getValueAt method, but I always get error messages. I tried something l

  • SAFARI IS REALLY SLOW AND LAGGY IN OSX MAVERICKS 10.9.1 UPDATE

    HELP!!! Okay so i stopped using Chrome a few months ago and switched to safari as my daily go-getter and it was fine. No bad lag and bad stuff. After I updated my Macbook Pro(13 inch, mid-2009 model, 2.26GHz, 2gb RAM) to OS X MAVERICKS 10.9.1 everyth

  • Using SDK to create custom XMP panel in Bridge CS4

    Using the SDK materials how exactly does one go about creating their own custom XMP panel for Bridge CS4? I feel like I'm getting close- I was able to copy the BasicControlSamplePanel folder from SDK to my local C drive @ C:\Documents and Settings\to

  • Different Layout rendered in IE and Firefox

    Hi, I have a page designed which contains at "top" level (just inside) <body><form1><div> a gridPanel nested in a groupPanel. The gridPanel contains three images which form a nice looking top border with round (of course! :) edges on the right and le

  • SAP filesystem layout on Solaris 10 Assistance

    Hi Guys, I'd like to ask who has experience running SAP over Solaris a few questions regarding filesystem. I have strong backgound on AIX server but little over Solaris, so im transitioning from AIX to Solaris to understand this My goal is to identif