Forum Stats

  • 3,826,761 Users
  • 2,260,705 Discussions
  • 7,897,072 Comments

Discussions

Can't select JDK 11 as Java Home for WebLogic 14

3746158
3746158 Member Posts: 4
edited Sep 11, 2020 1:46PM in Enterprise Pack for Eclipse

I have WebLogic 14 installed and running under a JDK 11.0.7.

The application we wish to deploy during development via the WebLogic Server Tools is being compiled using the same JDK and targeting Java 11.

However, when setting up the server in the server tools I'm unable to select the JDK 11 as the Java Home. There is a message that says:

     Java Development Kit (JDK) is required rather than a JRE

2020-05-13 14_01_00-workspace - Oracle WebLogic Server 14  (12.2.1.4) [base_domain] - Eclipse IDE.png

The full JDK is being used, it is not just a JRE. It will not let me select a JDK 11, I can select a JDK 8 home but because the application is compiled for JDK 11 it will not let me add the application to the server. I have checked the process list and although the server tools think it is using JDK WebLogic is actually running under JDK 11 but because the Eclipse Weblogic server tools 'thinks' it is JDK 8 I can't add the application to the server.

If I could select JDK as the java home for the server runtime I would expect it would let me add the application to the server.

Is OEPE going to support JDK 11 as WebLogic 14 is now released? Our company is looking to upgrade to WebLogic 14 but first we need to make sure our application can be developed while running under WebLogic 14.

Answers

  • dvohra21
    dvohra21 Member Posts: 14,576 Gold Crown
    edited May 23, 2020 10:54AM

    WebLogic 14c is mentioned in the post, but WebLogic 12c is shown in the image. WebLogic 12c doesn't support JDK 11, WebLogic 14c does.

  • user12079537
    user12079537 Member Posts: 2 Blue Ribbon
    edited Jun 9, 2020 2:59AM

    At the moment it looks like the only way to use OEPE for deployment is to pretend that you are deploying to a weblogic 12c server (as shown in the screenshot).

    But the problem still remains that JDK11 is not supported.

    Does anybody know the timeline for full weblogic 14c support in OEPE?

  • dvohra21
    dvohra21 Member Posts: 14,576 Gold Crown
    edited Jun 12, 2020 3:48PM

    Based on the Support Matrix weblogic 12c   doesn't support Java 11. Java 8 should be used. WLS 14c does support Java 11, but OEPE doesn't support WLS 14c.

  • -ASK-
    -ASK- Member Posts: 26 Blue Ribbon
    edited Sep 4, 2020 5:08AM

    Yes, Oracle has "forgotten" that their new weblogic release requires a new OEPE Plugin with JDK11 and JEE8 Support. You cannot create projects with this requirements, therefore weblogic 14 becomes unusable for this very common development features today.
    We have created a service requst SR 3-23571698861 : Availability of OEPE for Eclipse for Weblogic 14.1 more then one month ago.

    The first answer was ".. there is no official calendar as of yet for the mentioned features."

    So far, so good? We have 2020 and JEE8 standard was released in september 2017 and as paying customer we are not willing to keep us waiting.

    So we have escalated this and hope to get a useful answer asap.

    When we did'nt get this, we have to switch to another vendor with a complete development stack and faster adoption of upcoming standards, for example jakarta ee.

  • dvohra21
    dvohra21 Member Posts: 14,576 Gold Crown
    edited Sep 11, 2020 1:46PM

    Apache NetBeans 12 has Java EE 8 support.