I have installed JDK8 from Oracle and IntelliJ using this tutorial; Good Intellij installation on ubuntu 15
I am on step #4 where I am supposed to "Start IntelliJ to configure and create a desktop entry". How do I start it?
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It only takes a minute to sign up.
Sign up to join this communityI have installed JDK8 from Oracle and IntelliJ using this tutorial; Good Intellij installation on ubuntu 15
I am on step #4 where I am supposed to "Start IntelliJ to configure and create a desktop entry". How do I start it?
go to the directory through the terminal where the installation files were extracted and
cd bin
./idea.sh
Add the bin folder to your path variable. Your path variable can be edited with sudo vi /etc/environment
.
As with all sudo commands, care should be taken. Think before you write and don't just copy what i wrote.
in /etc/environment
, you should see PATH="/usr/local/sbin:/usr/local/bin:[more path locations]"
in /etc/environment
, Add the following line after the lasth path, before the double quote that ends the variable:
:/path/to/intelliJ/bin/folder
.
In the case of the linked guide you would have to add: :/opt/idea-IC/bin
.
Then you have to log out (or reboot) for the changes you made to take effect. Afterwards you should be able to start intelliJ by running the command idea.sh
PATH
environment variable? What's the adavantage or difference compared to a direct invocation?
Nov 11, 2017 at 17:56
Go to the in the idea-ic extracted folder idea/bin(using cd command like cd /idea/bin) and then run the command:
To run in the background: ./idea.sh & (with the if you close the terminal then IntelliJ still run )
To run without background: ./idea.sh (with the if you close the terminal then IntelliJ also exit )
for your question, I will tell you how to install IntelliJ step by step which I followed.
first download
https://www.jetbrains.com/idea/download/#section=linux this is for Linux version
Then Extract .gz file
sudo tar -xzf {package name}.tar.gz -C /opt
make sure to add your package name
x: This tells tar to extract the files.
v: This option will list all of the files one by one in the archive. The “v” stands for “verbose.”
f: This option tells tar that you are going to give it a file name to work with.
cd ./{package name}/bin
./idea.sh
There also other ways to install IntelliJ follow https://www.jetbrains.com/help/idea/installation-guide.html
bin
folder in which you will find a.sh
script you can run to start it.