0

intellij 11 problem with Java JDK8 unable to resolve Map and other class like Array

Intellij 11 unable to resolve the some classes including Map, Array etc

I am using jdk1.8.0_25 with intellij 11

intellij 11 problem with Java JDK8 unable to resolve Map unable to resolve Map

Sohaib Ali
  • 43
  • 3
  • 1
    Of course, a decompiler not updated to support Java 8 features, will stumble across Java 8 features. But I don’t get why you need to decompile classes for which the source code is supplied with the JDK… – Holger Dec 11 '14 at 11:01
  • i dont want to decompile these classes intellij 11 Map class is resolvable but compile successfully but i am facing problem in development because of this issue intellij intelligence not working – Sohaib Ali Dec 11 '14 at 11:06
  • In that case, [it’s even easier](http://stackoverflow.com/a/26105217/2711488). Just update IntelliJ to a version which support Java 8. – Holger Dec 11 '14 at 13:06
  • Who downvoted this question? It actually helped me figure out the issue with a colleague who was having this problem. He had the ancient version of intelliJ. – Kevin Pauli Feb 08 '17 at 22:29

1 Answers1

1

You need to upgrade to a compatible version of IntelliJ that supports Java 8. There was support released in IntelliJ 12.

What's New in IntelliJ IDEA 12? And 12.1…

Java 8

Complete IDE support for the next generation of the Java platform, with code assistance for the new syntax, such as lambda expressions, method references, default methods and type annotations.

And support was improved in IntelliJ 13

What's New in IntelliJ IDEA 13?

Java 8

Support for Java 8 has been improved according to the latest updates.

mkobit
  • 43,979
  • 12
  • 156
  • 150