This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes Applets and the fly likes Missing files: com.ms.security.* and netscape.security.* Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Java » Applets
Bookmark "Missing files: com.ms.security.* and netscape.security.*" Watch "Missing files: com.ms.security.* and netscape.security.*" New topic
Author

Missing files: com.ms.security.* and netscape.security.*

Matt Kidd
Ranch Hand

Joined: Jul 17, 2002
Posts: 259
I am decompiling and recompiling an application that uses an applet and these to libraries are missing. I realize they are somehow associated to the signing of the applet but I currently do not have copies of them. Anyone know where I can get a copy?

Matt
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41582
    
  54
Both are way, WAY, obsolete. Neither Microsoft nor Netscape have a JVM any more, so the only way to sign applets is the official one described in the Sun JVM documentation. Some related info can be found in HowCanAnAppletReadFilesOnTheLocalFileSystem.


Ping & DNS - my free Android networking tools app
Matt Kidd
Ranch Hand

Joined: Jul 17, 2002
Posts: 259
I figured as much with my googling today...and with your post I checked the code one more time and this dawned on me:



if I'm writing code to replace this applet....why do I need this batch of code which is located in the init method?

I'm so hating hackin this app just get this enhancement installed just to be a stop gap before we upgrade the whole application.



I think I'm just going to forgo trying to find this and just refactor this so the code doesn't run....
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41582
    
  54
Those statements do in a Microsoft/Netscape JVM what in a (these days) standard Sun JVM applet signing does. So if the applet is signed, none of that is necessary.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Missing files: com.ms.security.* and netscape.security.*