[x3d-public] Error in X3DJSAIL build: JAXB under different versions of Java
John Carlson
yottzumm at gmail.com
Wed Jun 12 17:48:58 PDT 2019
See important changes in Oracle’s Java 8 license, as of April 2019
https://java.com/en/download/release_notice.jsp
Should we switch en masse to OpenJDK? Or another language (Python, TypeScript, ECMAScript?)
I would vote TypeScript for types.
Python for ducktyping
ECMAScript for web.
Are Go, Rust options too?
Wondering!
John
Sent from Mail for Windows 10
From: John Carlson
Sent: Wednesday, June 12, 2019 7:11 PM
To: Brutzman, Donald (Don) (CIV); X3D Graphics public mailing list
Cc: Norbraten, Terry (CIV)
Subject: RE: Error in X3DJSAIL build: JAXB under different versions of Java
$ java -version
java version "1.8.0_202"
Java(TM) SE Runtime Environment (build 1.8.0_202-b08)
Java HotSpot(TM) 64-Bit Server VM (build 25.202-b08, mixed mode)
Running Java 8. No reason to upgrade that I see, unless you guys need help with NetBeans 11..
JAX-B is part of Java EE (Now Jakarta EE???), right?
John
Sent from Mail for Windows 10
From: Brutzman, Donald (Don) (CIV)
Sent: Wednesday, June 12, 2019 6:44 PM
To: John Carlson; X3D Graphics public mailing list
Cc: Norbraten, Terry (CIV)
Subject: Re: Error in X3DJSAIL build: JAXB under different versions of Java
Apologies for the problem, we try hard to avoid blockers like this.
Terry Norbraten (cc:ed) has diagnosed. Am hoping to "ant-ify" a fix in build.xml soon. Back-room thread follows.
================================================================================
On 6/11/2019 7:53 AM, Norbraten, Terry (CIV) wrote:
> Has nothing to do w/ NetBeans version. Has everything to do w/ Java version, i.e. 8 vs 12. Java SE 12 no longer supports the internal JAXB context due to shedding internal support for most third party libs.
>
> https://www.jesperdj.com/2018/09/30/jaxb-on-java-9-10-11-and-beyond/
>
>
>
>> On Jun 11, 2019, at 07:35, Brutzman, Donald (Don) (CIV) <brutzman at nps.edu <mailto:brutzman at nps.edu>> wrote:
>>
>> Interesting. Is this just for Netbeans 11 or for Netbeans 8 as well?
>>
>> Wondering if you will be in today or later in the week - TIA.
>>
>> On 6/10/2019 10:51 AM, Norbraten, Terry (CIV) wrote:
>>> Put this line in your netbeans.conf
>>>
>>> -J-Djavax.xml.bind.context.factory=com.sun.xml.bind.v2.ContextFactory
>>>
>>>
>>>
>>>> On Jun 9, 2019, at 06:24, Brutzman, Donald (Don) (CIV) <brutzman at nps.edu <mailto:brutzman at nps.edu>> wrote:
>>>>
>>>> 1. Apache Netbeans is now a full-fledged project. Cool.
>>>>
>>>> https://blogs.apache.org/netbeans/entry/announce-apache-netbeans-has-graduated
>>>>
>>>> https://blogs.apache.org/foundation/entry/the-apache-software-foundation-announces51
>>>>
>>>> 2. Might be too ambitious over next month, but sure would be great to transition to Netbeans 11 prior to Web3D and SIGGRAPH conferences. In any case, am willing to start.
>>>>
>>>> 3. Everything seems to work OK when using build.xml targets in Netbeans 8.
>>>>
>>>> 4. Am having trouble with "run" and "debug" for HelloWorldProgram and FieldObjectTests individually, I think I've messed up project properties somehow over last few weeks.
>>>>
>>>> 5. Tried create.X3DJSAIL under Netbeans 11, got JAXB errors, sounded like what you described.
>>>>
>>>> ant -f C:\\x3d-code\\www.web3d.org\\x3d\\stylesheets create.X3DJSAIL
================================================================================
On 6/11/2019 5:59 PM, John Carlson wrote:
> $ ~/apache-ant-1.10.5/bin/ant create.X3DJSAIL
>
> Buildfile: C:\x3d-code\www.web3d.org\x3d\stylesheets\build.xml
>
> BUILD FAILED
>
> C:\x3d-code\www.web3d.org\x3d\stylesheets\build.xml:2589: C:\languages\java\jaxb-ri-2.3.1\jaxb-ri\mod does not exist.
>
> Total time: 0 seconds
>
> Probably you’re in the middle of a massive change, if I read the svn commits right.
>
> FYI,
>
> John
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://web3d.org/pipermail/x3d-public_web3d.org/attachments/20190612/5225bf81/attachment-0001.html>
More information about the x3d-public
mailing list