Carlpedia
Child pages
  • JHOVE - JSTOR Harvard Object Validation Environment
Skip to end of metadata
Go to start of metadata

About:

Jhove is a program used by the Archives to extract metadata from digital objects.

This article explains how to download, install, and run Jhove on the Mac OSX operating system.

More information about Jhove can be found here.

Download:

http://sourceforge.net/projects/jhove/files/

install:

1.) Navigate to your downloads folder and find the file "jhove-1_6.zip".
2.) Double click this file to create the folder "jhove". Drag this to the Desktop.
3.) Next we have to edit the configuration file:

-Open the folder entitled "jhove", which should now be on your Desktop.

-Open the folder entitled "conf", inside the "jhove" folder.

-Open the file "jhove.conf" in a text editor such as textWrangler or textEdit (but NOT microsoft Word).

-Find the line in this file that starts "<jhoveHome>", around line 7.

-This line, by default, should read "<jhoveHome>/users/stephen/projects/jhove</jhoveHome>".

-You need to change the text between the tags to read "/Users/YOUR USER NAME/Desktop/jhove".

-For example, I would change the line to read "<jhoveHome>/Users/Jason/Desktop/jhove</jhoveHome>" (without parentheses).

-Save this file and close it.

4.) Now, we have to edit the Jhove shell driver script.

-Inside the "jhove" folder, find the file named "jhove", with no extension.

-Open this file in a text editor. Make sure you do not just click on the file, since this will execute it in the terminal.

-We have to edit two lines in this file. They begin on line 30 and start JHOVE_HOME = ... JAVA_HOME = ...

-This first of these should by default, read "JHOVE_HOME=fill in path to java directory"

-Simply replace the text after "=" with the same path that we used in <jhoveHome> in the configuration file.

-For example, for me this line will read "JHOVE_HOME=/Users/Jason/Desktop/jhove" (without the quotes).

-Next we have to set the JAVA HOME path in the next line, which right now should read "JAVA_HOME=/usr/java"

-There is no easy way to find your computer's JAVA HOME path, but if you are on a computer in the library it should be "/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home".

-Change this line to read "JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home"

-That's all! Save this file and close it. Now we're ready to run Jhove.

Running Jhove:

1.) Open a terminal window by navigating to "Applications -> Utilities -> Terminal" and clicking on the Terminal icon.
2.) In the terminal window, type the following commands exactly as they appear, hitting "return" after each line.

cd Desktop/jhove
java -jar bin/JhoveView.jar -c ./conf/jhove.conf

3.) The Jhove graphic user interface should appear.

Processing files with Jhove:

1.) Highlight the folder(s) you are interested in processing and drag them directly on top of the Jhove window.

2.) You will see a progress bar as your files are processed.  Once this is completed, a Jhove report will appear.  We want to save this report, so on the preferences pane click on "file -> Save as...".

3.) Before saving, click the box "Choose output handler" and select "XML".  Enter a file name and location to save the Jhove report, and click "Save".