0

Do you guys know of an alternative that works with Sun Jvm? We cannot use Open Jdk so I am look for an alternative NPN library that can work with Sun Jvm.

Rag
  • 1,363
  • 4
  • 19
  • 36

2 Answers2

1

Oracle's JVM is heavily based on OpenJDK. Have you actually tried and it did not work ?

sbordet
  • 16,856
  • 1
  • 50
  • 45
  • I have not tried. Jetty `NPN` stipulates to use different `NPN` jars for different versions of `OpenJdk`. Also the point being, we cannot use this solution as it requires replacing `ssl` implementation by placing the new jar in `boot path` (shadowing ssl implementation in rt.jar). this creates hassle for deployment and for other developers. it is nicer always if `NPN` library as be bundled in a jar with the application itself. – Rag Mar 06 '13 at 22:14
  • @Rag your question above, and your comment here are different. Yes NPN works with Sun & Oracle JVMs and both standard and OpenJDK implementations. Which sbordet hinted at. However, what you want is to not use the boot classpath to use the NPN. You will still need to use the boot classpath, but you can design your app in layers to have a bootstrap main() which forks a new JVM with the proper boot classpath you want. – Joakim Erdfelt Mar 20 '13 at 13:54
0

Rag, I'm actually using the official oracle jdk with the npn jar. Unfortunately it has to be in the boot classpath and there's no other way of doing it.

Thomas Becker
  • 934
  • 8
  • 16