Q
Q&Z
I have an application that I have developed on a Linux box. When I
create the jarfile and attempt to execute it in Windows, I get the
following error:
java.lang.NoClassDefFoundError: sun/awt/X11GraphicsDevice at
javax.media.j3d.GraphicsConfigTemplate3D
X11, of course, is a reference specific to Linux. I know, however, that
I should be able to simply run the jar file on Windows without having to
first recompile the entire application. In fact, I have another Windows
box at work where I did just that: When I transferred the jar file to
this machine, it worked without a problem. Same jar file. Same OS
(Windows XP). So I'm thinking that there must be some sort of
environmental problem on the box that will not run the application.
I've checked that my environment variables point to both the Java 3D
libraries, and the rt.jar file on the Windows box. Does anyone else
have any suggestions? This just shouldn't be hard, but I'm beating my
head against the wall, here.
Thanks in advance for any help,
Q&A
create the jarfile and attempt to execute it in Windows, I get the
following error:
java.lang.NoClassDefFoundError: sun/awt/X11GraphicsDevice at
javax.media.j3d.GraphicsConfigTemplate3D
X11, of course, is a reference specific to Linux. I know, however, that
I should be able to simply run the jar file on Windows without having to
first recompile the entire application. In fact, I have another Windows
box at work where I did just that: When I transferred the jar file to
this machine, it worked without a problem. Same jar file. Same OS
(Windows XP). So I'm thinking that there must be some sort of
environmental problem on the box that will not run the application.
I've checked that my environment variables point to both the Java 3D
libraries, and the rt.jar file on the Windows box. Does anyone else
have any suggestions? This just shouldn't be hard, but I'm beating my
head against the wall, here.
Thanks in advance for any help,
Q&A