View Single Post
Old 25th January 2009, 16:17   #647  |  Link
loo3aem3ON
Registered User
 
Join Date: Sep 2008
Posts: 189
I've extracted the BDJ.JAR and the 77770.jar into the same directory. But trying to run the code fails:
Code:
$ java com/macrovision/bdplus/Handshake
Exception in thread "main" java.lang.NoSuchMethodError: main
And indeed none of the jar files contains a class with a "main" function. How is the code executed? I noticed that the *.bdjo files in the BDJO directory are referencing the class files in the jar. That's the 07777.bdjo:
Code:
0000:0000 42 44 4a 4f 30 32 30 30 00 00 00 30 00 00 00 3e BDJO0200...0...>
0000:0010 00 00 00 5c 00 00 00 64 00 00 01 3a 00 00 01 3e ...\...d...:...>
0000:0020 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ................
0000:0030 00 00 00 0a 2a 2a 2a 2a 2a 1c 00 00 00 00 00 00 ....*****.......
0000:0040 00 1a 02 00 01 37 37 37 37 30 2a 2e 2a 00 00 00 .....77770*.*...
0000:0050 01 39 39 39 30 30 2a 2e 2a 00 00 00 00 00 00 04 .99900*.*.......
0000:0060 00 10 00 00 00 00 00 d2 02 00 01 10 7f ff 64 6c .......Ò.....ÿdl
0000:0070 77 77 00 00 00 00 00 64 00 00 00 00 10 00 00 01 ww.....d........
0000:0080 01 00 00 00 01 d0 00 0d 65 6e 67 09 42 44 53 74 .....Ð..eng.BDSt
0000:0090 75 62 58 6c 74 00 00 00 00 00 05 37 37 37 37 30 ubXlt......77770
0000:00a0 00 00 20 63 6f 6d 2e 6d 61 63 72 6f 76 69 73 69 .. com.macrovisi
0000:00b0 6f 6e 2e 62 64 70 6c 75 73 2e 48 61 6e 64 73 68 on.bdplus.Handsh
0000:00c0 61 6b 65 00 17 16 2d 42 44 2b 58 4c 45 54 3a 46 ake...-BD+XLET:F
0000:00d0 69 72 73 74 50 6c 61 79 58 6c 65 74 02 10 7f ff irstPlayXlet...ÿ
0000:00e0 64 6c 40 00 00 00 00 00 00 50 00 00 00 00 10 00 dl@......P......
0000:00f0 00 01 01 00 00 00 02 d0 00 11 65 6e 67 0d 46 69 .......Ð..eng.Fi
0000:0100 72 73 74 50 6c 61 79 58 6c 65 74 00 00 00 00 00 rstPlayXlet.....
0000:0110 05 39 39 39 30 30 00 00 1e 63 6f 6d 2e 62 79 64 .99900...com.byd
0000:0120 65 6c 75 78 65 2e 66 6f 78 2e 46 69 72 73 74 50 eluxe.fox.FirstP
0000:0130 6c 61 79 58 6c 65 74 00 00 00 00 00 00 00 00 08 layXlet.........
0000:0140 42 44 4d 56 2f 4a 41 52                         BDMV/JAR
Edit: BD-J introduction: link

Last edited by loo3aem3ON; 25th January 2009 at 17:12.
loo3aem3ON is offline   Reply With Quote