Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

cfimage writetobrowser throwing error on CF10

I get the following error with <cfimage action="writeToBrowser" on a Mac Mavericks CF10 machine:

java.lang.ClassNotFoundException: javax.media.jai.util.ImagingException

I've googled extensively and only came up with one person with a similar problem.

http://qiita.com/cubdesign/items/c5cc0435cb6e928fd3b5

It's in Japanese but translated with Google he says he rolled back to java 1.6.0_65.jdk. Unfortunately, I can't seem to find that particular java version on Oracle's site.

I tried rolling the jdk to 1.6.0_45 but then CF10 wouldn't start.

My machine is set up with java 1.7.0_55.jdk and the latest Mavericks patch from Adobe has been applied to the CF server (update 13).

Update:
Submitted Bug Report #3759721 for this issue.

Update Fixed:

Credit goes to Leigh (see comments below).

It seems that the Mavericks update wiped the JVM in the /System/Library/Java folder. Unfortunately, it looks like Adobe still has an issue with any version of the jdk above 1.6

Download and install the dmg file on this page: Java for OS X 2013-005

like image 929
jk. Avatar asked Oct 21 '22 08:10

jk.


1 Answers

Found a solution:

Credit goes to Leigh (see comments below question).

It seems that the Mavericks update wiped the JVM in the /System/Library/Java folder. Unfortunately, it looks like Adobe still has an issue with any version of the jdk above 1.6. See Bug Report #3759721.

Download and install the dmg file on this page for the time being: Java for OS X 2013-005

like image 164
jk. Avatar answered Oct 23 '22 23:10

jk.