Skip to main content

Xlet Playback with Xletview

4 replies [Last post]
terymas
Offline
Joined: 2007-09-03
Points: 0

Hi all,

I have some issues to plackback xlet with Xletview.
Somebody know, how to solve this issue ?

Here my console :

java.lang.NoClassDefFoundError: org/bluray/net/BDLocator
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389)
at java.lang.Class.getConstructor0(Class.java:2699)
at java.lang.Class.newInstance0(Class.java:326)
at java.lang.Class.newInstance(Class.java:308)
at net.beiker.xletview.xlet.XletManager.initXlet(Unknown Source)
at net.beiker.xletview.xlet.XletManager.run(Unknown Source)
at java.lang.Thread.run(Thread.java:619)
[XleTView]-INFO->Application not loaded!

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
chihiro_saito
Offline
Joined: 2006-11-08
Points: 0

Does XletView come with the bd-j implementation? I don't think org.bluray APIs are supported.

I believe that if BDLocator is the only dependency you have in your xlet, then you can make this work as a superclass type (Locator). Beyond that, perhaps use Blu-ray suitable emulation environment, such as one of the PC players (Digital Theater, PowerDVD, WinDVD) instead.

Chihiro

terymas
Offline
Joined: 2007-09-03
Points: 0

Hi Chihiro,
I don't think too org.bluray APIs are supported : (

How can I make this work as a superclass type (Locator) ?
How playback my java project with a PC player ?

I have WinDVD and PowerDVD HD.
I must to create a BDMV ? Or I can play a .jar file or .java directly ?

Regards,
Tery

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

Hi Tery,

> How can I make this work as a superclass type (Locator) ?

I was just thinking about going through the superclass definitions only, such as creating org.davic Locator(URL) with a BD formatted URL. But I don't know how far you can get by with this approach. If you have WinDVD and PowerDVD, it'll be much better to use them instead for BD-J.

Those players expect a BDMV image. But you can use a pre-made BDMV image and just drop in your .jar and .bdjo file into it. A sample image and the bdjoconverter tool can be found at hdcookbook.dev.java.net. Maybe this wiki page can help.

http://wiki.java.net/bin/view/Mobileandembedded/Blu-RayDiscHelloWorld

Chihiro

Bill Foote

bd-j-dev@mobileandembedded.org wrote:
> Hi Tery,
>
>> How can I make this work as a superclass type (Locator) ?
>
> I was just thinking about going through the superclass definitions only, such as creating org.davic Locator(URL) with a BD formatted URL.

Another option is using javax.tv.locator.LocatorFactory. This lets
you build a locator with a string. The idea for a GEM xlet that
runs in different environments (e.g. OCAP and BD-J) would be to
avoid hard-coding the locator strings into the app, by reading them
from a config file or something. Then, on BD-J, the call to
LocatorFactory would be with a string from the config file of the
form "bd://<...>", and you'd get a BDLocator out. On OCAP, you'd
configure the xlet with a string of the form "ocap://<...>", and out
would pop an OcapLocator.

> But I don't know how far you can get by with this approach. If you have WinDVD and PowerDVD, it'll be much better to use them instead for BD-J.

Well said. Keeping within the GEM subset one can probably get
pretty far, but there are very interesting controls (and other
functionality!) that's disc-specific, and defined in org.bluray. If
your primary focus is BD-J, it's better to stick with environments that
implement all of BD-J.

Cheers,

Bill

> Those players expect a BDMV image. But you can use a pre-made BDMV image and just drop in your .jar and .bdjo file into it. A sample image and the bdjoconverter tool can be found at hdcookbook.dev.java.net. Maybe this wiki page can help.
>
> http://wiki.java.net/bin/view/Mobileandembedded/Blu-RayDiscHelloWorld
>
> Chihiro
> [Message sent by forum member 'chihiro_saito' (chihiro_saito)]
>
> http://forums.java.net/jive/thread.jspa?messageID=247980
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: bd-j-dev-unsubscribe@hdcookbook.dev.java.net
> For additional commands, e-mail: bd-j-dev-help@hdcookbook.dev.java.net
>

---------------------------------------------------------------------
To unsubscribe, e-mail: bd-j-dev-unsubscribe@hdcookbook.dev.java.net
For additional commands, e-mail: bd-j-dev-help@hdcookbook.dev.java.net