Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Help: java.lang.SecurityException : system classes were not signed

4 views
Skip to first unread message

Shilpa Karve

unread,
Dec 4, 1997, 3:00:00 AM12/4/97
to

Background: I am writing an External Authoring Interface using Java. This
applet is intended to get and set values in a VR world through the VRML
'Script Node'. The applet and the VR world are then embedded in an HTML
page for the final presentation.
I am using EAI Java API, Netscape 4.0x, CosmoPlayer2.0(beta).

Problem: I have used the 'Browser class' and 'Node class' to create Browser
object instance and the Node instance. When uploaded in an HTML page, java
throws an exception.

' Java reported the foll. error on startup:
java.lang.SecurityException : system classes were not signed. '

I understand, I need to get the classes signed.
- My problem is how and where do I get the classes signed ?
- Is there any other bypass to getting the classes signed at all?

FYI, I am a graduate student, this is part of my thesis project, the
project has a deadline!
I have fairly good knowledge of Java and good knowledge of VR.

Please advice ASAP.

Kamal Prasad

unread,
Dec 4, 1997, 3:00:00 AM12/4/97
to

hi!
i believe u need to use a key mechanism[public/private key] in
order to
sign it.
the mechanism is like this:-
A has a public key & B wants to send data.
B uses A's public key to digitally sign it & encrypt it before
sending the
message.
assuming its the client which is A & B is server, it is impossible
for u to
know each user's public key.
In short, you are trying to access system properties of the
client[host] which
the security mechanism thinks is not correct.
u can
1.rewrite things to avoid that
2.ask user to save applet to local host & then reload it from local
machine so
that security exception doesnt occur
3.write a class loader applet which client can save & that class
loader will
bypass all restrictions.
hope this helps.
regards
-kamal
0 new messages