How to use 3D related library in Java8 on MacOSX?

I asked a question before.

I try to use 3d related library in my program.
When i build this program, i get this error message.

java.lang.NoClassNotFoundError: "Class_Name"

However, the same program can be build in Java6 and MacOSX Yosemite or Java8 and Windows7.

My environment
OS: MacOS Mojave
Java version: 8
ImageJ version: 1.51n

I’ve already included j3dcore, j3dutils and vecmath.jar.
How to use 3Dviewer in Java8 on MacOSX?
(3Dviewer is working in Installed Fiji, but isn’t working in my program.)