Установка IntelliJ IDEA в Windows
В статье рассказывается, как установить IntelliJ IDEA.
Установка JDK
Вначале необходимо установить JDK. Всё просто, но если есть вопросы, то подробно можно узнать в статье: Установка JDK в Windows.
Скачивание IntelliJ IDEA
Скачиваем там последнюю версию IntelliJ IDEA:

Выбираем именно Community версию:

Установка IntelliJ IDEA
Установка простая. Запускаем скаченный EXE файл:



Если у вас 32-битная операционная система, то и выбираем 32-битные компоненты:



Программа установилась. Запускаем её, не забыв перезагрузить компьютер.
Первоначальная настройка IntelliJ IDEA
При первом запуске спросит про импорт настроек с прежних установок данной программы. Если таковых не было, то говорите, что не хотите:

Выбираем тему редактора. Мне нравится светлая тема. А также плагины выбираем по умолчанию:

Создание нового приложения

Если вы у себя видите на месте SDK фразу No SDK в отличии от скриншота внизу, то нужно вначале будет выбрать SDK, которым будем компилировать приложения, через кнопку New. :

У меня JDK находится в папке C:\Program Files\Java\jdk-12.0.1 . Выбираем это месторасположение (у вас может быть другое), если JDK не определяется автоматически.
Говорим, что хотим создать приложение уже с готовым шаблоном (будет присутствовать метод Main ):

Выбираем название проекта, папку для размещения проекта (по своему усмотрению):

Возможно, что вас спросят создать новую папку под проект. Соглашайтесь:

Всё. Создался проект консольного приложения Java. Если наверху справа появится желтая надпись Attach annotations , как на скриншоте внизу, то щелкните по ней:

Запуск приложения
В методе main пропишем простейшую команду:
System.out.println("Hello, World!");


В консоли отобразился результат выполнения программы:

Дополнительные настройки
Настройки, описанные в данном разделе, опциональны, и можно их вообще не трогать.
Переходим в настройки приложения:

В разделе General я ставлю возможность увеличения шрифта колесиком мыши при нажатом Ctrl , а также устанавливаю правило, что при сохранении файла все лишние пробелы справа у всех строк будут удаляться:

Дополнительно
- IntelliJ IDEA Logo.svg by JetBrains / (2019-06-10)
- Установка
- IntelliJ IDEA
- JetBrains
- Java
В статье рассказывается, как установить IntelliJ IDEA.
В статье рассказывается, как установить IntelliJ IDEA.
Harrix
- GitHub User
- [email protected]
Write an awesome description for your new site here. You can edit this line in _config.yml. It will appear in your document head meta (for Google search results) and in your feed.xml site description.
Install IntelliJ IDEA
IntelliJ IDEA is a cross-platform IDE that provides consistent experience on the Windows, macOS, and Linux operating systems.
IntelliJ IDEA is available in the following editions:
- Community Edition is free and open-source, licensed under Apache 2.0. It provides all the basic features for JVM and Android development.
- IntelliJ IDEA Ultimate is commercial, distributed with a 30-day trial period. It provides additional tools and features for web and enterprise development. For pricing information, refer to Subscription options & Pricing.
For more information about the editions, refer to the comparison matrix.
System requirements
2 GB of free RAM
8 GB of total system RAM
Multi-core CPU. IntelliJ IDEA supports multithreading for different operations and processes making it faster the more CPU cores it can use.
SSD drive with at least 5 GB of free space
Officially released 64-bit versions of the following:
- Microsoft Windows 10 1809 or later Windows Server 2019 or later
- macOS 11.0 or later
- Any Linux distribution that supports Gnome, KDE , or Unity DE. IntelliJ IDEA is not available for the Linux distributions that do not include GLIBC 2.27 or later.
Pre-release versions are not supported.
Latest 64-bit version of Windows, macOS, or Linux (for example, Debian, Ubuntu, or RHEL)
You do not need to install Java to run IntelliJ IDEA because JetBrains Runtime is bundled with the IDE (based on JRE 17). However, to develop Java applications, a standalone JDK is required.
Older Linux distributions (before Ubuntu 18.04 and CentOS 8) don’t support the required JCEF version starting from IntelliJ IDEA version 2022.1. This means that components relying on the embedded browser will not work, for example, the Markdown HTML preview and the interactive debugger console.
Install using the Toolbox App
The JetBrains Toolbox App is the recommended tool to install JetBrains products. Use it to install and manage different products or several versions of the same product, including Early Access Program (EAP) and Nightly releases, update and roll back when necessary, and easily remove any tool. The Toolbox App maintains a list of all your projects to quickly open any project in the right IDE and version.
Install the Toolbox App

- Download the installer .exe from the Toolbox App web page.
- Run the installer and follow the wizard steps.
- After you run the Toolbox App, click its icon in the notification area and select which product you want to install. To install a specific version, click and select Available versions .
Log in to your JetBrains Account from the Toolbox App, and it will automatically activate the available licenses for any IDE that you install.
Install the Toolbox App

- Download the disk image .dmg from the Toolbox App web page. There are separate disk images for Intel and Apple Silicon processors.
- Mount the image and drag the JetBrains Toolbox app to the Applications folder.
- After you run the Toolbox App, click its icon in the main menu and select which product you want to install. To install a specific version, click and select Available versions .
Log in to your JetBrains Account from the Toolbox App, and it will automatically activate the available licenses for any IDE that you install.
Install the Toolbox App
- Download the tarball .tar.gz from the Toolbox App web page.
- Extract the tarball to a directory that supports file execution. For example, if the downloaded version is 1.17.7391, you can extract it to the recommended /opt directory using the following command:
sudo tar -xzf jetbrains-toolbox-1.17.7391.tar.gz -C /opt

Log in to your JetBrains Account from the Toolbox App, and it will automatically activate the available licenses for any IDE that you install.
If you installed IntelliJ IDEA via the Toolbox App, you can find the installation directory in the app: open the settings of the IDE instance in the Toolbox App, expand Configuration , and look for the Install location field.
Standalone installation
Install IntelliJ IDEA manually to manage the location of every instance and all the configuration files. For example, if you have a policy that requires specific install locations.

- Download the installer .exe . There is a separate installer for ARM64 processors.
- Run the installer and follow the wizard steps. On the Installation Options step, you can configure the following:
- Create a desktop shortcut for launching IntelliJ IDEA.
- Add the directory with IntelliJ IDEA command-line launchers to the PATH environment variable to be able to run them from any working directory in the Command Prompt.
- Add the Open Folder as Project action to the system context menu (when you right-click a folder).
- Associate specific file extensions with IntelliJ IDEA to open them with a double click.
To run IntelliJ IDEA, find it in the Windows Start menu or use the desktop shortcut. You can also run the launcher batch script or executable in the installation directory under bin .
- Download the ZIP archive
- Extract the archive to the desired folder.
To run IntelliJ IDEA, use the launcher batch script or executable in the extracted directory under bin .
- Download the disk image . There are separate disk images for Intel and Apple Silicon processors.
- Mount the image and drag the IntelliJ IDEA app to the Applications folder.
Run the IntelliJ IDEA app from the Applications directory, Launchpad, or Spotlight.
- Download the tarball .tar.gz . There is a separate tarball for ARM64 processors.
- Extract the tarball to a directory that supports file execution. For example, to extract it to the recommended /opt directory, run the following command for IntelliJ IDEA Ultimate:
sudo tar -xzf ideaIU-*.tar.gz -C /opt
For IntelliJ IDEA Community, run:
sudo tar -xzf ideaIC-*.tar.gz -C /opt
Do not extract the tarball over an existing installation to avoid conflicts. Always extract it to a clean directory.
Execute the idea.sh script from the extracted directory to run IntelliJ IDEA.
Create a desktop entry
- On the Welcome screen, click Options Menu | Create Desktop Entry . The following steps are for Ubuntu 23.10. If you are using a different Linux distribution or version of Ubuntu, refer to its documentation.
- Click Activities in the top-left corner of the screen.
- Click the grid button in the dash to show all applications.
- To pin the app to the dash, right-click the IntelliJ IDEA icon and select Add to Favorites .
When you run IntelliJ IDEA for the first time, you can take several steps to complete the installation, customize your instance, and start working with the IDE.
For more information about the location of the default IDE directories with user-specific files, refer to Directories used by the IDE.
Silent installation on Windows
Silent installation is performed without any user interface. It can be used by network administrators to install IntelliJ IDEA on a number of machines and avoid interrupting other users.
To perform silent install, run the installer with the following switches:
- /S : Enable silent install
- /CONFIG : Specify the path to the silent configuration file
- /D : Specify the path to the installation directory This parameter must be the last in the command line, and it should not contain any quotes even if the path contains blank spaces.
ideaIU.exe /S /CONFIG=d:\temp\silent.config /D=d:\IDE\IntelliJ IDEA Ultimate
To check for issues during the installation process, add the /LOG switch with the log file path and name between the /S and /D parameters. The installer will generate the specified log file. For example:
ideaIU.exe /S /CONFIG=d:\temp\silent.config /LOG=d:\JetBrains\IDEA\install.log /D=d:\IDE\IntelliJ IDEA Ultimate
Silent configuration file
You can download the default silent configuration file for IntelliJ IDEA at https://download.jetbrains.com/idea/silent.config
The silent configuration file defines the options for installing IntelliJ IDEA. With the default options, silent installation is performed only for the current user: mode=user . If you want to install IntelliJ IDEA for all users, change the value of the installation mode option to mode=admin and run the installer as an administrator.
The default silent configuration file is unique for each JetBrains product. You can modify it to enable or disable various installation options as necessary.
It is possible to perform silent installation without the configuration file. In this case, omit the /CONFIG switch and run the installer as an administrator. Without the silent configuration file, the installer will ignore all additional options: it will not create desktop shortcuts, add associations, or update the PATH variable. However, it will still create a shortcut in the Start menu under JetBrains .
Install as a snap package on Linux
You can install IntelliJ IDEA as a self-contained snap package. Since snaps update automatically, your IntelliJ IDEA installation will always be up-to-date.
To use snaps, install and run the snapd service as described in the snapd installation guide.
On Ubuntu 16.04 LTS and later, this service is pre-installed.
IntelliJ IDEA is distributed via two channels:
-
The stable channel includes only stable versions. To install the latest stable release of IntelliJ IDEA, run the following command:
Как установить intellij idea
Автор: Mark
Обновлено больше недели назад
Скачать среду разработки IntelliJ IDEA можно с сайта компании-разработчика данного программного обеспечения JetBrains s.r.o. по ссылке https://www.jetbrains.com/ru-ru/idea/.
Софт разработан под три основные операционные системы ПК — Windows, macOS и Linux.
Скачать для Windows: https://www.jetbrains.com/ru-ru/idea/download/#section=windows
Скачать для macOS: https://www.jetbrains.com/ru-ru/idea/download/#section=mac
Скачать для Linux: https://www.jetbrains.com/ru-ru/idea/download/#section=linux
В бесплатном доступе находится версия Community Edition.
Подробная видеоинструкция по установке и настройке IntelliJ IDEA:
Нашли ответ на свой вопрос?
Знакомство с IntelliJ IDEA: установка, создание Java-проекта и первая Java-программа
IntelliJ IDEA — одна из самых популярных интегрированных сред разработки (IDE) для языка Java. Благодаря мощному инструментарию и удобному интерфейсу, IntelliJ IDEA позволяет быстро и эффективно создавать, и отлаживать Java-приложения разной сложности.
В этой статье мы рассмотрим процесс установки IntelliJ IDEA на такие операционные системы, как: Windows, Linux и macOS. Также создадим Java-проект и выполним первую Java-программу.
Загрузка и установка IntelliJ IDEA
Скачать IntelliJ IDEA для Windows, Linux и macOS можно с официальной страницы JetBrains (компания-разработчик IntelliJ IDEA).
Существуют две вариации IntelliJ IDEA: Community Edition и Ultimate. Ultimate является более профессиональным решением с дополнительными возможностями, отсутствующими в Community Edition. Однако Ultimate-версия доступна только по платной подписке, в то время как Community Edition полностью бесплатна. Более подробно про различия между этими двумя редакциями можно прочитать здесь.
Далее показаны шаги для загрузки и установки IntelliJ IDEA Community Edition на Windows, Linux и macOS.
Установка IntelliJ IDEA в Windows
Шаг №2: Выберите раздел Windows.
Шаг №3: Под редакцией Community Edition выберите желаемый способ установки — с помощью установщика (.exe) или архива (.zip). Установщик для архитектуры х86-64 — .exe, для 64-битной архитектуры ARM — .exe (ARM64). Дальнейшие шаги основаны на использовании установщика.

Шаг №4: Запустите установщик и нажмите Next:

Шаг №5: Выберите/подтвердите конечный путь установки IntelliJ IDEA:

Шаг №6: Рекомендуется установить флажок возле пункта Add «bin» folder to the PATH, чтобы система могла находить и запускать исполняемые файлы IntelliJ IDEA без необходимости указывать полный путь к ним. Чтобы создать ярлык IntelliJ IDEA на рабочем столе, установите флажок возле пункта IntelliJ IDEA Community Edition. Также рекомендуется выбрать пункт Add «Open Folder as Project», чтобы открывать папки в IntelliJ IDEA и работать с ними как с проектами. Создание ассоциации с .java-файлами позволит IntelliJ IDEA стать стандартным инструментом для открытия .java-файлов.

Шаг №7: Определите название папки, в которой будет размещен ярлык IntelliJ IDEA. По умолчанию IntelliJ IDEA предлагает создать папку JetBrains и разместить ярлык программы внутри нее.

Шаг №8: Если вы ставили флажок напротив пункта Add «bin» folder to the PATH, для завершения установки вам необходимо перезагрузить компьютер. Если вы хотите выполнить перезагрузку сейчас, выберите Reboot now. Если же вы планируете выполнить перезагрузку позже, выберите I want to manually reboot later.

Установка IntelliJ IDEA в Linux
Шаг №2: Выберите раздел Linux.
Шаг №3: Для архитектуры х86-64 под редакцией Community Edition выберите .tar.gz, для ARM64 — .tar.gz (ARM64). Затем нажмите на кнопку Download.

Шаг №4: Распакуйте архив в нужную директорию, например, /opt/ . Для этого введите команду типа:
sudo tar -xzf путь-к-скачанному-архиву -C /opt/
Замените путь-к-скачанному-архиву на фактический путь к скачанному архиву. Если вы хотите распаковать архив в другую директорию, замените /opt/ соответствующим путем. Например:
Шаг №5: Рекомендуется изменить владельца для IntelliJ IDEA с помощью следующей команды:
sudo chown -R $USER:$USER путь-к-распакованному-архиву
Замените путь-к-распакованному-архиву на фактический путь к распакованному архиву. Эта команда изменит права доступа для текущего пользователя. Если вы хотите изменить права доступа для другого пользователя системы, замените $USER на имя (username) этого пользователя.
Шаг №6: Выполните следующую команду, чтобы запустить IntelliJ IDEA:
Не забудьте заменить путь-к-распакованному-архиву , например, /opt/idea-IC-231.9011.34/bin/idea.sh
Шаг №7: Нажмите на значок шестеренки внизу слева в открывшейся программе и выберите пункт Create Desktop Entry, чтобы добавить ярлык IntelliJ IDEA в меню приложений:
Установка IntelliJ IDEA в macOS
Шаг №2: Выберите раздел macOS.
Шаг №3: Для архитектуры х86-64 под редакцией Community Edition выберите .dmg (Intel), для Apple Silicon — .dmg (Apple Silicon). Затем нажмите на кнопку Download.

Шаг №4: Запустите скачанный файл и перетащите иконку IntelliJ IDEA в каталог Applications.

Создание Java-проекта
Важной особенностью любой интегрированной среды разработки (IDE) является то, что она предоставляет возможность управлять целым проектом, состоящим из множества файлов. IDE предоставляет инструменты для создания, редактирования, компиляции, отладки и управления проектом, что отличает ее от простых редакторов кода.
Для создания Java-проекта нужно открыть IntelliJ IDEA и нажать на кнопку New Project:

После этого должно открыться окно настройки проекта:
В поле Name введите название проекта (оно может быть любым).
В поле Location нужно указать расположение проекта. Если вы не знаете, что такое Git, снимите флажок возле пункта Create Git repository.
В пункте Language выберите Java.
В пункте Build system выберите IntelliJ.
В пункте JDK убедитесь, что версия JDK была правильно определена. Если у вас отсутствует JDK, вы можете загрузить его, следуя инструкциям из этого урока.
Снимите флажок возле пункта Add sample code.
Нажмите на кнопку Create.
Первая Java-программа в IntelliJ IDEA
После создания проекта, если вы сняли флажок с пункта Add sample code, должна создаться структура проекта без файлов исходного кода. В Java программы пишутся в файлах с расширением .java. Единицами структуры любой Java-программы или целого Java-приложения являются Java-классы, которые размещаются в .java-файлах. Обычно каждый Java-класс находится в отдельном .java-файле, причем название Java-класса должно совпадать с названием .java-файла.
Для создания Java-класса нажмите ПКМ по папке src в окне инструментов проекта (англ. «Project tool window»; область интерфейса, где отображаются все файлы и структура каталогов проекта). Затем наведите курсор на пункт New и выберите Java Class.

В появившемся окне введите название Java-класса и нажмите Enter. Например:

После этого должен автоматически создаться .java-файл, название которого соответствует введенному названию Java-класса. Внутри этого .java-файла будет создан пустой класс с таким же именем:

Обратите внимание, что на данном этапе программу нельзя запустить, так как отсутствует точка входа в программу — главный метод main():