• 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

what kind of plug-in or how to make Eclpipse not change the IDE JRE to 1.5 whenever Maven updates

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

I realised everytime I did a update in Maven, the JRE will change back to 1.5.

Is there a way to fixed this things from Eclipse IDE that it will not change whenever I do install, or update from Maven?

Tks
 
Saloon Keeper
Posts: 15524
364
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What do you mean by an "update in Maven"?
 
Saloon Keeper
Posts: 27798
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Your Maven POM should explicitly indicate the source and target language versions. Otherwise the default will be taken and it's generally pretty old. For a long time I think it was 1.3, in fact.

Eclipse itself uses the JDK indicated in the project file for interactive work (that is, normal editing, not Maven builds), along with its selected language levels. There is a default JDK that Eclipse will use (based on what was on your machine when you installed Eclipse) if you don't install and point to some other JDK. If the project is old, you may need to manually upgrade its settings.
 
He's dead Jim. Grab his tricorder. I'll get his wallet and this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic