I am trying to install the ODK Aggregator. I have set up the Google App
Engine. I downloaded the ODK Aggregate v1.N.N. Every time I run it I get
the same error message (see attached picture):
Error running osascript...cannot be used with the current OS because it has
no OSAXHandlers entry in its Info.plist.
uploadAggregateToAppEnginge.app: execution error: Exception in thread "main"
java.lang.UnsupportedClassVersionError:
org/opendatakit/appengine/updater/UpdaterWindow:
Unsupported major.minor version 51.0
I am using a Mac OS X El Capitan version 10.11.4, and Java 8.0
The error implies that you don't have Java 7 installed. I realize that you
mention you have Java 8 installed, but you may want to take a look at the
post below as there still could be PATH issues.
I am trying to install the ODK Aggregator. I have set up the Google App
Engine. I downloaded the ODK Aggregate v1.N.N. Every time I run it I get
the same error message (see attached picture):
Error running osascript...cannot be used with the current OS because it
has no OSAXHandlers entry in its Info.plist.
uploadAggregateToAppEnginge.app: execution error: Exception in thread
"main"
java.lang.UnsupportedClassVersionError:
org/opendatakit/appengine/updater/UpdaterWindow:
Unsupported major.minor version 51.0
I am using a Mac OS X El Capitan version 10.11.4, and Java 8.0
Thanks for the Link. I installed Java 7 and unfortunately I am still obtaining the same error. I looked at the conversations that mentioned that there might be a problem with the PATH but have not found any solution.
If you open a terminal window and type "java -version", what version do you
see? You should see something like the following.
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)
If your java version is a variant of 1.8, then you should set your
JAVA_HOME environment variable. In particular, you will want to open a
terminal window and type the following.
Thanks for the Link. I installed Java 7 and unfortunately I am still
obtaining the same error. I looked at the conversations that mentioned that
there might be a problem with the PATH but have not found any solution.
Hello. I'm having the same problem. OS Sierra. When I type in the java version into a terminal window it says 'java version "1.6.0_65"'. In the System Preferences, however, it says "build 1.8.0_131-b11".
Could this be the reason mine is stalling out during the Upload?
If you are seeing an error about an unsupported major.minor version, then it's generally because the Aggregate installer is using the wrong version of Java. And in your case, it sounds like you've got both Java 1.6 and Java 1.8 installed.
Here's what I'd recommend. In your terminal, run /usr/libexec/java_home -V to see what versions of Java you have installed.
If you don't need Java 1.6 (you probably don't), you can uninstall Java 1.6.