老是出现这样的错误:
java.io.FileNotFoundException: .\ballcone.lws (The system cannot find the file specified) at com.sun.j3d.loaders.lw3d.Lw3dLoader.load(Lw3dLoader.java:131) at Viewer.init(Viewer.java:95) at com.sun.j3d.utils.applet.MainFrame.run(MainFrame.java:262) at java.lang.Thread.run(Thread.java:534)

解决方案 »

  1.   

    add the following class to you classpath
    %JAVA_HOME%\java3d-utils-src.jar;%JAVA_HOME%\jre\lib\ext\j3daudio.jar;%JAVA_HOME%\jre\lib\ext\j3dcore.jar;%JAVA_HOME%\jre\lib\ext\j3dutils.jar
      

  2.   

    看提示好像是不支持XP,这个JAVA 3D API 没有新一点的版本了吗?
      

  3.   

    my system is xp, why can i use?
    java 3d class has two type, one is for opengl, the other is for directx
    which type do you choose?
      

  4.   

    我用的OpenGL的,我添加classpath后错误提示是这样:
    老是出现这样的错误:
    java.io.FileNotFoundException: .\ballcone.lws (The system cannot find the file specified) at com.sun.j3d.loaders.lw3d.Lw3dLoader.load(Lw3dLoader.java:131) at Viewer.init(Viewer.java:95) at com.sun.j3d.utils.applet.MainFrame.run(MainFrame.java:262) at java.lang.Thread.run(Thread.java:534)
      

  5.   

    是不是我还需要在机器上安装OpenGL API?
      

  6.   

    做编程的,用Server版的系统比较好吧!支持的范围也比较广!
      

  7.   

    我在XP和2003下都使用过 Java3D ,都没有问题啊!你是不是下载的 sun 提供的安装包,安装的!我自己用时,直接安装了就可以使用了.
      

  8.   

    是不是还需要安装OpenGL API软件包?
    我下载的是sun的安装版,OpenGL的
      

  9.   

    还是一样的毛病,郁闷,看了readme,上面说直接安装就可以了,不用设置环境变量的啊
      

  10.   

    看来好像是OpenGL出了问题,我重新安装Direct 3d 版的就可以运行。
    说明我机器里没装OpenGL吗?
    可是显卡驱动里不是带有OpenGL和Direct3D吗,否则支持OpenGL的游戏怎么都能运行?