[libbluray-devel] Load libbluray.jar to bootclasspath

hpi1 git at videolan.org
Thu Dec 20 22:04:11 CET 2012


libbluray | branch: master | hpi1 <hpi1 at anonymous.org> | Thu Dec 20 23:01:20 2012 +0200| [c604ee4dc7ebe9e3d2f0f55d11bfde735ea31a34] | committer: hpi1

Load libbluray.jar to bootclasspath
This allows placing classes to java.awt package.
Some java.awt functions can't be accessed outside of java.awt package.

> http://git.videolan.org/gitweb.cgi/libbluray.git/?a=commit;h=c604ee4dc7ebe9e3d2f0f55d11bfde735ea31a34
---

 src/libbluray/bdj/bdj.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/libbluray/bdj/bdj.c b/src/libbluray/bdj/bdj.c
index b08ecad..a0e5414 100644
--- a/src/libbluray/bdj/bdj.c
+++ b/src/libbluray/bdj/bdj.c
@@ -128,7 +128,8 @@ BDJAVA* bdj_open(const char *path,
         classpath = BDJ_CLASSPATH;
 
     // determine classpath
-    char* classpath_opt = str_printf("-Djava.class.path=%s", classpath);
+    //char* classpath_opt = str_printf("-Djava.class.path=%s", classpath);
+    char* classpath_opt = str_printf("-Xbootclasspath/a:%s", classpath);
 
     // determine bluray.vfs.root
     char* vfs_opt;



More information about the libbluray-devel mailing list