Solved

Java Programming question

Posted on 1997-06-27
7
187 Views
Last Modified: 2010-04-16
Need to download a trusted applet (previously signed with javakey and
packet into .Jar archive). It seems to work with appletviewer, but it
doesn't under Netscape 4.01.
How is it possible?
Thanks,
                            Andrew
0
Comment
Question by:della030797
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 2
7 Comments
 
LVL 1

Accepted Solution

by:
mann061997 earned 0 total points
ID: 1222319
- you need a certificate from a CA; for testing get VeriSign's
  free test certificate
- install the certificate in Communicator
- create the signed JAR using Netscapes JAR Packager; as far
  as I know, signed JARs created using the JDK jar tool are not
  accepted by Communicator.

0
 

Expert Comment

by:jakesmith
ID: 1222320
Are Jar files usable in Netscape 3.01
0
 
LVL 1

Expert Comment

by:mann061997
ID: 1222321
No, Communicator (Navigator 4) is the first version to
support this.

0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 

Author Comment

by:della030797
ID: 1222322
How can I obtain a certificate from a CA? And VeriSign?
Netsape Jar Packager is a plug-in I've to download or built-in?
0
 
LVL 1

Expert Comment

by:mann061997
ID: 1222323
Della - take a look at http://developer.netscape.com/software/signedobj/jarpack.html
for more information on Netscapes JAR tools. These are
a standalone executable and a Java executable - no plug-in.

The page also points you to sites of CAs offering object-
signing certificates.
0
 

Author Comment

by:della030797
ID: 1222324
Thanks for help, but I'm still in deep trouble...
After having packed my .class file into Jar (with Netscape's JAR Packager) and signed it, Netscape doesn't allow applet which now should be trusted to access system resource on local machine.
I don't know if I missed something in signing procedure or if I have to make some calls to IFC (i.e. PrivilegeManager.enablePrivilege("UniversalPropertyRead");
)
and in this case, how can I compile this Java source code since I actually have only JDK1.1.2 and Visual J++ 1.1?
0
 
LVL 1

Expert Comment

by:mann061997
ID: 1222325
You need to register the certificate in the Browser:
  Options\Security Preferences\Site Certificates


0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
fibonacci ten numbers 4 54
Why is enum singleton a better approach than static factory 3 52
spring maven example issues 3 44
dao vs facade design patterns 2 38
For beginner Java programmers or at least those new to the Eclipse IDE, the following tutorial will show some (four) ways in which you can import your Java projects to your Eclipse workbench. Introduction While learning Java can be done with…
Introduction This article is the last of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article covers our test design approach and then goes through a simple test case example, how …
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:
This tutorial will introduce the viewer to VisualVM for the Java platform application. This video explains an example program and covers the Overview, Monitor, and Heap Dump tabs.

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question