[x3d-public] X3DJSAIL JAXB fix for Netbeans

Brutzman, Donald (Don) (CIV) brutzman at nps.edu
Mon Aug 5 02:09:57 PDT 2019


Moving to Java 12 (Oracle) and Netbeans 11 (Apache) is a major endeavor that is going pretty smoothly for us, so far.

Current plans are to get all of our X3D-related assets working fully in these environments.

Comparing to OpenJDK is also worthwhile.  It will be easier to get that to work if it already works in JDK 12 and Netbeans 11.

Not breaking how things work in JDK 8 202 is also a goal.

You are welcome to track along with us in each/either of these versions.  Thanks for all coordination John.


On 7/31/2019 4:29 PM, John Carlson wrote:
> Interesting.
> 
> Thanks for the heads up.  I am sticking with Java 8 202 for now. I don’t like Oracle’s license scheme. Will probably move to OpenJDK in the future for any compatibility issues.
> 
> I don’t presently have a dependency on NetBeans.  Let me know when development moves to Open JDK 12 or beyond.
> 
> John
> 
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
> 
> *From: *Brutzman, Donald (Don) (CIV) <mailto:brutzman at nps.edu>
> *Sent: *Wednesday, July 31, 2019 8:46 AM
> *To: *Norbraten, Terry (CIV) <mailto:tdnorbra at nps.edu>
> *Cc: *X3D Graphics public mailing list <mailto:x3d-public at web3d.org>
> *Subject: *Re: [x3d-public] X3DJSAIL JAXB fix for Netbeans
> 
> 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
> 
> _______________________________________________
> 
> x3d-public mailing list
> 
> x3d-public at web3d.org
> 
> http://web3d.org/mailman/listinfo/x3d-public_web3d.org
> 


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