Page 1 of 1

Building libbluray with oracle/sun java 6

Posted: 19 May 2013 18:25
by katiem
Hi, I didn't know where to report this so thought I'd drop a note here. As from commit a594d770726518f7101acaaea324e9e1e81f4ab6 (Fri, 10 May 2013) [Fixed "java.lang.UnsupportedOperationException: PERPIXEL_TRANSLUCENT translucency is not supported"] Libbluray no longer builds with J2SE java 6. The build errors out with "BUILD FAILED
/root/libbluray-a594d77/src/libbluray/bdj/build.xml:22: Compile failed;". If I then remove the lines in src/libbluray/bdj/java/java/awt/BDGraphicsDevice.java >

+
+ /* J2SE java 7 */
+ boolean isWindowTranslucencySupported(GraphicsDevice.WindowTranslucency translucencyKind) {
+ return true;
+ }

then the build contines and completes successfully. Hope this info helps.

Kind regards.

Re: Building libbluray with oracle/sun java 6

Posted: 21 May 2013 16:08
by Jean-Baptiste Kempf
Please try the latest git.

Re: Building libbluray with oracle/sun java 6

Posted: 21 May 2013 18:38
by katiem
It builds fine now. Thank you very much!

Regards.

Re: Building libbluray with oracle/sun java 6

Posted: 23 May 2013 12:39
by Jean-Baptiste Kempf
Thanks for the report.