[libbluray-devel] Building libbluray Java issue

Stuart smf.account1 at ntlworld.com
Fri Dec 27 18:54:37 CET 2019


On 12/27/19 4:21 PM, Marvin Scholz wrote:
> On 27 Dec 2019, at 17:13, Stuart wrote:
>
>> Hi I am trying to build libbluray-1.1.2 and I am getting the 
>> following error, can anyone suggest a fix/way forward, my Java 
>> knowledge is limited, thanks.
>>
>
> Hi, its currently not possible to compile libbluray with anything 
> newer than JDK 8.
>
>> (OpenJDK-12.0.2+10-bin? ant-1.10.7)
>>
>> root at Andromeda:/sources/libbluray-1.1.2# make
>> make? all-am
>> make[1]: Entering directory '/sources/libbluray-1.1.2'
>> ant -f ./src/libbluray/bdj/build.xml \
>> ??? -Dbuild='/sources/libbluray-1.1.2/src/libbluray/bdj/build' \
>> ??? -Ddist='/sources/libbluray-1.1.2/.libs' \
>> ??? -Dsrc_awt=:java-j2se:java-build-support \
>> ??? -Djava_version_asm=1.6 -Djava_version_bdj=1.6 \
>> ??? -Dbootclasspath="" \
>> ??? -Dversion='j2se-1.1.2'
>> Buildfile: /sources/libbluray-1.1.2/src/libbluray/bdj/build.xml
>>
>> init:
>>
>> compile:
>> ??? [javac] /sources/libbluray-1.1.2/src/libbluray/bdj/build.xml:26: 
>> warning: 'includeantruntime' was not set, defaulting to 
>> build.sysclasspath=last; set to false for repeatable builds
>> ??? [javac] Compiling 33 source files to 
>> /sources/libbluray-1.1.2/src/libbluray/bdj/build
>> ??? [javac] warning: [options] bootstrap class path not set in 
>> conjunction with -source 6
>> ??? [javac] error: Source option 6 is no longer supported. Use 7 or 
>> later.
>> ??? [javac] error: Target option 6 is no longer supported. Use 7 or 
>> later.
>>
>> BUILD FAILED
>> /sources/libbluray-1.1.2/src/libbluray/bdj/build.xml:26: Compile 
>> failed; see the compiler error output for details.
>>
>> Total time: 0 seconds
>> make[1]: *** [Makefile:2861: all-local] Error 1
>> make[1]: Leaving directory '/sources/libbluray-1.1.2'
>> make: *** [Makefile:1032: all] Error 2
>>
>> _______________________________________________
>> libbluray-devel mailing list
>> libbluray-devel at videolan.org
>> https://mailman.videolan.org/listinfo/libbluray-devel
> _______________________________________________
> libbluray-devel mailing list
> libbluray-devel at videolan.org
> https://mailman.videolan.org/listinfo/libbluray-devel

Thanks Marvin, using JDK 8 everything has built.

Stuart



More information about the libbluray-devel mailing list