problem building openslide/java with openslide-winbuild

kwiechen kwiechen1 at gmail.com
Sat Sep 10 04:52:30 EDT 2016


solved for me:

openslide-java build.xml:

<property name="target" value="1.6"/>
<property name="source" value="1.6"/>

Maybe this should be changed in master

Best regards,

Kai


Am 10.09.2016 um 09:22 schrieb kwiechen:
> 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