How to increase the memory heap size on IntelliJ IDEA?

Use Help | Edit Custom VM Options… An editor will open automatically for the right .vmoptions file, adjust the value of -Xmx, save and restart IntelliJ IDEA: Check these documents from IntelliJ IDEA knowledge base for more details: Configuring JVM options and platform properties The JVM could not be started. The main method may have … Read more

JSP debugging in IntelliJ IDEA

For JSP debugging in Intellij there are some configurations that must be in order. The fact that Intellij always allows you to add a breakpoint on a JSP line does not necessarily imply that you’ve configured JSP debugging. In the following I refer to Intellij 8 configuration, w.r.t. previous versions you will need to do … Read more

Could not install Gradle distribution from ‘https://services.gradle.org/distributions/gradle-2.1-all.zip’

It could be that the gradle-2.1 distribution specified by the wrapper was not downloaded properly. This was the root cause of the same problem in my environment. Look into this directory: ls -l ~/.gradle/wrapper/dists/ In there you should find a gradle-2.1 folder. Delete it like so: rm -rf ~/.gradle/wrapper/dists/gradle-2.1-bin/ Restart IntelliJ, after that it will … Read more

How to create a test directory in Intellij 13?

You should have structure like this one: [] .idea [] src [] main [] java com.simpleproject SimpleClass.java [] resources [] test [] java com.simpleproject SimpleClassTest.java [] resources After that go to: File->Project Structure->Modules and in “Sources” tab you can choose which folder is “test folder” (usually java in test), which “sources” (usually java in main) … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)