Skip to content

Commit a1741fb

Browse files
committed
[Java3D]correct configuration (including directory of native libs)
1 parent 26a23c2 commit a1741fb

12 files changed

+20
-16
lines changed

.classpath

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,14 @@
88
</classpathentry>
99
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
1010
<attributes>
11+
<attribute name="test" value="true"/>
1112
<attribute name="optional" value="true"/>
1213
<attribute name="maven.pomderived" value="true"/>
13-
<attribute name="test" value="true"/>
1414
</attributes>
1515
</classpathentry>
1616
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
1717
<attributes>
18+
<attribute name="org.eclipse.jdt.launching.CLASSPATH_ATTR_LIBRARY_PATH_ENTRY" value="Java3D/3Dlibs_64bits"/>
1819
<attribute name="maven.pomderived" value="true"/>
1920
</attributes>
2021
</classpathentry>
@@ -28,5 +29,8 @@
2829
<attribute name="maven.pomderived" value="true"/>
2930
</attributes>
3031
</classpathentry>
32+
<classpathentry kind="lib" path="alternatesJAR/j3dcore.jar"/>
33+
<classpathentry kind="lib" path="alternatesJAR/j3dutils.jar"/>
34+
<classpathentry kind="lib" path="alternatesJAR/vecmath.jar"/>
3135
<classpathentry kind="output" path="target/classes"/>
3236
</classpath>

3Dlibs_64bits/j3dcore-d3d.dll

804 KB
Binary file not shown.

3Dlibs_64bits/j3dcore-ogl-cg.dll

40 KB
Binary file not shown.

3Dlibs_64bits/j3dcore-ogl-chk.dll

48 KB
Binary file not shown.

3Dlibs_64bits/j3dcore-ogl.dll

224 KB
Binary file not shown.

3Dlibs_64bits/libj3dcore-ogl-cg.so

5.15 KB
Binary file not shown.
File renamed without changes.

3Dlibs_64bits/notes3Dlibs.txt

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
20220322
2+
Specific 32 or 64 bits are 'j3dcore-ogl' (here 64 bits): j3dcore-ogl.dll and libj3dcore-ogl.so
3+
*.dll are for Windows and *.so are for Unix/Linux Systems (including Mac OS X)
4+
5+
Configuration for Eclipse IDE : include path to these libs via including directories into :
6+
Project Properties > Libraries > JRE System Librairies > Native Library Location 'Java3D/3Dlibs_64bits' or equivalent.
7+
Set it also for Maven and other launch systems (including ant if necessary).

alternatesJAR/j3dcore.jar

2.82 MB
Binary file not shown.

alternatesJAR/j3dutils.jar

1.62 MB
Binary file not shown.

alternatesJAR/vecmath.jar

318 KB
Binary file not shown.

pom.xml

Lines changed: 8 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -30,26 +30,19 @@
3030
<!-- https://mvnrepository.com/artifact/java3d/j3dcore -->
3131
<!-- <dependency> <groupId>java3d</groupId> <artifactId>j3dcore</artifactId>
3232
<version>${java3d.version}</version> </dependency> -->
33+
34+
3335
<!-- https://mvnrepository.com/artifact/javax.vecmath/vecmath -->
34-
<dependency>
35-
<groupId>javax.vecmath</groupId>
36-
<artifactId>vecmath</artifactId>
37-
<version>${java3d.version}</version>
38-
</dependency>
36+
<!-- <dependency> <groupId>javax.vecmath</groupId> <artifactId>vecmath</artifactId>
37+
<version>${java3d.version}</version> </dependency> -->
3938

4039
<!-- https://mvnrepository.com/artifact/java3d/j3d-core-utils -->
41-
<dependency>
42-
<groupId>java3d</groupId>
43-
<artifactId>j3d-core-utils</artifactId>
44-
<version>${java3d.version.alternative}</version>
45-
</dependency>
40+
<!-- <dependency> <groupId>java3d</groupId> <artifactId>j3d-core-utils</artifactId>
41+
<version>${java3d.version.alternative}</version> </dependency> -->
4642

4743
<!-- https://mvnrepository.com/artifact/java3d/j3d-core -->
48-
<dependency>
49-
<groupId>java3d</groupId>
50-
<artifactId>j3d-core</artifactId>
51-
<version>${java3d.version.alternative}</version>
52-
</dependency>
44+
<!-- <dependency> <groupId>java3d</groupId> <artifactId>j3d-core</artifactId>
45+
<version>${java3d.version.alternative}</version> </dependency> -->
5346

5447
</dependencies>
5548

0 commit comments

Comments
 (0)