• 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
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

eclipse environment issue

 
Ranch Hand
Posts: 238
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,

I created one dynamic webproject (say testweb) to run a sample jsf application got error like error like need jdk1.6 etc while compiling itseld.
step1: I went to eclipse windows preferances -->general--->java--->compiler-->compiler compliance level i gave as 1.6 in the drop down.

But still it used give error like need jdk1.6 etc.

step2: When i went testweb project right clicked and properties-->java compiler-->java compilance level to 1.6 from 1.5 then it fixed the error.

My question is when i did step1 i thought it will set jdk to all projects globally but it did not unless and until I did step2 specifically for this individual project. I am bit confused. Can you please advise. any ideas, sample code, resources, highly appreciated. thanks in advance
 
Marshal
Posts: 80271
430
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That would sit better on our IDEs forum. Moving.
 
author
Posts: 5856
7
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Step 1 sets the default JDK which is used for new projects - it does not update the JDK used for existing projects.
 
That's my roommate. He's kinda weird, but he always pays his half of the rent. And he gave me this tiny ad:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic