Nope. If you look at the stack trace, you see that the exception was thrown after trying to figure out a GraphicsConfiguration.
i.e., the following code returns null : GraphicsConfigTemplate3D template3d = new GraphicsConfigTemplate3D(); return GraphicsEnvironment.getLocalGraphicsEnvironment().getDefaultScreenDevice().g etBestConfiguration(template3d); So there are two possibilities: 1. Your laptop doesn't have a 3d graphics card - sorry, there's nothing to do but to change the graphic card or the laptop. 2. You have a 3d graphic card, but the graphic device that VMWARE is providing does not support 3D - try directly the linux environment. Cheers, Florin -----Original Message----- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] Behalf Of Jeremy Booth Sent: Freitag, 17. Oktober 2003 12:30 To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] 'java HelloJava3Da' and display mode? > ************************************************************************ > *** 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) It looks to me that this has nothing to do with VMWARE at all, I suspect that you have an older version of java3d on your old box, one that doesn't complain about a null GraphicsConfiguration in the Cavas3D constructor. If you read the error message it tells you exactly what is going on. You need to get a GraphicsConfiguration object to pass into the constructor for Canvas3D >From the javadoc for Canvas3D > graphicsConfiguration - a valid GraphicsConfiguration object that will > be used to create the canvas. This object should not be null and should > be created using a GraphicsConfigTemplate3D or the > getPreferredConfiguration() method of the SimpleUniverse utility. For > backward compatibility with earlier versions of Java 3D, a null or > default GraphicsConfiguration will still work when used to create a > Canvas3D on the default screen, but an error message will be printed. A > NullPointerException or IllegalArgumentException will be thrown in a > subsequent release. It looks like it already throws that null pointer (I can't check right now) follow the comments in the javadoc and initialise it, then let us know if that fixes it. Cheers Jeremy -- Homepage: http://www.computerbooth.com/ Codepage: http://www.newdawnsoftware.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".