question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

choosing Java 11 causes java.version to be set to 1.8 in pom.xml file

See original GitHub issue

I create a project and select Java 11 + maven, but the project gets <java.version>1.8</java.version> generated.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:1
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
wilkinsonacommented, Sep 6, 2019

I’ve opened https://github.com/spring-io/start.spring.io/issues/250 so that we can consider our options.

0reactions
asarkarcommented, Sep 6, 2019

@wilkinsona I think some sort of indication would be very helpful. Either the Java 8+ options could be disabled, or a pop up with the explanation you provided…anything but crickets.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Setting the Java Version in Maven - Baeldung
In this quick tutorial, we'll show how to set the Java version in Maven. Before moving on, we can check the default JDK...
Read more >
Java version automatically change to java 1.5 after maven ...
Open your pom.xml file and add the following lines on it: <properties> <maven.compiler.source>1.8</maven.compiler.source> ...
Read more >
How to force JDK 1.8 compliance in a Maven POM example
As soon as a new Maven build takes place, the JDK version reverts back to 1.5. The only way to make this a...
Read more >
Java version keeps getting reset to 1.5 when I change ...
Something is changing Java versions on me - from my selected 1.8 to 1.5. ... Project Settings -> Modules -> Sources and set...
Read more >
Heroku Java Support
You can specify a Java version by adding a file called system.properties to your application. Set a property java.runtime.version in the file:
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found