[x3d-public] X3DJSAIL JAXB fix for Netbeans

Brutzman, Donald (Don) (CIV) brutzman at nps.edu
Wed Jul 31 06:45:49 PDT 2019


Problem: support for library Java API for XML Binding (JAXB) has moved under Netbeans 11 / Java 12, making it difficult to compile X3DJSAIL in that development environment.

Terry Norbraten has found a fix.  Build files have been modified and documented accordingly.  Have confirmed that full X3DJSAIL build now works on both Netbeans 8 and Netbeans 11.

We have added JAXB in order to have a programmatic way to utilize X3D Unified Object Model (X3DUOM) using Java.  Further development to continue.

On 7/29/2019 2:33 PM, Norbraten, Terry (CIV) wrote:
> Don,
> 
> Put this line in your netbeans.conf file:
> 
> -J-Djavax.xml.bind.context.factory=com.sun.xml.bind.v2.ContextFactory
> 
> This will tell JDK 12 not to use the internal version, but the third party libs (latest JAXB)

Thanks Terry.  Having fun with X3D!  8)

all the best, Don
-- 
Don Brutzman  Naval Postgraduate School, Code USW/Br       brutzman at nps.edu
Watkins 270,  MOVES Institute, Monterey CA 93943-5000 USA   +1.831.656.2149
X3D graphics, virtual worlds, navy robotics http://faculty.nps.edu/brutzman


More information about the x3d-public mailing list