eclipse java3d,在Eclipse上安装Java3D

Sorry in advance if this is a really bad question, but I can't seem to find a recent enough tutorial on how to install Java3D on Eclipse 3.6.0 for Mac OSX 10.6.6. If anyone knows where a good tutorial is, or if you can give me instructions, please do so. Thanks!

解决方案

To add the jar's to a specific project's classpath:

Right-click (or cmd-click on mac?) your project in the Project Explorer view and choose Properties > Java Build Path > Libraries.

Add the folder "\System\Library\Java\Extensions" by clicking the "Add External Class Folder..." button

EDIT:

I would suggest the following, given that

you have the JDK (version 1.5.0 or higher) installed

you have Eclipse for Java or Java EE developers installed (not Eclipse Classic for example)

you can build a vanilla, HelloWorld Java application already

Basically, it sounds like you might not have added the Java 3D api's to your JRE. The download you linked to in your original question contains a help file named README-unzip.html, which is where I obtained the following instructions from:

Download java3d-1_5_1-XXX.zip to a temporary directory, for example,

"/tmp"

Unzip java3d-1_5_1-XXX.zip into "/tmp" as follows:

cd /tmp

unzip java3d-1_5_1-*.zip

This will create a "java3d-1_5_1-XXX" subdirectory in

/tmp where the downloaded files can be

found. The file you need for manual

installation is "j3d-jre.zip".

Unzip Java 3D 1.5.1 into the "jre" directory of your JDK. For

example, if your JDK is in

"/usr/java/jdk1.6.0_01/jre", you would

do the following:

cd /usr/java/jdk1.6.0_01/jre

unzip /tmp/java3d-1_5_1-*/j3d-jre.zip

Verify that the j3dcore.jar, j3dutils.jar, and vecmath.jar files

end up in

"/usr/java/jdk1.6.0_01/jre/lib/ext"

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值