facebook

ME 2014 Target Runtime WAS 8.5 with JDK 1.7

  1. MyEclipse IDE
  2.  > 
  3. WebSphere Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #347317 Reply

    Bili Peles
    Participant

    Hi
    We work with MyEclipse 2014 and WAS 8.5.5 with JDK 1.7
    When I try to create new Web Project with Java version 1.7 I cannot select Websphere 8.5 as Target Runtime. It’s look like WAS 8.5 with JDK 1.6 is the only option for ME 2014.
    Is it any way to select WAS 8.5 with JDK 1.7 as Target Runtime?

    #347337 Reply

    support-swapna
    Moderator

    yaniv_illouz,

    WAS 8.5 only supports JDK 1.6.

    To add support for JDK 1.7, you should install JDK 1.7 in java folder of WAS installation. Make sure the WAS installation is using the JDK 1.7.

    You might check the same with these steps :

    Start the server, open admin console and set the 1.7 SDK as default(Server > WebSphere application servers > server > Server Infrastructure > Java SDKs > select the 1.7 version, save, apply and restart server)

    Once verified you need to manually change the location of “Websphere 8.5 JDK” under Window/ Prefs/Java/Installed JREs to point to WAS 8.5 Java 1.7 JDK. By default it points to Java 1.6 JDK. Restart the IDE and see if you can get it working.

    Let us know how it works for you.

    #347669 Reply

    Bili Peles
    Participant

    Hello
    I did all steps that you proposed.
    My Websphere 8.5.5 default SDK is 1.7
    I can create web or ejb project with Compiler compliance level 1.7 and Project facets Java 1.7
    This project works in my Websphere 8.5
    But still when in the project properties MyEclipse>Targeted Runtimes I try to select
    Websphere 8.5 I can not do it. I don’t see Websphere 8.5 as option for selection

    #347708 Reply

    support-swapna
    Moderator

    yaniv_illouz,

    Sorry that you are still seeing issues. I could see the WAS 8.5 listed under Target Runtime for a web project of version JavaEE 1.6 and with java set to 1.7.

    Can you please recheck if the WAS 8.5 SDK under Window/ Prefs/Java/Installed JREs points to the JDK 1.7 which is installed in the WAS installation ?

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: ME 2014 Target Runtime WAS 8.5 with JDK 1.7

You must be logged in to post in the forum log in