aspose file tools*
The moose likes Websphere and the fly likes Project facet Java 6.0 is not supported by target runtime WebSphere Application Server v6.1. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Websphere
Bookmark "Project facet Java 6.0 is not supported by target runtime WebSphere Application Server v6.1. " Watch "Project facet Java 6.0 is not supported by target runtime WebSphere Application Server v6.1. " New topic
Author

Project facet Java 6.0 is not supported by target runtime WebSphere Application Server v6.1.

Pankaj Poshirkar
Ranch Hand

Joined: Dec 31, 2009
Posts: 53
Dear All,

I am using RAD 7 and I am being shown the following error: Project facet Java 6.0 is not supported by target runtime WebSphere Application Server v6.1.

When I right-click on the erroneous project and select 'Targeted Runtimes' option, it shows no Runtimes in this window. And when I select the check box named 'Show all runtimes', it shows me the following DISABLED Runtimes:

WebSphere Application Server v5.1 Express stub
WebSphere Application Server v5.1 stub
WebSphere Application Server v6.0 stub
WebSphere Application Server v6.1

All the above options are DISABLED.

Can anyone help me in this. Its very urgent. I m not able to understand this as I m new to Eclipse.

Thanks in Advance,
Pankaj Poshirkar


Javish Kathuria
Greenhorn

Joined: Jan 01, 2010
Posts: 3
Hi Pankaj,

The problem you are facing is due to lower version of java being specified in your facet settings.

Probable Solution:
Goto project properties -> Select Project Facets -> Check the Java version, if it is other than java 5.0 then click on Add/Remove Project Facets.
A new pop-up will open select "Facets Project" from the configurations dropdown.
Now you will see a Project Facet named "Java". select the checkbox and change the version to 5.0 and click finish.
Clean build your workspace.

Hope the above solution works for you. All the best.

Cheers
Javish


Cheers
Javish
Pankaj Poshirkar
Ranch Hand

Joined: Dec 31, 2009
Posts: 53
Dear Javish,

Thanks for your reply. But the Java version specified in the project facet is not lower; it is 6.0. Please find the screenshot attached.

But when I go to 'Add/Remove Project Facets', the 'Java' version mentioned there is 5.0 which is confusing again.
Also, the checkbox of 'Java' is selected and this message appears at the bottom in RED color: 'Java 6.0 cannot be uninstalled.'
And Next and Finish buttons are all disabled.

Can you please help?


Thanks,
Pankaj




David Hilton
Greenhorn

Joined: Feb 24, 2010
Posts: 1
I had a similar problem with Weblogic 9.2 on Eclipse Galileo (the budnled one from Oracle)

The problem is the weblogic server does not support JDK6.

First I had to ensure theat JDK5 was the default; Help/Preferences/Java/Installed JREs - I installed the JDK with weblogic and made it the default.

Then for each project that contributed to my EAR (I had a standard Java Project and a Dynamic Web Project as well as the Enterprise Archive Project)

Right Click each project root in the Proect Explorer

Properties / Java Compiler / Compiler Compliance Level - set to JDK1.5
Properties / Project Facets / Java - set to JDK1.5 (5.0)

Worked for me, might help you or anyone else that journeys here.

Regards
Dave
Tanmoy Palodhi
Greenhorn

Joined: May 21, 2007
Posts: 13
This has worked for me:
Goto project properties -> Select Project Facets -> Check the Java version, if it is other than java 5.0 then click on Add/Remove Project Facets.


Thanks.
 
Consider Paul's rocket mass heater.
 
subject: Project facet Java 6.0 is not supported by target runtime WebSphere Application Server v6.1.