Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #9996

Help needed with jdk9 and javac add-modules

From olivier sallou <osallou@debian.org>
Newsgroups linux.debian.maint.java
Subject Help needed with jdk9 and javac add-modules
Date 2017-09-11 10:40 +0200
Message-ID <uosq6-rb-15@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hi,
with JDK 9 transition, the biojava4-live package fails to compile. It is
linked to the javax.xml.bind module.
To fix this I know I need to add to javac commands the java.se.ee module.
However, as an Ant build.xlm file is used for compilation etc. , I do not
find how to add this module in javac xml description.
Without this, I have NoClassDefFoundErrors on javax.xml.bind.

My current definition is:

<javac srcdir="${src.dir}" destdir="${class.dir}"
classpathref="compile.classpath" debug="${debug}" optimize="${optimized}"
nowarn="true" source="1.7" target="1.7"></javac>

Anyone already did this ?

Thanks

Olivier

Back to linux.debian.maint.java | Previous | Next | Find similar | Unroll thread


Thread

Help needed with jdk9 and javac add-modules olivier sallou <osallou@debian.org> - 2017-09-11 10:40 +0200

csiph-web