problem building openslide/java with openslide-winbuild

kwiechen kwiechen1 at gmail.com
Sat Sep 10 03:22:09 EDT 2016


Hi,

I am trying to build openslide for windows running the winbuild script 
on ubuntu 16.04. The openslide bin dir contains  DLLs to call for example

openslide from python but the build stops with:


Buildfile: 
/home/kai/openslide-winbuild/64/build/openslide-java-0.12.1/build.xml

build-subprojects:

init:
     [mkdir] Created dir: 
/home/kai/openslide-winbuild/64/build/openslide-java-0.12.1/bin/resources

build-project:
      [echo] openslide java: 
/home/kai/openslide-winbuild/64/build/openslide-java-0.12.1/build.xml
     [javac] Compiling 11 source files to 
/home/kai/openslide-winbuild/64/build/openslide-java-0.12.1/bin
     [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.
Makefile:923: die Regel für Ziel „openslide.jar“ scheiterte
make[1]: Verzeichnis 
„/home/kai/openslide-winbuild/64/build/openslide-java-0.12.1“ wird 
verlassen
Makefile:408: die Regel für Ziel „all“ scheiterte
Failed: make $parallel (line 567)


OpenJDK and javac are installed. Is there a solution or is it possible 
to exclude the java part?


Best regards,


Kai



More information about the openslide-users mailing list