|
Hi John,
On Mon, 9 Apr 2012, John Soong wrote:
> I'm working on a plugin that works with RXTX (to send messages to a serial
> port) but on 1.46 it complains about a major-minor version 51.0 not
> supported.
The problem is not ImageJ, but a version mismatch between the JDK* with
which the classes were compiled and the JRE^ which is supposed to run them.
As long as your JRE is *newer* than the JDK, there is not the slightest
problem.
In your case, I suspect that you compile the classes with an IDE such as
Eclipse or Netbeans and that you did not change the JDK to 1.6 but left it
at 1.7 (AKA Java7).
Two possible solutions: switch the IDE to a lower JDK, or run ImageJ with
a newer JRE.
Hth,
Johannes
* JDK = Java Development Kit (includes a JRE^)
^ JRE = Java Runtime Environment
|