Class javax.net.SocketFactory appeared in java 1.4. It might help if you
check your Bundle-RequiredExecutionEnvironment setting. If you have
just OSGi/Minimum-1.1 value there, this implies Java 1.3. Try specifying
required environment explicitly, e.g. :
Bundle-RequiredExecutionEnvironment: J2SE-1.4

Also, if you have both OSGi-requirement and JRE-requirement, the order
matters. E.g., if you have
Bundle-RequiredExecutionEnvironment: OSGi/Minimum-1.1, J2SE-1.4

in your manifest, this still means java 1.3, because OSGi-requirement goes
first. It should be:
Bundle-RequiredExecutionEnvironment: J2SE-1.4, OSGi/Minimum-1.1
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to