Re: Java3d V1.7.1, ClassNotFoundException outside of Eclipse IDE
Posted by
lermontov on
Dec 14, 2021; 11:09am
URL: https://forum.jogamp.org/Java3d-V1-7-1-ClassNotFoundException-outside-of-Eclipse-IDE-tp4041530p4041540.html
The problem is solved and it was
NOT Java3d!
I'll try to describe it.
We have a product, comprises of many plugins (jar files); I'm responsible just for one, with Java3d.
The first run of installed product writed down a file
configuration\org.eclipse.osgi\framework.info.1
This file contains the whole information about all paths, classpath, native libray path and much more.
And when I changed some paths in my plugin (I did this to change from Java3d_152 to Java3d_171), then built plugin, replaced plugin in the product and then run the product, the tool used paths not from new plugin but from
configuration\org.eclipse.osgi\framework.info.1
This explained my ClassDefNotFoundException;
Deletion of
framework.info.1
before plugin replacement helped me to solve this problem;
Conclusion:
OSGI-Behaviour!
May be someone knows, how to change this behaviour e.g. with a flag, but this is a not a Java3d topic!

Thanks a lot!