I have deleted the folder with the files of IntelliJ to make a fresh reinstall, if go to the new folder and run:
sh idea.sh
It works!
But if I try to run it from the sidebar (I don't know the proper name of it, nor if it is part of Nautilus of Unity, if someone could tell me I would be glad):
.. looks like there is still, somewhere a file, pointing to the old version.
How could I fix this?
That looks like it's showing you a Java file as part of the "document" search in Unity, which clicking on will try to use the default program associated with Java source files. You may want to see:
Intellij IDEA launching another icon at start
and
Update Launcher for Intellij IDEA in Ubuntu
For known issues with the IntelliJ
.desktop
launcher and Unity.Also take a look at how to create launchers yourself in Unity to run your
idea.sh
script:How can I edit/create new launcher items in Unity by hand?