Currently, I have IntelliJ IDEA 2016.3 installed in my Ubuntu 16.04 for Java programming. I have installed it through the IntelliJ website and not the ppa
. Upon launching it, I get an update available
notification on bottom right corner and upon clicking update
, it opens the IntelliJ IDEA webpage for downloading the latest IDE tar file. I know that in order to install it, I need to download the tar file, untar it inusr/local
, and run idea.sh from the bin folder. Even after doing that, when I search for IntelliJ in the Unity Dash, I see the icon for the old 2016.3 version and upon clicking it, it opens the same old version.
So my question is, how can I update the entire existing IntelliJ platform and see it as the result upon search in the Unity Dash? Can I update it in the same way in which I can update the existing plug-ins and see them in effect upon restarting IntelliJ?
Open the Toolbox App and click the Toolbox App menu icon in the top right corner. In the Toolbox App Settings dialog, expand Tools and select Update all tools automatically.
Windows: %LOCALAPPDATA%\JetBrains\Toolbox\apps. macOS: ~/Library/Application Support/JetBrains/Toolbox/apps. Linux: ~/. local/share/JetBrains/Toolbox/apps.
Open the Apps & Features section in the Windows Settings dialog, select the IntelliJ IDEA app and click Uninstall. Depending on your version of Windows, the procedure for uninstalling programs may be different. You can also manually run Uninstall.exe in the installation directory under /bin.
I recommend using Toolbox App for the seamless automatic updates.
If you have upgraded manually, use the Tools
| Create Command-line Launcher and Create Desktop Entry to update the old ones.
I also suggest to use ToolBox but in case it is not an option, I just upgraded from IntelliJ 173 to 181 in Ubuntu 16.04 manually and I did it like this.
sudo tar -zxf ideaIU-2018.1.tar.gz -C /opt
cd /opt/idea-IU-181.4203.550/bin
then ./idea.sh
and follow the instructions (select the option to import your settings from your previous Idea's version).At this moment you have two versions installed but you run the old one when clicking on the Idea icon from the launcher. The problem is that the file (with extension .desktop) that sets up the launcher's icon still points to your old version. You can change that.
The desktop file may be in ~/.local/share/application or /usr/share/applications. Mine was in ~/.local/share/application and its name was jetbrains-idea.desktop.
Edit jetbrains-idea.desktop file with your favorite editor and change the values that need to be changed. In my case I only had to change the values of "Icon" and "Exec" properties. Check the real path from your IntelliJ's installation folder (what we did in point 2 above). Example below of my modified .desktop file:
[Desktop Entry]
Version=1.0
Type=Application
Name=IntelliJ IDEA Ultimate Edition
Icon=/opt/idea-IU-181.4203.550/bin/idea.png
Exec="/opt/idea-IU-181.4203.550/bin/idea.sh" %f
Comment=The Drive to Develop
Categories=Development;IDE;
Terminal=false
StartupWMClass=jetbrains-idea
Save the file and check that its syntax with the command desktop-file-validate pathOfYour.desktopFile
(no output means all is fine).
Update your system with the latest changes for .desktop files: sudo update-desktop-database
.
Check that the icon from the launcher now launches the new version of IntelliJ. If it does not, log off and log on from Ubuntu. That should do.
You can delete the directory of your previous IntelliJ's version + its hidden directory in your home folder.
You may want to update the values of the executable file /usr/local/bin/idea (if it exists) to point to your new version.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With