Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Java Programming question

Posted on 1997-06-27
7
Medium Priority
?
191 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
Independent Software Vendors: 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

Enroll in September's Course of the Month

This month’s featured course covers 16 hours of training in installation, management, and deployment of VMware vSphere virtualization environments. It's free for Premium Members, Team Accounts, and Qualified Experts!

Question has a verified solution.

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

Are you developing a Java application and want to create Excel Spreadsheets? You have come to the right place, this article will describe how you can create Excel Spreadsheets from a Java Application. For the purposes of this article, I will be u…
Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
The viewer will learn how to implement Singleton Design Pattern in Java.
Suggested Courses

688 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