diff --git a/libbluray.changes b/libbluray.changes
index a670443..a9db131 100644
--- a/libbluray.changes
+++ b/libbluray.changes
@@ -1,3 +1,8 @@
+-------------------------------------------------------------------
+Thu Dec 18 11:15:47 UTC 2014 - joerg.lorenzen@ki.tng.de
+
+- Enable BD-J support.
+
 -------------------------------------------------------------------
 Wed Dec 17 16:17:23 UTC 2014 - joerg.lorenzen@ki.tng.de
 
diff --git a/libbluray.spec b/libbluray.spec
index 8568c90..68f1c8c 100644
--- a/libbluray.spec
+++ b/libbluray.spec
@@ -17,6 +17,8 @@
 #
 
 
+%define         soname 1
+
 Name:           libbluray
 Version:        0.6.2
 Release:        0
@@ -31,6 +33,7 @@ BuildRequires:  libtool
 BuildRequires:  pkg-config
 BuildRequires:  pkgconfig(freetype2)
 BuildRequires:  pkgconfig(libxml-2.0) >= 2.6
+BuildRequires:  ant
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 
 %description
@@ -38,11 +41,11 @@ This library is written for the purpose of playing Blu-ray movies. It is
 intended for software that want to support Blu-ray playback (such as VLC and
 MPlayer). We, the authors of this library, do not condone nor endorse piracy.
 
-%package -n libbluray1
+%package -n libbluray%{soname}
 Summary:        Library to access Blu-Ray disk
 Group:          Productivity/Multimedia/Other
 
-%description -n libbluray1
+%description -n libbluray%{soname}
 This library is written for the purpose of playing Blu-ray movies. It is
 intended for software that want to support Blu-ray playback (such as VLC and
 MPlayer). We, the authors of this library, do not condone nor endorse piracy.
@@ -59,34 +62,46 @@ MPlayer). We, the authors of this library, do not condone nor endorse piracy.
 %package devel
 Summary:        Library to access Blu-Ray disks - Development files
 Group:          Development/Languages/C and C++
-Requires:       libbluray1 = %{version}
+Requires:       libbluray%{soname} = %{version}
 
 %description devel
 This library is written for the purpose of playing Blu-ray movies. It is
 intended for software that want to support Blu-ray playback (such as VLC and
 MPlayer). We, the authors of this library, do not condone nor endorse piracy.
 
+%package bdj
+Summary:        Library to access Blu-Ray disk - BD-J support
+Group:          Development/Libraries/Java
+Requires:       java >= 1.6
+Requires:       jpackage-utils
+BuildArch:      noarch
+
+%description bdj
+This library is written for the purpose of playing Blu-ray movies. It is
+intended for software that want to support Blu-ray playback (such as VLC and
+MPlayer). We, the authors of this library, do not condone nor endorse piracy.
+
 %prep
 %setup -q
 %patch1 -p0
 %build
 autoreconf -fiv
-%configure --disable-static
+%configure --disable-static --enable-bdjava
 make %{?_smp_mflags}
 
 %install
 %make_install
 find %{buildroot} -type f -name "*.la" -delete -print
 
-%post -n libbluray1 -p /sbin/ldconfig
+%post -n libbluray%{soname} -p /sbin/ldconfig
 
-%postun -n libbluray1 -p /sbin/ldconfig
+%postun -n libbluray%{soname} -p /sbin/ldconfig
 
 %files tools
 %defattr(-,root,root)
 %{_bindir}/bd_info
 
-%files -n libbluray1
+%files -n libbluray%{soname}
 %defattr(-, root, root)
 %doc COPYING
 %{_libdir}/libbluray.so.*
@@ -97,4 +112,8 @@ find %{buildroot} -type f -name "*.la" -delete -print
 %{_libdir}/libbluray.so
 %{_libdir}/pkgconfig/libbluray.pc
 
+%files bdj
+%defattr(-, root, root)
+%{_javadir}/libbluray-j2se-%{version}.jar
+
 %changelog