Can java.security packages work with applets? Help required urgently.

I recently developed an applet using java.security.KeyPairGenerator, from which I called the KeyPairGenerator to generate a pair of keys for RSA.
The code :
KeyPairGenerator kpg = new KeyPairGenerator.getInstance("RSA");
However my applet refused to work and couldn't find the algorithm specified. When I replaced it with DSA, it could work. Why is this happening?

I think your browser is using older or its own Java Virtual Machine to run the applet.
For example IE, it has its own Microsoft Virtual Machine and if you choose to use it, it will definately fail. You can try use the JRE 1.4 Release Candidate version. Because the security is bundle with it, not sure with JRE version 1.3
Or alternatively, you can use the appletviewer to execute the applet. Again, make sure you run the correct version of appletviewer.
Good Luck.

Similar Messages

  • Java 8 not working with Mavericks help

    Updated to Mavericks and went to my dashboard, error screen opens says I need the Java Runtime Environment I installed it (JAVA 8) and it still does not work. Ideas help?

    You need Apple Java 2014-001 or Java SE Runtime Environment 7 1.7.0_67.

  • Java Mail,SMTP server not starting,help required urgently

    Hi i have been working on java mail .Yesterday it was working ok but today suddenely i am getting this thing.its not starting the smtp server i guess,just exiting and get the command prompt ..dont know what to do.help required how to go about this error
    am pasting the debug information.please check and let me know
    the compilation ,smtp server and others are all valid
    thanks
    Microsoft Windows XP [Version 5.1.2600]
    (C) Copyright 1985-2001 Microsoft Corp.
    C:\Documents and Settings\Pavan>cd C:\Program Files\Java\jdk1.5.0_07\bin
    C:\Program Files\Java\jdk1.5.0_07\bin>javac jdbcExample3.java
    C:\Program Files\Java\jdk1.5.0_07\bin>java jdbcExample3 smtpserver address
    DEBUG: JavaMail version 1.4ea
    DEBUG: java.io.FileNotFoundException: C:\Program Files\Java\jdk1.5.0_07\jre\lib\
    javamail.providers (The system cannot find the file specified)
    DEBUG: !anyLoaded
    DEBUG: not loading resource: /META-INF/javamail.providers
    DEBUG: successfully loaded resource: /META-INF/javamail.default.providers
    DEBUG: Tables of loaded providers
    DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax
    .mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsyste
    ms, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com
    .sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLSt
    ore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsyst
    ems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.su
    n.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=jav
    ax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc],
    com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP
    3Store,Sun Microsystems, Inc]}
    DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.
    sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STOR
    E,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Prov
    ider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc],
    pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems
    , Inc], pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun
    Microsystems, Inc], smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.S
    MTPTransport,Sun Microsystems, Inc]}
    DEBUG: successfully loaded resource: /META-INF/javamail.default.address.map
    DEBUG: !anyLoaded
    DEBUG: not loading resource: /META-INF/javamail.address.map
    DEBUG: java.io.FileNotFoundException: C:\Program Files\Java\jdk1.5.0_07\jre\lib\
    javamail.address.map (The system cannot find the file specified)
    C:\Program Files\Java\jdk1.5.0_07\bin>

    The debug output doesn't show an obvious problem. You're
    going to have to actually debug your program. A debugger
    might be helpful.

  • Can't get ATV working with Onkyo TX-SR605-URGENT ASSISTANCE NEEDED!!

    I'm hoping someone will be able to give me some advice, as I've now spent way too much time trying to figure out what's going wrong. I've just purchased the Onkyo receiver, which in itself is an extremely daunting piece of equipment after my very straightforward Rotel stereo amp!
    I have only 1 HDMI connection available on my 32" Panasonic LCD TV & have, to date, had my ATV connected to it. With my ATV also connected to my amp (via RCA cable), I've been happily viewing/listening to all my iTunes content this way. I understand from reading elsewhere in this forum that I should be able to maintain my HDMI connection to ATV, connect into the receiver using optical, and by so doing, obtain the same results (if not better, thanks to the optical connection) as was previously the case. So far, I've been unable to do this. The only way I've been able to get any audio happening through the speakers is by reconnecting the RCA cable. The optical cable I purchased by the way is a good quality one so I doubt this is where the problem lies - although I guess it's possible.
    The 1st problem I encountered when endeavouring to set the system up was that I was unable to get any onscreen information, as I couldn't find an AV input that responded to the receiver's 'setup instructions'. I assumed this would come via the TV's HDMI AV option, given the ATV is the means of connecting to the TV & that's connected via HDMI, but no joy. However, I did some of the basic setup w/o the onscreen visuals, and proceeded to see if I could access my iTunes content with the connections I referred to earlier. As I said before ... no go w/o the RCA cable connected and even then, no sound through the speakers if I reverted to just watching the TV.
    I'm driving myself crazy here, and am now at the point where I can see no value in continuing to read & re-read the Onkyo manual. Although I can accept that it's likely to take me some time to learn how to properly drive this beast and get the most out of it, I don't think (from what I've read elsewhere here) that it should be this hard to get what I'm wanting up and running.
    Please HELP and save my sanity!
    [Thanks in advance to anyone who comes to the rescue ]

    jrmccoy, thank you so much! I have never used an optical connection until now, & so was not aware of the necessity to get the 'snap' happening in order to get a good connection. With some trepidation, I applied the required force to the connection to the ATV - sure enough, it 'snapped' in. I tried to get the receiver connection to snap as well, but had no luck there - it seems to be a very 'sloppy' rather than tight connection that slips out with very little effort. However, after pushing really hard on the cable & getting no better connection, I gave up & tried it as was. The result was that , yipee, I now have it all working as I'd anticipated it should. The only thing I still don't have, is the TV sound coming through the speakers - I thought that with the ATV providing the conduit between the TV & the receiver, I wouldn't need any other connection from the receiver to the TV. I suspect now that that was an incorrect assumption! Thought it was all a bit too easy ... sigh.
    Once again Apple Discussions have come to my rescue - I honestly don't know what I'd do without the assistance of all you generous people out there with so much & such wide-ranging knowledge!

  • How do I reset the password that allows me to download reader - I worked with chat help - we rest my password and I can get into my adobe account but when I try to download reader and work my way through the process when I get to the password it will not

    How do I reset the password that allows me to download reader.. I worked with chat help two hours last night - we have reset a password that lets me into my adobe account but in the download reader process that password will not work - where it says Adobe reader wants to change something and please type in password, just vibrates with the dots glowing purple but will not open…. what do I do to reset that password or get it to function. they would not assist me further they said its a free download and I would need to seek help from forums ( all this is new to me )
    so "forums" help…what do I do ?
    thank you
    PL

    patricia here again:
    I am the system administrator - personal computer
    I have been able with your lead to find the password I need , and to have install happen
    however - when I then go to the website to download the Pdf document I need I get a screen with the big red adobe icon that says to complete and down load this document I must launch adobe reader a dn sign the terms of agreement , close browser and reopen.
    but thatscren has no choice buttons whatsoever, I cannot find anywhere a adobe reader image to launch - been into launch pad , preferences etc.
    so now the loop is the pdf document and the adobe screen saying I must do terms of agreement
    like is this Kafka like or what ...
    suggestions?
    thanks
    P.

  • Pogo won't play games java won;t work with firefox

    I was playing pogo and it came up to update Java. Did it and now can't play most of the games like canasta. Says java won't work with firefox.....it did before. try for 4 days not and no luck

    Java is working properly. Still not loading games

  • Generic Java class for working with Context Nodes

    Hi,all
    I would like to write generic Java class for working with Context Nodes:
    populating node,
    add element to node,
    update node element,
    remove node element
    Any ideas how can I do it?

    Hi,Armin
    Thanks for your answer.
    I have many nodes with the same structure,but different data.
    I don't want to work with each one of them individually.
    This is the main reason.
    Regards,
    Michael
    Any ideas?

  • Can In Design (id) work with elements 13

    Can In Design (id) work with elements 13? Help

    Thanks Bernie, you made that code work.
    However, I got another issue. That looks like arraylist.add(), replaces all entries rather than adds to the end of the list. I cannot find what is wrong with that. But you or some other expert will probably notice what is wrong.
    the code, that is below, prints :
    4
    4
    4
    4
    4
    import java.util.*;
    class Entry {
    String subString;
    int quantity;
    String breakdown;
    int [] numberOfbrds;
    //Then I use this class:
    class test{
    public static void main(String[] args) {
    ArrayList <Entry> hashTable = new ArrayList <Entry> ();
    Entry hashEntry = new Entry ();
    // here I assign some values to the variables of hashEntry
    for (int i = 0; i < 5; i++) {
         hashEntry.quantity=i;
         hashTable.add(hashEntry);     
    for (int i = 0; i < 5; i++) {
         System.out.println(hashTable.get(i).quantity);
    confused............
    Message was edited by:
    tmirzoev

  • Can Photoshop Element 9 work with Lightroom 5?

    Can Photoshop Element 9 work with Photoshop Lightroom 5?

    Hi David_B,
    Thanks for your reply! I've installed PS many times (since version 3, I think), and nothing like this has ever happened. I use and teach PS and LR for a living. The tech person I spoke with told me it is not unusual to have this happen when upgrading to CC 2014.
    What happened is that PS CC2014 would not open the image in PS if I used the Photo>Edit In>PS 2014 command unless I used Photo>Edit In>Open as Smart Object. Once opened as a smart object, PS would not save the file. I think it said Error 2.
    The tech took control of my computer, removed PS and LR and all the associated files a few times. He told me I'd have to have a high level person help me, but they didn't call me, so I phoned in. After waiting an hour to get to the correct person (not a high level tech) he said he'd have to uninstall everything again and start over and that it would take over an hour. I don't have the time right now to fix it as I'm headed out of town until the end of the month to teach LR.
    In the meantime, LR works, but I'm using a trial version that expires in 30 days. It exports to PS ok, but I had to reload all my plug-ins, and apparently LR can't find Photomatix. LR is not installed in my usual applications folder - the tech put it on my system backup drive.
    My case number is: 185696477
    Thanks so much for your willingness to help!
    Terry

  • Can a j2me emulator work with a real bluetooth adaptor?

    Can a j2me emulator work with a real bluetooth adaptor?
    Currently I need to work on a project that will need bluetooth and a SE P910i phone.
    But the phone is not available to me at all times.
    So, I am wondering if it is possible to have the emulator connect to a real bluetooth adaptor that is connected to the computer and communicate with other bluetooth phones....
    Any help is very much appreciated :)

    I have not found a solution to it. And I concluded that it cannot be done.
    Bluetooth, on the emulator is emulated too. so if your program needs to test on 2 phones, then you can just open up 2 emulators and they will be able to find each other in their emulated world.
    Try with the bluetooth demo that comes with J2ME. I cannot get to see any pictures when I run them on real phones but it worked flawlessly on emulators......

  • My hard drive crashed on my Imac 24" 2009, i put in a new hard drive 2TB and a SSD drive 240 GB and removed the opticdrive. What external DVD can I get to work with the IMac? The Apple super drive is not compatible.

    My hard drive crashed on my Imac 24" 2009,  I installed a new hard drive 2TB and a SSD drive 240 GB and removed the optical drive.
    What external DVD can I get to work with the IMac?                              The Apple super drive is not compatible.

    Virtually any DVD burner that can connect to your Mac will work. They start at $40 on Amazon.

  • Adobe encore the software that's used to decode the media is not available on this system. installing the correct decoders for the file you are working with may help correct the problem

    Hi,
      I got this message after importing about ten or so H.264 files that I encoded from Adobe media encoder.  "adobe encore the software that's used to decode the media is not available on this system. installing the correct decoders for the file you are working with may help correct the problem."
    The files we're shot with HD cameras.  Edited in Premiere Pro CS3.  I installed the update 3.0.1 with still the same error.
    I also tried a brand new project and after about ten or so files being imported into a timeline, the system crash.  I tried this twice....
        Thanks in Advance

    Hi Hunt,
           Here is the skinny.  A window base PC.  footage shot with HD sony HD cameras,  Project imported to Premiere CS3.  Once completed sent file to Adobe media encoder and render them as H.264 widescreen high Quality.  Imported them to Adobe Encore CS3.  After about ten files or so.  I got the error message.  Did all the basic trouble shoot like restarting the computer, got latest patch.  Even build a new test project with the same problem.
        Something else I read in the forums, is the encore will transcoded the project to Mpeg 2 anyway, after looking at my project I realized those few files were indeed untranscoded.  So it will be a double compression and I dont want that.  So, my new question is, what is H.264 good for ?????????? I was research that Mpeg 2 is a faster render but H.264 is a slower render but better quality.....
       what do you think ????
       Peter

  • Why does Java Application not working with Macromedia Flash 5 or MX?

    Why does Java Application not working with Macromedia Flash 5 or MX?

    Who says they don't?
    Although I don't know much about those I'd think they should be able to talk to Java Aps using Sockets or request Servlets ...
    Spieler

  • Can the MacBook Air work with any other type of internet connection beside wifi?

    Can the MacBook Air work with any other kind of internet connection besides Wifi?

    Who? ITS VERY important when doing a restore, in fact you DO NOT want to do a wifi restore
    The pros all have that Ethernet adapter,... that should tell you something. An Ethernet restore via that "thing" makes restoring the OSX about 8X faster.
    Its called a Gigabit Ethernet adapter for a reason.
    "who the heck" is anyone working with their Macbook Air at home and want a MUCH FASTER download / internet connection.
    *Stockbrokers who pack their Macbook Air, arrive at work and plug that "hardwired" dongle to their Air........  because even seconds in the stock market can make the difference between losing a million $$, or making a million $$
    So now you know WHY,.....before you didnt.

  • Can the wireless printer work with window 7?

    can the wireless printer work with window 7?

    Will this wireless printer connect to the AirPort Express Base Station (AX) via a wireless or USB connection?

Maybe you are looking for