Tuesday, August 26, 2014

dcm4chee 2.7 Mac OS Mavericks Installation Note

dcm4chee is a DICOM Server system (and a lot more) that runs under Java runtime environment. It can store medical images and send them out in the DICOM format. If you are reading this article, you must have been familiar with the medical imaging environment in your institution, so I am not going much deeper than that.

I had a chance to install dcm4chee on my Mac OS Mavericks today. I would like to supplement the instructions that have been given on their home site. I think following these steps should save you a couple of hours of finding and trying.

JBoss-4.2.3GA Installation

JBoss must be copied from http://sourceforge.net/projects/jboss/files/JBoss/JBoss-4.2.3.GA/
The link on the instructions page is broken.

JDK Related

I have used jdk1.7.0_09. This is available from the Java Download site (note, at this time of writing the latest JDK is Java 8). 

The JAVA_HOME environment variable should be pointing to (for jdk1.7.0._09) to /Library/Java/JavaVirtualMachines/jdk1.7.0_09.jdk/Contents/Home

Note that Contents/Home in the path.

If you are testing this on your own environment, then JAVA_HOME should be set in your ~/.bash_profile file.

So it would add a line that looks like;

export JAVA_HOME=/Library/Java/JavaVirtualMachines/jdk1.7.0_67.jdk/Contents/Home

Fix the ARR Schema Creation Script for the Latest MySQL

  • The latest version of MySQL uses engine= instead of type=  You will need to correct this.
  • It is also best to manually create the schema even though the document says it will auto-create, it actually does not.

mysql -uarr -parr arrdb < dcm4chee-arr-mysql.ddl

No comments: