Java3D Version detection
Posted by LordSmoke on Dec 20, 2016; 6:14pm
URL: https://forum.jogamp.org/Java3D-Version-detection-tp4037543.html
Is there a way to programmatically detect the Java3D version number?
Writing a simple Java environment probing app for end-users to provide me with debug info. I can currently detect Java3D with some old code I had running:
// Check for Java3D
boolean hasJava3D = false;
try {
com.sun.j3d.utils.geometry.Sphere sphere = new com.sun.j3d.utils.geometry.Sphere();
hasJava3D = true;
} catch (Error e) {
}
I note that the above spews out the version info to the system console. Not sure if that is something I did in the past or not - doubt it since this is an updated Java3D.
Is there any way to get more specific information on Java3D?
TIA, LS
PS: Looking forward to more Jogl and Java3D programming for some months to come (university sabbatical).