What version of Java is supported for Java callouts?

scase
Participant III

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 Solved
1 3 630
1 ACCEPTED SOLUTION

scase
Participant III

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 ... ... ...

View solution in original post

3 REPLIES 3

scase
Participant III

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 ... ... ...

Java 7 is required.