------ =_NextPart_001_01C0182B.1650F0BC
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
To run in a browser, you do not have to play with PATH or CLASSPATH to
run in a browser.=A0 You DO have to run the HTML file through the =
plugin
converter.
=A0
The problem is that when the browser sees your APPLET code, it runs =
with
the default Microsoft VM.=A0 By converting your HTML file, it makes the
browser switch to using the Sun Java Plug-In JRE.=A0 When you install =
the
JDK, the Plug-In JRE is also installed under "C:\Program
Files\JavaSoft\JRE\1.X".=A0 But when you install the Java3D SDK, it is
only installed under the JDK directory (such as "c:\jdk1.3").
=A0
If you have=A0installed the Java3D SDK and not=A0J3D RUNTIME, start the
"Java Plugin Control Panel", then select the Java Runtime Environment =
to
point to where you have installed your JDK, it should be in the
drop-down list.
=A0
If you don't mind installing the Java3D RUNTIME in addition to the SDK,
you can merely install the RUNTIME (which will be installed in the
"C:\Program Files\JavaSoft\JRE\1.X" directory) and you shouldn't have =
to
do anything else since the Plug-In control panel will point to this by
default.=A0 (Of course, you still=A0MUST run through the HTML =
converter...)
=A0
=A0
Lee
-----Original Message-----
From: James Robertson [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, September 06, 2000 1:05 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Urgent!! Please, I need help!
Try setting PATH environment variable to include
=A0=A0=A0=A0 C:\jdk1.2.2\jre\bin;C:\jdk1.2.2\bin
or whatever is appropriate to your environment.
And set CLASSPATH to include
=A0=A0=A0 C:\jdk1.2.2\jre\lib\ext\j3dcore.jar;
=A0=A0=A0 C:\jdk1.2.2\jre\lib\ext\j3dutils.jar;
=A0=A0=A0 C:\jdk1.2.2\jre\lib\ext\vecmath.jar;
=A0=A0=A0 C:\jdk1.2.2\jre\lib\ext\j3daudio.jar
Also for browser use, run your html file through the plugin converter
utility that can be downloaded from Sun.
=A0
The following URLs may also help...
=A0=A0=A0 http://www.j3d.org/faq/browser.html
=A0=A0=A0
http://www.tornadolabs.com/News/Java_3D_Installation/java_3d_installatio=
n.html
-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of Pedro Garc=EDa =
Patr=F3n
Sent: Wednesday, September 06, 2000 11:28 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Urgent!! Please, I need help!
Hi everybody!
=A0
I've got a problem and I don't know how can I solve it. I have an =
applet
zipped in a jar file. I can't run this applet in a browser or in the
appletviewer because an error like this one appears:
=A0
=A0=A0=A0 =A0java.lang.NoClassDefFoundError: javax/media/j3d/Group
=A0
I use the Java Plug-in with the browser IE. I think I've got a problem
with the CLASSPATH but I don't know it.=20
=A0
The readme file in Java 3D says that you do not need to include the J3D
jar files in your CLASSPATH, nor do you need to include the J3D shared
libraries in your PATH, so I don't know what to do.
=A0
I think that the Virtual Machine doesn't recognize the library Java 3D,
but I'm not sure and I don't know how can I prove it.
=A0
I have to present my final project the next week so I'm very
desperate.=A0My application runs correctly, but I want to present my
program=A0running under a browser. Can anyone of you help me, please?
Thank you in advance for any information you can give me.
=A0
Pedro.
------ =_NextPart_001_01C0182B.1650F0BC
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D690514117-06092000>To run=20
in a browser, you do not have to play with PATH or CLASSPATH to run in =
a=20
browser. You DO have to run the HTML file through the plugin=20
converter.</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D690514117-06092000></SPAN></FONT> </DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D690514117-06092000>The=20
problem is that when the browser sees your APPLET code, it runs with =
the default=20
Microsoft VM. By converting your HTML file, it makes the browser =
switch to=20
using the Sun Java Plug-In JRE. When you install the JDK, the =
Plug-In JRE=20
is also installed under "C:\Program Files\JavaSoft\JRE\1.X". But =
when you=20
install the Java3D SDK, it is only installed under the JDK directory =
(such as=20
"c:\jdk1.3").</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D690514117-06092000></SPAN></FONT> </DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D690514117-06092000>If you=20
have installed the Java3D SDK and not J3D RUNTIME, start the =
"Java=20
Plugin Control Panel", then select the Java Runtime Environment to =
point to=20
where you have installed your JDK, it should be in the drop-down=20
list.</SPAN></FONT></DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D690514117-06092000></SPAN></FONT> </DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN =
class=3D690514117-06092000>If you=20
don't mind installing the Java3D RUNTIME in addition to the SDK, you =
can merely=20
install the RUNTIME (which will be installed in the "C:\Program=20
Files\JavaSoft\JRE\1.X" directory) and you shouldn't have to do =
anything else=20
since the Plug-In control panel will point to this by default. =
(Of course,=20
you still MUST run through the HTML =
converter...)</SPAN></FONT></DIV>
<DIV> </DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D690514117-06092000></SPAN></FONT> </DIV>
<DIV><FONT color=3D#0000ff face=3DArial size=3D2><SPAN=20
class=3D690514117-06092000>Lee</SPAN></FONT></DIV>
<BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px">
<DIV align=3Dleft class=3DOutlookMessageHeader dir=3Dltr><FONT =
face=3DTahoma=20
size=3D2>-----Original Message-----<BR><B>From:</B> James Robertson=20
[mailto:[EMAIL PROTECTED]]<BR><B>Sent:</B> Wednesday, =
September 06,=20
2000 1:05 PM<BR><B>To:</B> =
[EMAIL PROTECTED]<BR><B>Subject:</B> Re:=20
[JAVA3D] Urgent!! Please, I need help!<BR><BR></DIV></FONT>
<DIV><SPAN class=3D710385516-06092000><FONT color=3D#0000ff =
face=3DArial size=3D2>Try=20
setting PATH environment variable to include</FONT></SPAN></DIV>
<DIV><SPAN class=3D710385516-06092000><FONT color=3D#0000ff =
face=3DArial=20
size=3D2></FONT></SPAN><SPAN class=3D710385516-06092000><FONT =
color=3D#0000ff=20
face=3DArial size=3D2> =20
C:\jdk1.2.2\jre\bin;C:\jdk1.2.2\bin</FONT></SPAN></DIV>
<DIV><SPAN class=3D710385516-06092000><FONT color=3D#0000ff =
face=3DArial=20
size=3D2></FONT></SPAN><SPAN class=3D710385516-06092000><FONT =
color=3D#0000ff=20
face=3DArial size=3D2>or whatever is appropriate to your=20
environment.</FONT></SPAN></DIV>
<DIV><SPAN class=3D710385516-06092000><FONT color=3D#0000ff =
face=3DArial=20
size=3D2></FONT></SPAN><SPAN class=3D710385516-06092000><FONT =
color=3D#0000ff=20
face=3DArial size=3D2>And set CLASSPATH to =
include</FONT></SPAN></DIV>
<DIV><SPAN class=3D710385516-06092000><FONT color=3D#0000ff =
face=3DArial=20
size=3D2></FONT></SPAN><SPAN class=3D710385516-06092000><FONT =
color=3D#0000ff=20
face=3DArial size=3D2> =20
C:\jdk1.2.2\jre\lib\ext\j3dcore.jar;</FONT></SPAN></DIV>
<DIV><SPAN class=3D710385516-06092000><FONT color=3D#0000ff =
face=3DArial=20
size=3D2></FONT></SPAN><SPAN class=3D710385516-06092000><FONT =
color=3D#0000ff=20
face=3DArial size=3D2> =20
C:\jdk1.2.2\jre\lib\ext\j3dutils.jar;</FONT></SPAN></DIV>
<DIV><SPAN class=3D710385516-06092000><FONT color=3D#0000ff =
face=3DArial=20
size=3D2></FONT></SPAN><SPAN class=3D710385516-06092000><FONT =
color=3D#0000ff=20
face=3DArial size=3D2> =20
C:\jdk1.2.2\jre\lib\ext\vecmath.jar;</FONT></SPAN></DIV>
<DIV><SPAN class=3D710385516-06092000><FONT color=3D#0000ff =
face=3DArial=20
size=3D2></FONT></SPAN><SPAN class=3D710385516-06092000><FONT =
color=3D#0000ff=20
face=3DArial size=3D2> =20
C:\jdk1.2.2\jre\lib\ext\j3daudio.jar</FONT></SPAN></DIV>
<DIV><SPAN class=3D710385516-06092000><FONT color=3D#0000ff =
face=3DArial=20
size=3D2></FONT></SPAN><SPAN class=3D710385516-06092000><FONT =
color=3D#0000ff=20
face=3DArial size=3D2>Also for browser use, run your html file =
through the plugin=20
converter utility that can be downloaded from =
Sun.</FONT></SPAN></DIV>
<DIV><SPAN class=3D710385516-06092000><FONT color=3D#0000ff =
face=3DArial=20
size=3D2></FONT></SPAN> </DIV>
<DIV><SPAN class=3D710385516-06092000><FONT color=3D#0000ff =
face=3DArial size=3D2>The=20
following URLs may also help...</FONT></SPAN></DIV>
<DIV><SPAN class=3D710385516-06092000><FONT color=3D#0000ff =
face=3DArial=20
size=3D2></FONT></SPAN><SPAN class=3D710385516-06092000><FONT =
color=3D#0000ff=20
face=3DArial size=3D2> <A=20
=
href=3D"http://www.j3d.org/faq/browser.html">http://www.j3d.org/faq/brow=
ser.html</A></FONT></SPAN></DIV>
<DIV><SPAN class=3D710385516-06092000><FONT color=3D#0000ff =
face=3DArial=20
size=3D2></FONT></SPAN><SPAN class=3D710385516-06092000><FONT =
color=3D#0000ff=20
face=3DArial size=3D2> <A=20
=
href=3D"http://www.tornadolabs.com/News/Java_3D_Installation/java_3d_ins=
tallation.html">http://www.tornadolabs.com/News/Java_3D_Installation/jav=
a_3d_installation.html</A></FONT></SPAN></DIV>
<BLOCKQUOTE>
<DIV class=3DOutlookMessageHeader><FONT face=3D"Times New Roman"=20
size=3D2>-----Original Message-----<BR><B>From:</B> Discussion list =
for Java=20
3D API [mailto:[EMAIL PROTECTED]]<B>On Behalf Of</B> =
Pedro Garc=EDa=20
Patr=F3n<BR><B>Sent:</B> Wednesday, September 06, 2000 11:28 =
AM<BR><B>To:</B>=20
[EMAIL PROTECTED]<BR><B>Subject:</B> [JAVA3D] Urgent!! =
Please, I=20
need help!<BR><BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Hi everybody!</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I've got a problem and I don't =
know how can I=20
solve it. I have an applet zipped in a jar file. I can't run this =
applet in=20
a browser or in the appletviewer because an error like this one=20
appears<EM>:</EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><EM></EM></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><EM> =20
java.lang.NoClassDefFoundError:=20
javax/media/j3d/Group</EM></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I use the Java Plug-in with the =
browser IE. I=20
think I've got a problem with the CLASSPATH but I don't know it.=20
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>The readme file in Java 3D says =
that y<FONT=20
size=3D2>ou do not need to include the J3D jar files in your =
CLASSPATH, nor do=20
you need to include the J3D shared libraries in your PATH, so I =
don't know=20
what to do.</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I think that the Virtual Machine =
doesn't=20
recognize the library Java 3D, but I'm not sure and I don't know =
how can I=20
prove it.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>I have to present my final project =
the next=20
week so I'm very desperate. My application runs correctly, but =
I want=20
to present my program running under a browser. <FONT=20
face=3D"Times New Roman" size=3D3>Can anyone of you help me,=20
please?<BR><BR>Thank you in advance for any information you can =
give=20
me.</FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial=20
size=3D2>Pedro.</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
------ =_NextPart_001_01C0182B.1650F0BC--
===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".