Sponsored Links

Sponsored Links

Results 1 to 3 of 3

  1. #1
    Forum Moderator PS3 News's Avatar
    Join Date
    Apr 2005
    Sponsored Links

    Post How to Install Minimal BD-J SDK for PS3

    Sponsored Links
    Minimal BD-J (Java) Devkit for PS3

    Okay, FreePlay's been busy putting together a minimal SKD for BD-J development, and he's generously shared it to the rest of the young PS3 homebrew community.

    What this release brings you is basically everything you'll need to get started, save for a couple of things:

    1. a working installation of JDK, the Java Development Kit (get that from java.sun.com/javase/downloads/index.jsp - currently, the latest version is JDK 6 Update 7)

    2. a copy of bdj.jar, the BD-J API. I can't provide this, since you need a license to use it; however, if you have a PC program capable of making or playing Blu-Ray discs - like Nero or PowerDVD - you can get this file from there. (In Nero 8, the file is located in C:program FilesCommon FilesNeroNeroBLCBDJjl ib.)

    There's also an included sample Hello World application as well as silenoz's RSS reader and a build.bat file for building, packing and signing the programs. He says that the batch script is pretty universal, that is unless you need to add in other JAR files for your compilation.

    While this brew is looking pretty good, there have been found some pretty strict limitations on the PS3's implementation of the BD-J:
    • You cannot read or write local files.
    • You cannot list the contents of a directory.

    Well, it could be that it just didn't work for him when he tried it, but that's why you'll have to give your feedback when you try this yourself. Maybe you'll have better luck.

    Oh, and do take note that for this to work properly, you MUST copy it to the root of your C: drive - that is, to C:bdj-ps3. DO NOT rename the folder.

    There are more instructions and details to be learned, so make sure you do read and understand the readme as soon as you download the file, and before you try it out. Thanks, FreePlay!

    How to Install Minimal BD-J SDK for PS3

    Ok guys there has been some people having trouble installing / using the BD-J SDK so I decided to write a tutorial on how to use it!
    • Step 1: Make sure you have installed the JDK 6 Update 7. It can be downloaded here: ([Register or Login to view links]) The one I use can be download here: ([Register or Login to view links]) It's the same thing, but it has Java 5 EE SDK. Just follow the on screen instructions on how to install this.

    • Step 2: After you have installed the JDK you need to download the Minimal BD-J SDK for PS3 (bdjps3.zip). After you have downloaded it you need to extract its contents to the root of your c drive. (IE C:\bdj-ps3\) In the bdj-ps3 folder there should be 4 folder in there with the folling names: common, docs, disk files, and examples.

    • Step 3: After all of step 2 is done you need to uptain a copy of bdj.jar. This can be found in versions of Nero, PowerDVD or other software of that nature that can handle Blu-ray Disks. You can also do a Google search for it. After you have gotten bdj.jar you need to place it in the common folder. (IE C:\bdj-ps3\common\bdj.jar)

    • Step 4: After all that is done you are ready to compile your first program! To make sure that you did everything correct you should copile the hello world program. The hello world program is found in C:\bdj-ps3\examples. Open the folder that says Hello world. In that folder there should be a file called build.bat. Right click on the bat file and select edit. Now it should open in notepad.

    On the last line of the file add the PAUSE. Now your file should look something like this:

    [Register or Login to view code]

    After that is done save the file and run the bat file. If all goes well your file will compile. If you get an output like this:

    You're going to have to tell the bat where to find the java exe files. First you need to find out where your java exe are. One place they may be is here: C:\Sun\SDK\jdk\bin.

    If so right click on that bat file in the hello world folder again and choose edit. Right under the line that says @echo off add this text: path=c:\windows;c:\windows\system32\;c:\sun\sdk\jd k\bin.

    If it is not there go and look for it.

    Once you have found it add that text that I said to if it was in C:\Sun\SDK\jdk\bin but instead of having it say... system32;c:sun\sdk\.... replace everything after the semicolon ( ; ) with the path of the java exe in it. Save the bat file and run it now it should compile.
    Attached Thumbnails<br><br> Attached Thumbnails


  2. #2
    Contributor moshebe's Avatar
    Join Date
    Mar 2008
    Sponsored Links
    Sponsored Links
    great guide, Thanks

  3. #3
    Senior Member Foo's Avatar
    Join Date
    Sep 2011
    Sponsored Links
    Sponsored Links
    Really why can't he put bdj.jar in there?

    To save people hours of searching ([Register or Login to view links]) there's the BDJ.jar.
    Last edited by Foo; 06-20-2012 at 05:53 PM Reason: Automerged Doublepost


Sponsored Links
Advertising - Affiliates - Contact Us - PS3 Downloads - Privacy Statement - Site Rules - Top - © 2014 PlayStation 3 News