• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: ImageIO Native Java 1.6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ImageIO Native Java 1.6


  • Subject: Re: ImageIO Native Java 1.6
  • From: Johnny Miller <email@hidden>
  • Date: Tue, 02 Apr 2013 09:25:27 -1000

Thanks for the advice guys.  Although, I'd really like to get the native going...

The error I'm seeing is a com.webobjects.foundation.NSForwardException [java.lang.NoClassDefFoundError] Could not initialize class er.attachment.thumbnail.ImageIOImageProcessor:java.lang.NoClassDefFoundError: 

I made a simple class that prints out the java class path from the command line and I see that /Library/Java/Extensions is in there.  But... getting WebObjects to use Java 1.6 was kind of a hack to begin with.  I had to create the file /etc/launchd.conf which contains these two lines:

setenv JAVA_VERSION 1.6
setenv JAVA_HOME /System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home

Philippe Rabier pointed me to this solution a few months back -> http://stackoverflow.com/questions/135688/setting-environment-variables-in-os-x

Do you think I also need to add a Java class path variable to this file?  If so does anyone know what the variable would be?

Thanks,

Johnny
Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: ImageIO Native Java 1.6 / Small Progress
      • From: Johnny Miller <email@hidden>
References: 
 >ImageIO Native Java 1.6 (From: Johnny Miller <email@hidden>)
 >Re: ImageIO Native Java 1.6 (From: Kieran Kelleher <email@hidden>)
 >Re: ImageIO Native Java 1.6 (From: Þór Sigurðsson <email@hidden>)
 >Re: ImageIO Native Java 1.6 (From: Kieran Kelleher <email@hidden>)
 >Re: ImageIO Native Java 1.6 (From: Þór Sigurðsson <email@hidden>)
 >Re: ImageIO Native Java 1.6 (From: Tim Worman <email@hidden>)
 >Re: ImageIO Native Java 1.6 (From: Ramsey Gurley <email@hidden>)
 >Re: ImageIO Native Java 1.6 (From: Tim Worman <email@hidden>)
 >Re: ImageIO Native Java 1.6 (From: Ramsey Gurley <email@hidden>)

  • Prev by Date: Re: ImageIO Native Java 1.6
  • Next by Date: Re: ImageIO Native Java 1.6 / Small Progress
  • Previous by thread: Re: ImageIO Native Java 1.6
  • Next by thread: Re: ImageIO Native Java 1.6 / Small Progress
  • Index(es):
    • Date
    • Thread