Re: Plugin problem on Macs
Posted by
Wayne Rasband on
Oct 02, 2008; 2:28pm
URL: http://imagej.273.s1.nabble.com/Plugin-problem-on-Macs-tp3694877p3694882.html
On Oct 2, 2008, at 10:07 AM, Jon Harman wrote:
> Hi,
> I received the following email from someone using a plugin I wrote.
> Can anyone help me figure out the cause of the problem?
The Mac user is running Java 1.4.2 and the plugin requires Java 1.5 or
later. The easiest solution is to have the Mac user compile the plugin
using the Plugins>Compile and Run command. Another solution would be to
compile the plugin from the command line using the
-source 1.4 -target 1.4
javac compiler options. The latest version of Java available on Mac OS
X 10.3 is Java 1.4.2. The latest version available on Mac OS X 10.4
(Tiger ) is Java 1.5. Java 1.6 is only available on Mac OS X 10.5
(Leopard).
-wayne
> 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)
> ?
>