Unable to resolve Map in Intellij 11 JDK8 - intellij-idea

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

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.

Related

how to solve javax.xml.namespace is accessible from more than one module with jdk11

I have updated my java project from jdk8 to jdk 11 and I face the following error:
javax.xml.namespace is accessible from more than one module

WSO2 Developer Studio Nullpointer exception

I am using WSO2 Developer Studio latest version 3.8.0 on Mac OS High Sierra. Each time when I drag and drop element from the tool pallet into the design workspace, It shows Null pointer exception. Also canvas title is not visible. Here below I attached a screenshot. So much appreciate your help.
Nullpointer exception
I also face similar issue since I install both Oracle JDK 8 and JDK 10. Eclipse take latest JDK 10 version, but application does not support Java 10. To select Java version to use, I added following line into the /Applications/Eclipse.app/Contents/Eclipse/eclipse.ini file. Then it work fine.
-vm
/Library/Java/JavaVirtualMachines/jdk1.8.0_171.jdk/Contents/Home/bin
If you are using Java 10 then you can remove it and install Java 8 or you can use both version and update eclipse.ini file to point JDK 8 version.
Hope this will be helpful.

How to resolve invalid source release error in intellij

I am using Intellij and I am trying to run a simple hello world android application. But i get the following error.
Error:java: invalid source release: 8
What could be the problem, any help?
Thanks in advance!
Android only supports java 7 so I assume that somewhere in your gradle/Intellij settings java 8 as source version is set. See this answer for more information: Which JDK version (Language Level) is required for Android Studio?

Wildfly in intelliJ 12.1

Is there a way I can configure Wildfly 8 in IntelliJ 12.1? I'm getting this error message:
I've tried with IntelliJ IDEA 13 and it works as listed at:
http://planet.jboss.org/post/intellij_idea_13_java_ee_7_and_wildfly_tech_tip_4
You may have to update the version of IntelliJ.
Also check out a screencast at: http://blog.arungupta.me/2014/04/wildfly8-and-intellij-idea-screencast/

Intellij IDEA: Unable to compile java code

Whenever I try to compile/run a java code I get the following.
Compilation completed with 1 error and 0 warnings in 2 sec
1 error
0 warnings
java: Cannot find JDK '1.6' for module 'balh' <= ERROR
The SDK path is set and selected in "Project SDK"
I'm using IDEA 12 on RHEL 6.2
Thanks.
Ensure that your dependencies include Java 1.6 in that specific module.
Here, my module SDK is Java 1.7, but it's the same idea - if Java 1.6 doesn't appear or isn't available, either use the project SDK or find it on your box using the "New" dialog.