Solved

Java Programming question

Posted on 1997-06-27
7
183 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
How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

 

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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

After being asked a question last year, I went into one of my moods where I did some research and code just for the fun and learning of it all.  Subsequently, from this journey, I put together this article on "Range Searching Using Visual Basic.NET …
Java contains several comparison operators (e.g., <, <=, >, >=, ==, !=) that allow you to compare primitive values. However, these operators cannot be used to compare the contents of objects. Interface Comparable is used to allow objects of a cl…
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:
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:

758 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now