Hi,
as an occasional Java packager I'm trying to package jing and trang. I've create a jing-trang package which lives currently here[1]. However, I seek some expertise from a Java developer. :))
My package builds for Leap 42.2 and 42.3, but does not for Tumbleweed. :-/ The ant process fails, see [2] for an overview. Here is an excerpt from the problem:
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.7.
I have a vague idea and searched the Internet for some solutions. It seems, Tumbleweed contains Java 9, but compiling to a previous version needs some other JAR file (rt.jar was mentioned).
On the other side, there is an additional error. OBS couldn't find a class although they are found without any problems on Leap 42.2 and 42.3. This is the output:
[javac] /home/abuild/rpmbuild/BUILD/jing-trang-20151127/mod/rng-parse/src/main/com/thaiopensource/relaxng/parse/Context.java:3: error: package org.relaxng.datatype does not exist [javac] import org.relaxng.datatype.ValidationContext;
How do I solve it? Any idea?
Thanks for any pointers or suggestions, much appreciated! :)
---- References [1] https://build.opensuse.org/project/show/home:thomas-schraitle:java/jing-tran... [2] https://build.opensuse.org/package/live_build_log/home:thomas-schraitle:java...