I am trying to compile the libSBGN jar with a Mac book, (java 9.0.1
Java(TM) SE Runtime Environment (build 9.0.1+11), but I have the following error message during the ant command :
[javac] warning: [options] bootstrap class path not set in conjunction with -source 1.5
[javac] error: Source option 1.5 is no longer supported. Use 1.6 or later.
[javac] error: Target option 1.5 is no longer supported. Use 1.6 or later.
BUILD FAILED
I also changed the org.sbgn/build.xml file to refer to ant.build.javac version 1.6 instead of 1.5:
line 5: property name=“ant.build.javac.target” value=“1.5”/ —>1.6
property name=“ant.build.javac.source” value="1.5"/ —>1.6
line 103: javac srcdir="test" debug="true"
includes="**"
destdir="build"
source=“1.5” —>1.6
The build is successful, but there is a runtime error when I use the resulted libsbgn.jar in eclipse.
Could you please let me know if you have any suggestions on these issues?
Thank you very much.
sorry for the delay, i've upgarded the source version to 1.6 .. with that it worked for me. I'm not sure about refering to the ant.build.javac references.
Dear All,
I am trying to compile the libSBGN jar with a Mac book, (java 9.0.1 Java(TM) SE Runtime Environment (build 9.0.1+11), but I have the following error message during the ant command :
BUILD FAILED
I also changed the org.sbgn/build.xml file to refer to ant.build.javac version 1.6 instead of 1.5: line 5: property name=“ant.build.javac.target” value=“1.5”/ —>1.6 property name=“ant.build.javac.source” value="1.5"/ —>1.6
line 103: javac srcdir="test" debug="true" includes="**" destdir="build" source=“1.5” —>1.6
The build is successful, but there is a runtime error when I use the resulted libsbgn.jar in eclipse.
Could you please let me know if you have any suggestions on these issues? Thank you very much.
Best regards, Irina Balaur