Skip to main content
15 events
when toggle format what by license comment
Feb 10, 2023 at 15:10 answer added Ahmet Özdemir timeline score: 0
Apr 8, 2021 at 13:33 answer added Christian Wilkie timeline score: 0
Jun 10, 2019 at 23:12 answer added Marko Markovic timeline score: 1
Sep 13, 2018 at 15:12 vote accept Marcus Ilgner
Sep 13, 2018 at 15:03 answer added razvang timeline score: 7
Jun 13, 2017 at 10:36 answer added Jilles van Gurp timeline score: 9
Jun 6, 2017 at 12:22 comment added Jilles van Gurp I just ran into this as well with 2017.1.3 My gradle project is definitely set to JDK 8 and it was even suggesting OptionalDouble and other classes from the same package. But it kept autocorrecting to the guava version of Optional and removing any manually added import for java.util.Optional. I fixed it by exiting, gradle cleaning, killing the IDE, editing the file manually outside of intellij, and then restarting intellij. The problem finally went away. It looks to me that the autocomplete data can get in a weird state sometimes.
Jun 2, 2016 at 10:00 answer added Shay Tsadok timeline score: 2
Sep 21, 2015 at 9:35 comment added Marcus Ilgner JDK is 1.8 and language level is 8, too. Recently it became even weirder in that even more classes could not be found but the project compiles, runs and debugs from within IDEA just fine but most code completion and lots of tooling doesn't work anymore :( It's a Maven-based project btw, I tried deleting and re-importing it but that didn't help.
Sep 20, 2015 at 16:30 comment added asm0dey What is your project SDK selected and what is your language level?
Dec 18, 2014 at 19:19 comment added mkobit Are you sure the Project SDK that is selected points to JDK 8, and that your modules Language level is also using the correct JDK?
Aug 8, 2014 at 17:32 comment added PM 77-1 Is your IntellJ version fairly recent? At least 13.1.x?
Aug 8, 2014 at 14:54 comment added Marcus Ilgner I am on Linux. Currently there's only one JRE/JDK installed on my system and it says "Java(TM) SE Runtime Environment (build 1.8.0_11-b12)"
Aug 8, 2014 at 14:21 comment added Konstantin If you are on Windows, is your environment variables properly setup? Can you double check which version of Java is being used to compile the project?
Aug 8, 2014 at 14:18 history asked Marcus Ilgner CC BY-SA 3.0