powered by Jive Software


Hello All

platform: Windows2k

java version: jdk1.3.1_06

I have created an enviroment variable called JAVA_HOME which points to C:\jdk1.3.1_06. When I try to run the ant.bat file I get several compile errors. The first one is, " package javax.net.ssl does not exist"




Yep, you’‘ve run into a known problem with trying to build on JDK 1.2 or 1.3. You’'ll need to download the Java SSL package (JSSE) at:


You’'d need to modify the ANT build process to include the SSE JAR. Another option is to just use JDK 1.4 for compiling. In any case, this problem will be fixed for the next Smack beta.



I got the jsse package from sun but i’'m still getting errors:

SSLXMPPConnection.java:156: cannot resolve symbol

symbol : class X509TrustManager

location: class org.jivesoftware.smack.SSLXMPPConnection.DummyTrustManager

private static class DummyTrustManager implements X509TrustManager {

Am I doing something wrong?

So, it turns out that there were a number of things that wouldn’'t compile under anything earlier than JDK 1.4. These issues have been fixed for the upcoming beta 2 release. Until then, you should either compile under JDK 1.4 or just use the pre-build binary.



Thanks Matt

I started using JDK1.4 and all is well.