Building libbluray with oracle/sun java 6

*nix specific usage questions
katiem
Blank Cone
Blank Cone
Posts: 18
Joined: 12 Apr 2013 14:31

Building libbluray with oracle/sun java 6

Postby katiem » 19 May 2013 18:25

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.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Building libbluray with oracle/sun java 6

Postby Jean-Baptiste Kempf » 21 May 2013 16:08

Please try the latest git.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

katiem
Blank Cone
Blank Cone
Posts: 18
Joined: 12 Apr 2013 14:31

Re: Building libbluray with oracle/sun java 6

Postby katiem » 21 May 2013 18:38

It builds fine now. Thank you very much!

Regards.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Building libbluray with oracle/sun java 6

Postby Jean-Baptiste Kempf » 23 May 2013 12:39

Thanks for the report.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.


Return to “VLC media player for Linux and friends Troubleshooting”

Who is online

Users browsing this forum: No registered users and 18 guests