- This topic has 3 replies, 2 voices, and was last updated 11 years ago by
support-swapna.
-
AuthorPosts
-
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?
support-swapnaModeratoryaniv_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.
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
support-swapnaModeratoryaniv_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 ?
-
AuthorPosts