Solve Intellij Idea “Finished, saving caches” latency

Just include the following line in your /etc/hosts file:

127.0.0.1       localhost     <your hostname goes here>.local

And for IPv6 resolving, the same:

::1             localhost     <your hostname goes here>.local

Sources:

https://stackoverflow.com/questions/20658400/intellij-idea-hangs-while-finished-saving-caches
https://stackoverflow.com/questions/30625785/intellij-freezes-for-about-30-seconds-before-debugging
https://youtrack.jetbrains.com/issue/IDEA-157303

Run Vert.x app from intellij

To run Vert.x on intelliJ, it is only required to create a standard application Launcher with the following parameters:

  • Main class: the vert.x main class, i.e. io.vertx.core.Starter or whatever it is for your version.
  • VM options: whatever you need or empty
  • Program arguments: run de.lacambra.vertx.MyFirstVerticle
  • Working directory: normally your project directory