Where is com.sun.net.ssl.internal.ssl.Provider in 1.4.2_13?

I have an application that makes use of the com.sun.net.ssl.internal.ssl.Provider class in JSSE for SSL communication. This application compiles and runs just fine under _05 and _09 versions of the JDK./JRE. However, after installing the _13 version of the JDK, this class can no longer be found in the classpath. I've read that these classes were also promoted to javax.net.ssl.*, but I can't import that namespace with my current classpath. I am using Eclipse 3.2, and have configured version _13 as an installed JRE. When I use the _05 version as the active JRE everything is just fine. When I use the _13 version as the active JRE I get a class not found error for the specified class.

Sounds like just a just classpath problem to me, but I don't know why Eclipse wouldn't have picked up all the available JARs for the _13 JRE. Any ideas what's going on?

Message was edited by:

lje

[917 byte] By [ljea] at [2007-11-26 20:47:26]
# 1

> I have an application that makes use of the

> com.sun.net.ssl.internal.ssl.Provider class in JSSE

> for SSL communication.

From JDK 1.4.0 onwards you have no need to specify the SSL provider, it's already built into the JDK.

> This application compiles and

> runs just fine under _05 and _09 versions of the

> JDK./JRE. However, after installing the _13 version

> of the JDK, this class can no longer be found in the

> classpath.

Just remove any code that references it.

> I've read that these classes were also

> promoted to javax.net.ssl.*,

Not that one, but it might have been moved. But I think you have a larger problem:

> but I can't import that namespace with my current classpath.

javax.net.ssl is part of the JRE from 1.4.0 onwards. If you can't import it there is something seriously wrong with your installation.

ejpa at 2007-7-10 2:10:15 > top of Java-index,Security,Java Secure Socket Extension (JSSE)...