Skip to main content

Success! Using Cyberlink software for BD-J development

4 replies [Last post]
daddyhop
Offline
Joined: 2006-05-05
Points: 0

As good forum etiquette dictates, "If you take the time to post your problems, you should also take the time to post your successes". So, now that I can burn BD-J applications that play on the PS3, here's the steps that I took in order to accomplish that:

My configuration:

1. Dev environment - Netbeans 6.1 with the BD-J plugin - (Plugin URL http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?plug... )
2. Build environment - Netbeans 6.1 with the BD-J plugin
3. BD-J libraries - Cyberlink PowerDVD (BD-J.jar)
4. Disc burning utility - Cyberlink Power2Go
5. Operating system - Win XP using Parallels on Mac OS X
6. Blu-ray burner hardware - LG GGW-H20L internal drive

Setup:

The Netbeans plugin for BD-J development works perfectly. At intstall-time, the plugin prompts you for the location of the jar file that contains all the BD-J classes. You must get that file from your PC-based Blu-ray software (the simplest approach is to search for .jar files in the installation folder of your Blu-ray burning software). The only hitch for Cyberlink users is that the BD-J libraries from Cyberlink don't include all the classes from the Personal Basis Profile, so you need to get them from here: http://java.sun.com/javame/downloads/index.jsp

The 2 additional jars that you need are located in the pbp-1_1-fr-ri.zip file:
1. basis.jar
2. btclasses.zip

Those files are located in the "Optimized_nosym/lib/" folder. In order for your applciation to build properly with the NetBeans plugin, you need to ensure that the build.properties file located in your Netbeans project points to the Cyberlink BD-J jar file and the other two files listed above. On my PC, I placed all those files in a folder named "C:\bdj_lib". So, build.properties file looked like this:

bdj.classes=C\:\\bd-j_lib\\BDJ.jar;C\:\\bd-j_lib\\btclasses_pbp.zip;C\:\\bd-j_lib\\basis.jar

So, after building your application, the files that need to be burned will be located in the following location:

{project_location}/dist/DiscImage

Now, when you're ready to burn your disc, you need to startup Power2Go. All you need to do is copy the contents of the above folder to your disc. When you click on the button to initiate the burning process, you'll be prompted to modify any of the settings. Please be sure that the file system type is set to "UDF 2.5", otherwise, the application won't work in the PS3.

Well, I hope this helps someone!

Regards,

Bruce

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
MsAdo
Offline
Joined: 2011-10-12
Points: 0

God bless you, man. This has been driving me bananas.

One comment: in your build.properties file, you have btclasses.zip incorrectly labeled as btclasses_pbp.zip. The correct name is btclasses.zip -- at least, fixing that typo worked for me.

May your traffic lane be the fastest. May you be upgraded to first class on your next flight. May you get that extra pack of ketchup just when you need it ... you get my point!

-MsAdo

ashokabk
Offline
Joined: 2008-08-25
Points: 0

Hi I am not able to get the BDJ.jar from the installation folder of PowerDVd or from the installation folder of ArcSoft TotalMedia Theatre. Could you please tell me the location/ from where i can get BDJ.jar file

Thanks in advance
Ashoka BK

chihiro_saito
Offline
Joined: 2006-11-08
Points: 0

Hi Bruce,

Thanks for sharing this detailed information to the forum. I'm also glad to hear that the NB plugin is helping you.

Meanwhile, I wish to add a comment to this, just to avoid misunderstandings:

> The only hitch for Cyberlink users is that the BD-J libraries from Cyberlink don't include all the classes from the Personal Basis Profile,

What this means is that PBP class files are not a part of a jar named "BDJ.jar". PowerDVD does implement all the PBP features, as far as I know. There are other jars and zips in PowerDVD (btclasses.zip and basis-security.jar, if I recall correctly) which should make up for the PBP portion.

Adding PBP refererence implementation files in pbp-1_1-fr-ri.zip to BDJ.jar, like Bruce said, is a completely valid option for making the stub jar. Meanwhile, please do not interpret this info as PowerDVD not implementing PBP.

Best,
Chihiro

mochilete
Offline
Joined: 2011-10-18
Points: 0

Hello!

I'm a student from Universidad Politecnica of Madrid (Spain) and i'm a MHP and now blu-ray interactive application developer.

When I implemented the same application in MHP, the graphics layer repainted all graphics when I used the method call repaint() in HScene.

But in blu-ray, this method doesn´t work correctly. In this case, the containers paint over others and the Scene doesn't refresh.

If I use Ciberlink PowerDVD in a PC, the application works correctly, but
when i put the same application in a Samsung BD-6900, the behaviour is
completely different.

Do you know what is the solution of this problem? Am I doing something
wrong or is Samsung BD-6900 working badly? Shall i have to paint my
graphics using double buffer?

Thank you very much for attending me

Best regards