Skip to main content

HDCookbook build error using Eclipse

2 replies [Last post]
Joined: 2008-09-11


I am trying to build the HDCookbook project which I downloaded through svn. I am using eclipse, and I created a new Java project from existing sources. I also have added in the HDCookbook/lib a classes.jar file that contains both the libraries of BDJ that I got from PowerDVD and the libraries of pbp_v1.1.0. When I am trying to build the project by using the ant script, I get the following error:

[] Exception in thread "main" java.lang.NoClassDefFoundError: sun/security/tools/JarSigner
[] at
[] at
[] at
[] Caused by: java.lang.ClassNotFoundException:
[] at$ Source)
[] at Method)
[] at Source)
[] at java.lang.ClassLoader.loadClass(Unknown Source)
[] at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
[] at java.lang.ClassLoader.loadClass(Unknown Source)
[] at java.lang.ClassLoader.loadClassInternal(Unknown Source)
[] ... 3 more

C:\Users\admin\Desktop\HDCookbookEclipseWorkspace\HDCookbook\build.xml:11: The following error occurred while executing this line:
C:\Users\admin\Desktop\HDCookbookEclipseWorkspace\HDCookbook\xlets\hdcookbook_discimage\build.xml:241: The following error occurred while executing this line:
C:\Users\admin\Desktop\HDCookbookEclipseWorkspace\HDCookbook\xlets\hdcookbook_discimage\build_bdjo_security.xml:62: Java returned: 1

Can you help me with this? I have set correctly the environment variable JAVA_HOME and I have installed the Java Version "1.6.0_07".

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Joined: 2006-01-14

Make sure you have JDK not just JRE. JAVA_HOME should point to the JDK directory like this

JAVA_HOME=C:\Program Files\Java\jdk1.6.0_16

Joined: 2009-11-11

Hey tmak,

Did you find a solution? We're struggling with the same problem