Search code examples
eclipseweblogic12c

Java Development Kit (JDK) is required rather than a JRE . creating welogic server


i am creating weblogic server in eclipse to deploy web dynamic project but i am facing problem "Java Development Kit (JDK) is required rather than a JRE" creating weblogic server in eclipse


Solution

  • A JDK contains the javac compiler and other tools that a JRE doesn't contain. Maybe weblogic needs them. You can download the JDK from http://www.oracle.com/technetwork/java/javase/downloads/index.html Make sure you pick a version compatible with your weblogic server. After installation, in Eclipse, open Preferences > Java > Installed JREs and add it (and maybe choose it as default). It maybe necessary to choose it in Preferences > Java > Installed JREs > Execution Environments in the Execution Environment you use in you project, or directly in you project, or maybe in the run configuration you use.