Login  Register

Re: Plugin problem on Macs

Posted by Unruh, Jay on Oct 02, 2008; 2:21pm
URL: http://imagej.273.s1.nabble.com/Plugin-problem-on-Macs-tp3694877p3694883.html

Jon,

I have experienced this problem when I create a jar file with eclipse or the java jar tool on a windows machine and then try to use it on the mac machine.   The only workaround I have found is to recompile the jar on a mac.  Then it can be used on both windows and mac.  I would be very interested to hear a more complete solution to this problem.

Jay Unruh
Stowers Institute for Medical Research

-----Original Message-----
From: ImageJ Interest Group [mailto:[hidden email]] On Behalf Of Jon Harman
Sent: Thursday, October 02, 2008 9:08 AM
To: [hidden email]
Subject: Plugin problem on Macs

Hi,
I received the following email from someone using a plugin I wrote.  Can anyone help me figure out the cause of the problem?

Jon


Working perfectly on Win XP SP2 on a Dell computer but doesn't working on Mac PPC.

Here is the two apple machine i use to test the plugin with ImageJ:

Apple G4 2x867 Mhz 1,5Gb Ram OS: Mac os x 10.3.9 Apple G5 2x2 Ghz 3 Gb Ram OS: Mac os x 10.3.9

On both machines i have the following error message in imageJ:

java.lang.UnsupportedClassVersionError: DStretch_ (Unsupported major.minor version 49.0)
     at java.lang.ClassLoader.defineClass0(Native Method)
     at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
     at java.lang.ClassLoader.defineClass(ClassLoader.java:448)
     at ij.io.PluginClassLoader.loadClass(PluginClassLoader.java:246)
     at ij.io.PluginClassLoader.loadClass(PluginClassLoader.java:209)
     at ij.IJ.runUserPlugIn(IJ.java:156)
     at ij.IJ.runPlugIn(IJ.java:124)
     at ij.Executer.runCommand(Executer.java:104)
     at ij.Executer.run(Executer.java:58)
     at java.lang.Thread.run(Thread.java:552)

I have the latest java update downloaded directly from "apple software updates"

Do i have the right Mac Os X? Do i need Tiger (10.4) or Leopard (10.5) ?