导入 javax.vecmath [英] Import javax.vecmath
问题描述
我想在我的 Java 程序中使用 javax.vecmath
但不幸的是它说:
I would like to use javax.vecmath
in my Java program but unfortunately it says:
导入 javax.vecmath 无法解析
The import javax.vecmath cannot be resolved
我应该在项目中自己添加jar吗?我在哪里可以找到那个 jar 文件?我使用的是 Ubuntu/Eclipse Galileo.
Should I add the jar by myself in the project? Where can I find that jar file? I'm on Ubuntu/Eclipse Galileo.
推荐答案
在 Ubuntu 上,您可以apt-get install libvecmath-java
.在其他系统上按照 Petar Minchev 的建议进行操作,或者在 Google 上搜索java vecmath"之类的内容,结果是 https://vecmath.dev.java.net/,然后转到他们的下载页面.
On Ubuntu you can apt-get install libvecmath-java
. On other systems do what Petar Minchev suggests, or search on Google for something like "java vecmath", which turns up https://vecmath.dev.java.net/, and then go to their downloads page.
这篇关于导入 javax.vecmath的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!