Dear friends,
I tried to install java3d into win2000, which is
based
on linux using VMWARE. I can run "javac
HelloJava3Da.java" and produce HelloJava3Da.class.
If
I copy this HelloJava3Da.class into my old computer
in
which java3d was already installed, "java
HelloJava3Da" can work very well in the win2000 of
old
computer.
But if I run "java HelloJava3Da" in this VMWARE
win2000, at first windows will remind me:"No
compatible device found. Please switch to other
display mode and try again!". Then I pressed "OK".
Then in the DOS command line, this will appear:
************************************************************************
*** ERROR: Canvas3D constructed with a null
GraphicsConfiguration
*** This will cause a NullPointerException in a
subsequent release
************************************************************************
Exception in thread "main"
java.lang.NullPointerException: Canvas3D: null
Graphi
csConfiguration
at
javax.media.j3d.Canvas3D.<init>(Canvas3D.java:1100)
at
javax.media.j3d.Canvas3D.<init>(Canvas3D.java:1065)
at HelloJava3Da.<init>(HelloJava3Da.java:52)
at HelloJava3Da.main(HelloJava3Da.java:80)
I really wonder why. Because in the old computer,
this
class works well. I do not think there are some
problems about Canvas3D, maybe just the problems of
display mode.
But there is only one color mode in VMWARE win2000:
high Color(16 bit). No possibility to change this.
What should I do to let "java HelloJava3Da" work?
Best regards.
tony
__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com
===========================================================================
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".