It looks like you are trying to load Tcl Blend into an applet.
This is not possible because Java will not let you do it.
You should be able to run Jacl in an applet as long as you
do not load the java package, but Tcl Blend in an applet will not work.

Perhaps we should change the Makefile so that it does not include
the pyramid demo in the tclBlend source dist.

Mo DeJong
Red Hat Inc.


On Wed, 15 Mar 2000, Ian F. Graham wrote:

> 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
> ============================================================
> 
> 

----------------------------------------------------------------
The TclJava mailing list is sponsored by Scriptics Corporation.
To subscribe:    send mail to [EMAIL PROTECTED]  
                 with the word SUBSCRIBE as the subject.
To unsubscribe:  send mail to [EMAIL PROTECTED] 
                 with the word UNSUBSCRIBE as the subject.
To send to the list, send email to '[EMAIL PROTECTED]'. 
An archive is available at http://www.mail-archive.com/tcljava@scriptics.com

Reply via email to