which JDK version required for javapns 2.1?

410 Views Asked by At

I want to send push notification to iphone for available new version of the application so I am using <a href='http://code.google.com/p/javapns/'>javapns 2.1</a>.

I tried this on my local computer and it is working fine but on the server it throws the java.lang.reflect.InvocationTargetException.

On the server and local machine the tomcat and the JDK is different so which version required for <a href='http://code.google.com/p/javapns/'>javapns 2.1</a>.

1

There are 1 best solutions below

0
On

JavaPNS requires Java 1.5. Since JavaPNS does not use reflection, the InvocationTargetException most likely comes from somewhere else. Could you post the entire stack trace, as well as the code that throws that exception?