Skip to main content



      Home
Home » Language IDEs » Java Development Tools (JDT) » build on one JDK (say OpenJDK) , and deploy to run on another JDK ((JDK Build deployment)
build on one JDK (say OpenJDK) , and deploy to run on another JDK ( [message #1803782] Sat, 09 March 2019 07:48 Go to next message
Eclipse UserFriend
Hello -

Can I build on one JDK (say OpenJDK) , and deploy to run on another JDK (say on IBM Websphere JDK) ?

Looking for Subject matter experts to chime in, Why this might or might not be a good idea.

Thanks
Re: build on one JDK (say OpenJDK) , and deploy to run on another JDK ( [message #1803941 is a reply to message #1803782] Wed, 13 March 2019 23:20 Go to previous message
Eclipse UserFriend
The Java APIs should all be the same across all JDKs vendor/variants, and because the APIs are generally binary compatible, it's quite common to build say against Java 5 and to run on Java 8, or to build against Java 8 and to run on Java 11; the other way around is of course not a great idea because you might (accidentally) use Java APIs only available in Java 8 that will fail to run on Java 5 because of course things would be missing. But in any case, the vendor providing the Java libraries should not generally be a problem and of course Eclipse itself is built again one specific JDK version but runs on all JDKs of that version of higher, regardless of the JDK vendor.
Previous Topic:Jar Launcher Won't Launch Eclipse's Runnable Jar
Next Topic:can not highlight all occurrence of a variable in javascript file in new version of eclipse
Goto Forum:
  


Current Time: Tue Jul 15 01:54:50 EDT 2025

Powered by FUDForum. Page generated in 0.40725 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top