When trying to deploy a jar file to the gateway, I'm getting the error:
Error Deploying Revision 1 to dev
<class> : Unsupported major.minor version 52.0.
So, it would appear that I'm building the class files with a newer version of Java than is supported.
How is the suggested way to proceed? It's not allowing me to set the -target switch to specify a different compatible version.
Solved! Go to Solution.
Sorry if I asked too quickly. I was able to use the following to get it to work:
javac -source 1.7 -target 1.7 ... ... ...
Sorry if I asked too quickly. I was able to use the following to get it to work:
javac -source 1.7 -target 1.7 ... ... ...
For future reference: http://docs.apigee.com/api-services/reference/supported-software
Java 7 is required.