"Andrea" <andreaxxx78@interfree.it> wrote in message news:bmea3h$m3h11$1@ID-208100.news.uni-berlin
.de...
quote:
> Hi.
> First of all: I'm a newbie in vrml and in java both!
>
> I'm trying to interface an applet (Java) with a vrml browser (the final
> scope is to start and stop an animation via the applet).
>
> I wrote this applet (a very simple applet, I tryed this for understanding
> how to "referentiate" a vrml browser):
<stuff deleted>
quote:
> The problem is that opening the page (with IE 6 and Cortona client) I get
> this error:
> java.lang.NoClassDefFoundError: com/ms/activeX/ActiveXControl
> at java.lang.ClassLoader.defineClass0(Native Method)
> at java.lang.ClassLoader.defineClass(ClassLoader.java:502)
> at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123
)
> at sun.applet.AppletClassLoader.findClass(AppletClassLoader.java:148)
> at
> sun.plugin.security.PluginClassLoader.findClass(PluginClassLoader.java:168
)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:299)
> at sun.applet.AppletClassLoader.loadClass(AppletClassLoader.java:114)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:255)
> at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315)
> at vrml.eai.BrowserFactory.getBrowser(BrowserFactory.java)
> at vrml.external.Browser.getBrowser(Browser.java)
> at testAW.start(testAW.java:27)
> at sun.applet.AppletPanel.run(AppletPanel.java:371)
> at java.lang.Thread.run(Thread.java:536)
>
> It can't find the "com/ms/activeX/ActiveXControl" class... (Is this true?)
> This class seems to be a Microsoft class...
> Why this applet needs a Microsoft class?
>
> Anyone can help me understanding how to solve this problem?
>
> Thanks a lot.
> Bye.
>
>
Your java traceback listing indicates that you are
attempting to utilize Sun's Java VM plugin to run the VRML Java EAI
Applet. The VRML EAI Applet code won't work with the Sun plugin.
I assume that you are utilizing the Windows XP operating system?
If so, you will need to install the Microsoft Java VM to utilize the VRML EA
I.
Several places where I believe that you can still get this VM are:
www.bigblackglasses.com/staff/downloads/msjavx86.exeftp://ftp.intergraph.com/ingr/pub/o...al/msjavx86.exe
Just download the file and run it to install the Microsoft Java VM.
You will then need to reboot your machine.
--- Bill Angel
Silver Spring, Maryland
> Your java traceback listing indicates that you are
quote:
> attempting to utilize Sun's Java VM plugin to run the VRML Java EAI
Applet.
Yep, that's right...
quote:
> The VRML EAI Applet code won't work with the Sun plugin.
Ops!
quote:
>
> I assume that you are utilizing the Windows XP operating system?
No, I'm using Win2000
quote:
> If so, you will need to install the Microsoft Java VM to utilize the VRML
EAI.
I've yet installed it.
I tryed using Ms Java VM but It doesn't seem work (the error is the same).
And with Mozilla? I need to do it with IE and Mozilla to... Is there any
solution?
Thanks.
"Andrea" <andreaxxx78@interfree.it> wrote in message news:bn0o4b$dq1$1@newsreader.mailgate.org...[
QUOTE]
> I tryed using Ms Java VM but It doesn't seem work (the error is the same).
> And with Mozilla? I need to do it with IE and Mozilla to... Is there any
> solution?
>
> Thanks.[/QUOTE]
Hi Andrea:
If you have installed the MS Java VM, and you are getting the same error,
then check the following:
On the Tools menu in Internet Explorer, click Internet Options.
Click the Advanced tab.
Make sure that all the Microsoft VM options are enabled (check boxes are che
cked)
Make sure that the Java (Sun) option is disabled (checkbox is NOT checked)
Restart Internet Explorer
To confirm that your setup is running correctly, you could try running the
following
VRML Java EAI example:
http://www2.dc.net/wtangel/VrmlExam...ionControl.html
Hope this helps,
--- Bill Angel
Well... The example you indicate me run... (I can't understand: why
yesterday it doesn't run??? maybe I forgot to reboot my pc!)
But I saw EAI is only IE compatible... It doesn't run with Mozilla or
Netscape!
Is there any equivalent tecnology running with both IE and Mozilla?
Thanks.
PS: I need to implement the functionality I explained you in my last message
titled "VRML controlled via JavaScript function in HTML" and I need to do it
in IE and Mozilla to!
Thanks.
hi...
i have same problem with andre... Can i get the example source to test either my connec
tion EAI can work?... i try to download the example lin: [http://www2.dc.net/wtang
el/...ionControl.html]
but failed(the page eeror link)... can i get the latest link ....Please