其实吾是不想编译的,只是工作需要……
- 下载
java3d源码位置_柳鲲鹏-CSDN博客
- 解压(略)
- 下载jogamp
Index of /deployment/v2.3.2/jar
下载jogl-all.jar和gluegen-rt.jar,放在目录jogl-v2.3.2
- 确认目录结构
这个目录结构编译最省事,不需要改配置。
j3d-core j3d-utils jogl-v2.3.2 vecmath
- 安装依赖
sudo apt install -y ant gcc
sudo apt install -y openjdk-8-jdk
确认java/gcc/ant都在PATH中。
- 编译vecmath
cd vecmath
ant
- 编译j3d-core
cd j3d-core
ant
- 编译j3d-utils
cd j3d-utils
ant