Hi –

 

This is a repost of a message which I have been trying to post for a few days…… so here goes again…..

 

I’m trying to get the pyramidpkg demo to run on Windows NT with tclblend 1.2.5 and jdk 1.2 and get the following error.

 

C:\ian_home\java\TclBlendSrc125\tclBlend1.2.5\demos\pyramidpkg>

appletviewer -J "

-cp C:\ian_home\java\tclBlend125-jdk12\lib\tclblend\tclblend.jar;

.;

C:\ian_home\java\tclBlend125-jdk12\lib\tclblend\tcljava.jar;

C:\ian_home\java\tclBlend125-jdk12\lib\jacl.jar;

C:\Program Files\JavaSoft\JRE\1.2\bin;

C:\Program Files\JavaSoft\JRE\1.2\lib;

C:\Program Files\JavaSoft\JRE\1.2\bin\classic" pyramid.html

Exception in thread "main" java.lang.NoClassDefFoundError:

 

C:\ian_home\java\TclBlendSrc125\tclBlend1.2.5\demos\pyramidpkg>

 

As error text goes it is not one of the most helpful I have seen, and I am having great difficulty finding out what is wrong here. I’m sure it is some sort of path/configuration problem. I have copied the tclblend.dll to the local directory to ensure that it is found, but this also fails. I’m sure it some setting which I am overlooking. Can anyone help ?

 

To try and isolate the problem, I also tried out the Java Plugin with Netscape and IE and got the following error (after I modified pyramid.html to accommodate the plugin):

 

IE:

 

Java(TM) Plug-in: Version 1.2.2.px

 

Using JRE version 1.2.2

 

JAR cache enabled.

System.loadLibrary("tclblend") failed because of Unknown Throwable

java.security.AccessControlException: access denied (java.lang.RuntimePermission loadLibrary.tclblend )

            at java.security.AccessControlContext.checkPermission(AccessControlContext.java:195)

            at java.security.AccessController.checkPermission(AccessController.java:403)

            at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)

            at java.lang.SecurityManager.checkLink(SecurityManager.java:824)

            at java.lang.Runtime.loadLibrary0(Runtime.java:464)

            at java.lang.System.loadLibrary(System.java:778)

            at tcl.lang.Interp.<clinit>(Interp.java:32)

            at Pyramid.init(Pyramid.java:52)

            at sun.applet.AppletPanel.run(AppletPanel.java:333)

            at java.lang.Thread.run(Thread.java:479)

java.lang.UnsatisfiedLinkError: create

            at tcl.lang.Interp.<init>(Interp.java:130)

            at Pyramid.init(Pyramid.java:57)

            at sun.applet.AppletPanel.run(AppletPanel.java:333)

            at java.lang.Thread.run(Thread.java:479)

 

======

 

 

And Netscape:

 

 

System.loadLibrary("tclblend") failed because of Unknown Throwable

 

netscape.security.AppletSecurityException: security.checklink: tclblend

  at java.lang.Throwable.<init>(Compiled Code)

  at java.lang.Exception.<init>(Compiled Code)

  at java.lang.RuntimeException.<init>(Compiled Code)

  at java.lang.SecurityException.<init>(Compiled Code)

  at netscape.security.AppletSecurityException.<init>(Compiled Code)

  at netscape.security.AppletSecurityException.<init>(Compiled Code)

  at netscape.security.AppletSecurity.checkLink(Compiled Code)

  at java.lang.SecurityManager.checkLink(Compiled Code)

* at java.lang.System.loadLibrary(Compiled Code)

  at tcl.lang.Interp.<clinit>(Interp.java:32)

  at java.lang.UnsatisfiedLinkError: create

  at tcl.lang.Interp.<init>(Compiled Code)

  at Pyramid.init(Compiled Code)

* at netscape.applet.DerivedAppletFrame$InitAppletEvent.dispatch(Compiled Code)

  at java.awt.EventDispatchThread$EventPump.dispatchEvents(Compiled Code)

  at java.awt.EventDispatchThread.run(Compiled Code)

  at netscape.applet.DerivedAppletFrame$AppletEventDispatchThread.run(Compiled Code)

 

So do I have to set some security somewhere other than in the Plugin-Control Panel ?

 

I get the feeling that these messages could be red herrings. Has anyone had a similar experience or can see what my problem is ? Any help or hints taken.

 

Ian

 

 

 

============================================================

Ian F Graham                     Tel: ++49 (0)611 1731-606

Projekt-Management

Patzschke + Rasp Software AG     Fax: ++49 (0)611 1731-31

Bierstadter Straße 7             mailto:[EMAIL PROTECTED]

D-65189 Wiesbaden                Web Site: http://www.prs.de

============================================================

 

Reply via email to