Solved

Java Programming question

Posted on 1997-06-27
7
186 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
  • 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
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 

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

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
windows explorer path to command prompt 5 47
web application structure 18 77
maven module vs maven project 3 25
Adding multiple JVM environments to RedHat 6 7 24
An old method to applying the Singleton pattern in your Java code is to check if a static instance, defined in the same class that needs to be instantiated once and only once, is null and then create a new instance; otherwise, the pre-existing insta…
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn about if statements in Java and their use The if statement: The condition required to create an if statement: Variations of if statements: An example using if statements:

825 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