File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Pankaj Poshirkar
Ranch Hand
Posts: 59
  • 0
  • Mark post as helpful
  • send pies
  • 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


 
Javish Kathuria
Greenhorn
Posts: 3
  • 0
  • Mark post as helpful
  • send pies
  • 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: 59
  • 0
  • Mark post as helpful
  • send pies
  • 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




 
David Hilton
Greenhorn
Posts: 1
  • 0
  • Mark post as helpful
  • send pies
  • 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
 
Tanmoy Palodhi
Greenhorn
Posts: 13
  • 0
  • Mark post as helpful
  • send pies
  • 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.
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic