• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

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

 
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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


 
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Pankaj Poshirkar
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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




 
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Greenhorn
Posts: 13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
What does a metric clock look like? I bet it is nothing like this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic