Java 1.2 plugin and EAI 
Author Message
 Java 1.2 plugin and EAI

I'm trying to use the Java 1.2 plugin with an applet that uses EAI.

I can compile the applet ok, and if I run the applet in IE4 with IE4's
standard
JVM, it works.

However, when I adjust my html doc that launches the applet to use the Java
1.2
plugin, I get the following error:

java.lang.UnsatisfiedLinkError: getBrowserType
 at vrml.external.Browser.getBrowser(Browser.java, Compiled Code)
 at vrml.external.Browser.getBrowser(Browser.java)
 at CreateTest.start(CreateTest.java:58)
 at sun.applet.AppletPanel.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)

Any ideas?

Alex.



Sun, 20 Jan 2002 03:00:00 GMT  
 Java 1.2 plugin and EAI

Quote:

> I'm trying to use the Java 1.2 plugin with an applet that uses EAI.

> I can compile the applet ok, and if I run the applet in IE4 with IE4's
> standard
> JVM, it works.

> However, when I adjust my html doc that launches the applet to use the Java
> 1.2
> plugin, I get the following error:

> java.lang.UnsatisfiedLinkError: getBrowserType
>  at vrml.external.Browser.getBrowser(Browser.java, Compiled Code)
>  at vrml.external.Browser.getBrowser(Browser.java)
>  at CreateTest.start(CreateTest.java:58)
>  at sun.applet.AppletPanel.run(Unknown Source)
>  at java.lang.Thread.run(Unknown Source)

> Any ideas?

> Alex.

Your classpath doesn't include the vrml browser .jar file.
These come with Cosmo or other EAI browsers.
See the EAI FAQ for more details on where they go.

Guy.



Mon, 21 Jan 2002 03:00:00 GMT  
 Java 1.2 plugin and EAI

Quote:


> > I'm trying to use the Java 1.2 plugin with an applet that uses EAI.

> Your classpath doesn't include the VRML browser .jar file.
> These come with Cosmo or other EAI browsers.
> See the EAI FAQ for more details on where they go.

> Guy.

  Hi,

I'm getting the same problem.  Have you tried Guy's suggestion? Does it work?  I
read at the eai newsgroup:
Quoting a post from Jan. 1, '99 comp.lang.java.programmer:

"Java plugin currently lacks support for LiveConnect on which EAI
implementation relies."

But if thats changed things are looking up!



Fri, 25 Jan 2002 03:00:00 GMT  
 Java 1.2 plugin and EAI

Quote:


> > I'm trying to use the Java 1.2 plugin with an applet that uses EAI.

> > I can compile the applet ok, and if I run the applet in IE4 with IE4's
> > standard
> > JVM, it works.

> > However, when I adjust my html doc that launches the applet to use the Java
> > 1.2
> > plugin, I get the following error:

> > java.lang.UnsatisfiedLinkError: getBrowserType
> >  at vrml.external.Browser.getBrowser(Browser.java, Compiled Code)
> >  at vrml.external.Browser.getBrowser(Browser.java)
> >  at CreateTest.start(CreateTest.java:58)
> >  at sun.applet.AppletPanel.run(Unknown Source)
> >  at java.lang.Thread.run(Unknown Source)

> > Any ideas?

> > Alex.

> Your classpath doesn't include the VRML browser .jar file.
> These come with Cosmo or other EAI browsers.
> See the EAI FAQ for more details on where they go.

> Guy.

  Another thought on this matter,

I think the unsatisfied link error refers to a .dll file which contains some
browser stuff.  Jar files contain java classes, and the classpath points to java
classes.
I hope I'm mistaken as I'm at a fairly critical point in a project which
requires the use of the plug in.  If you can confirm success with the jar file,
please let me know.  So far I've had no luck.

Thanks,

Marc



Fri, 25 Jan 2002 03:00:00 GMT  
 Java 1.2 plugin and EAI
No, this suggestion misses the point of the problem. Having the VRML browser
.jar or .zip class archive in the classpath environment variable allows you
to compile java code that uses EAI - there are still problems *running* any
applet with EAI using the Sun 1.2 Java plugin (I think.)

The error I get when trying to use EAI with the plugin is as follows:

java.lang.UnsatisfiedLinkError: getBrowserType
 at vrml.external.Browser.getBrowser(Browser.java, Compiled Code)
 at vrml.external.Browser.getBrowser(Browser.java)
 at CreateTest.start(CreateTest.java:58)
 at sun.applet.AppletPanel.run(Unknown Source)
 at java.lang.Thread.run(Unknown Source)

This error is caused by the JVM not finding a native implementation (using
JNI) of a method called 'getBrowserType'. I think this method, part of the
'getBrowser' method of the vrml.external.Browser class, uses JNI, and with
Cosmo Player on Win32, this native method is found in the CosmoPlayer dll
library, which for some reason the Java plugin cannot find/use. I tried
moving this dll around ('npcosmop211.dll') and putting it in my path, but to
no avail.

Any further help/ confirmation of lack of support for EAI in the plugin
would be appreciated.

Alex Coyle.

Quote:



>> > I'm trying to use the Java 1.2 plugin with an applet that uses EAI.

>> Your classpath doesn't include the VRML browser .jar file.
>> These come with Cosmo or other EAI browsers.
>> See the EAI FAQ for more details on where they go.

>> Guy.

>  Hi,

>I'm getting the same problem.  Have you tried Guy's suggestion? Does it
work?  I
>read at the eai newsgroup:
>Quoting a post from Jan. 1, '99 comp.lang.java.programmer:

>"Java plugin currently lacks support for LiveConnect on which EAI
>implementation relies."

>But if thats changed things are looking up!



Fri, 25 Jan 2002 03:00:00 GMT  
 
 [ 7 post ] 

 Relevant Pages 

1. Java Plugin 1.2 (Java 1.2)

2. Java Plug-in 1.2 and EAI

3. Using EAI with JDK 1.2 & JDK 1.2 plugin

4. EAI and the Java 2 plugin

5. Java Plugin 1.1.2 & EAI

6. Java Plugin & EAI

7. Blaxxun 4,Jdk 1.2,EAI

8. Smalltalk-Like Collections with Java 1.2 ?

9. Kawa 1.2 (Scheme-in-Java) released

10. VRML and Java 1.2

11. Java plug-in 1.2 and vrml

12. Java Plug-in 1.2

 

 
Powered by phpBB® Forum Software