Hi,

I don't know so much about VMWARE, but from what you have described, it's a
sort of win2000 emulator on top of whatever linux distribution you have. So
exactly that's your problem: java3d needs a real 3D graphics device, not an
emulated one (if there is any !!!).

Question: why don't you run your HelloJava3Da directly under linux ? That
way you should have access to the actual OS graphic driver.

Cheers,

Florin


-----Original Message-----
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED] Behalf Of tony Lincoln
Sent: Freitag, 17. Oktober 2003 12:04
To: [EMAIL PROTECTED]
Subject: [JAVA3D] "java HelloJava3Da" and display mode?


 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".

===========================================================================
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".

Reply via email to