- IntelliJ IDEA
- Программа для написания программ IntelliJ IDEA
- Как установить JDK и среду разработки IntelliJ IDEA
- Установка Java Development Kit в Windows
- 1. Скачиваем установочный архив
- 2. Устанавливаем
- 3. Настраиваем переменные окружения Windows
- 4. Проверяем установку
- Установка Java Development Kit в Linux (Ubuntu)
- 1. Проверяем ранее установленные версии
- 2. Устанавливаем
- 3. Проверяем установку
- Установка Java Development Kit в Linux (macOS)
- 1. Устанавливаем
- 2. Проверяем установку
- Установка среды разработки IntelliJ IDEA Community (Windows)
- 1. Какую версию (редакцию) выбрать
- 2. Сама установка
- 3. Запуск IntelliJ IDEA и настройка параметров
- Установка среды разработки IntelliJ IDEA Community (macOS)
- Установка среды разработки IntelliJ IDEA Community (Ubuntu)
- IntelliJ IDEA
- Install IntelliJ IDEA
- System requirements
- Install using the Toolbox App
- Install the Toolbox App
- Install the Toolbox App
- Install the Toolbox App
- Standalone installation
- Silent installation on Windows
- Silent configuration file
- Install as a snap package on Linux
- Видео
IntelliJ IDEA
Унифицированная среда разработки программ на различных языках программирования
Тип лицензии:
Условно-бесплатное
IntelliJ IDEA — среда разработки программного обеспечения, поддерживающая множество языков программирования, включая Java, JavaScript, Python, Kotlin и другие. Также программа широко используется разработчиками Android-приложений, т.к. IntelliJ IDEA предоставляет тот же набор инструментов, что и Android Studio.
Программа IntelliJ IDEA предназначена на работы в ОС Windows XP и выше (поддерживаются платформы разрядностью 32 и 64 бит). Русский язык в официальных сборках ПО не предусмотрен, однако в сети можно найти любительские русификаторы.
Программа для написания программ IntelliJ IDEA
Все функциональные возможности IntelliJ IDEA невозможно вместить в одну обзорную статью. Рассмотрим наиболее важные.
Удобства работы с кодом. Редактор кода IntelliJ IDEA предоставляет множество удобств для разработчиков. Программа анализирует код, обнаруживая связи между символами во всех файлах и проектах. Собранная по ходу работы информация используется затем для облегчения кодирования, быстрой и удобной навигации, выявления ошибок и, самое главное, рефакторинга.
В IntelliJ IDEA предусмотрена мощная система автозавершения кода:
Максимальная эргономичность. Среда разработки IntelliJ IDEA построена по такому принципу, что разработчик тратит минимальное время на выполнение любых операций. Например:
Встроенные инструменты разработчика. В IntelliJ IDEA предусмотрено множество вспомогательных инструментов, обеспечивающих выполнение различных операций с проектами, файлами, кодом и т.д. без необходимости использования сторонних специализированных утилит. К примеру:
Поддержка многих языков. Среда разработки IntelliJ IDEA предлагает первоклассную поддержку наиболее популярных фреймворков и языков программирования:
Поддержка плагинов. IntelliJ IDEA может стать средой разработки и для множества других языков и фреймворков — пользователю достаточно установить один из многочисленных плагинов, встречающихся на просторах сети. То же самое относится и к дополнительному функционалу, легко расширяющемуся на счет тех же плагинов.
Как установить JDK и среду разработки IntelliJ IDEA
Начинаем разрабатывать на Java: где взять, как установить и настроить всё, что нужно.
Пройдём через это вместе. Установим JDK в Windows, Ubuntu и macOS, и IntelliJ IDEA тоже в Windows, Ubuntu и macOS. Поехали!
Установка Java Development Kit в Windows
Java Development Kit (JDK) — это комплект ПО для разработчиков приложений на Java. Стандартная установка включает в себя интерпретатор, облегчённый интерпретатор JRE, компилятор, библиотеку Java-классов, отладчик, средства архивации и сжатия jar и другое.
Чтобы установить JDK в Windows, нужно:
Пишет на Java. Верит в Agile. Пьёт много кофе и не любит грязный код.
1. Скачиваем установочный архив
Нам нужна бесплатная версия — AdoptOpenJDK (она есть под Windows, macOS, Ubuntu и другие платформы).
Идём сюда и выбираем версию JDK (актуальны версии 8+), виртуальную Java-машину (JVM) и свою платформу.
Я выбрал OpenJDK 11 ( LTS ), HotSpot и Windows x64 jdk соответственно:
Скачиваем файл по появившейся ссылке (я выделил её жёлтым на скрине выше).
2. Устанавливаем
Извлекаем скачанный архив в папку C:\Program Files\Java\
При этом будет создана подпапка jdk-*номер версии*, а внутри неё появится папка bin.
В результате полный путь до папки bin у меня выглядит так:
3. Настраиваем переменные окружения Windows
Нам нужно создать системную переменную JAVA_HOME, которая будет хранить путь до нашей версии JDK. Это понадобится программам для работы с проектами Java.
Заходим в Панель управления → Система → Дополнительные параметры системы → Дополнительно
А можно и прямо в Панели управления вбить в поиск слово « переменных» (без кавычек). ОС предложит варианты, из которых выбирайте « Изменение системных переменных среды».
У вас откроется окно:
Здесь жмём на кнопку « Переменные сред ы».
В новом окне для раздела « Системные переменные» кликаем « Создать». В « Имя переменной» вводим JAVA_HOME (именно так, латиницей в верхнем регистре), а в поле « Значение переменной» подставляем наш путь C:\Program Files\Java\jdk-*номер версии* :
Далее в разделе « Переменные сред ы…» редактируем системную переменную Path. Нужно добавить в неё путь к папке с исполняемыми файлами Java, а именно: %JAVA_HOME%\bin (соблюдайте регистр символов):
4. Проверяем установку
Запускаем Командную строку Windows. Для этого нажимаем Win + R, а в появившемся окне вводим cmd.exe и жмём на Enter.
Если установка прошла успешно, то ответ покажет версию вашего компилятора:
Установка Java Development Kit в Linux (Ubuntu)
Рассмотрим установку JDK на одном из самых популярных дистрибутивов Linux — Ubuntu 20.04 ( LTS ).
Проще всего установить версию, которая входит в пакет Ubuntu. По умолчанию в Ubuntu 20.04 входит версия Open JDK 11.
1. Проверяем ранее установленные версии
Открываем терминал сочетанием клавиш Ctrl + Alt + T и обновляем базу данных пакетов с помощью APT :
Проверяем ранее установленные версии командой:
Если установка уже выполнялась, то мы увидим что-то такое:
2. Устанавливаем
Для запуска любых приложений Java нужна JRE (Java Runtime Environment — среда выполнения для языка Java). Но для компиляции и разработки программ требуется JDK (Java Development Kit).
Чтобы установить JRE, вводим в консоль:
Для установки JDK — команду:
3. Проверяем установку
Ответ должен выглядеть примерно так:
Установка Java Development Kit в Linux (macOS)
Этот способ установки использует HomeBrew (менеджер недостающих пакетов для macOS).
1. Устанавливаем
Прежде всего нужно добавить репозиторий в HomeBrew. Для этого открываем терминал (Cmd + N) и вводим:
Устанавливаем OpenJDK 11 командой:
2. Проверяем установку
Ответ должен выглядеть примерно так:
Установка среды разработки IntelliJ IDEA Community (Windows)
Intellij IDEA — это интегрированная среда разработки (IDE), то есть система программных средств для создания проектов на разных языках программирования.
Сегодня это самая популярная IDE для языка Java. А ещё есть Eclipse, NetBeans и немало других, но мы рекомендуем именно IDEA, потому что даже её бесплатная версия обладает широкой функциональностью, подходит для профессиональной разработки и вообще делает Java проще в использовании.
В IDE обязательно входят:
1. Какую версию (редакцию) выбрать
Intellij IDEA доступна в бесплатной (Community) и платной (Ultimate) версиях. Чем они различаются, видно на скрине ниже:
Пока что нам хватит возможностей бесплатной версии.
На заметку: IntelliJ предлагает студентам и преподавателям свободный доступ к своим продуктам.
2. Сама установка
Заходим сюда и качаем версию для Windows.
Жмём Next (Далее) и выбираем путь для установки:
Снова Next, и настраиваем параметры установки:
В общем случае это:
Кликаем Next (Далее) и выбираем папку для ярлыков IDEA (оставляем по умолчанию):
Нажимаем Install (Установить), после чего стартует установка:
Дожидаемся её окончания и жмём Finish (Завершить):
3. Запуск IntelliJ IDEA и настройка параметров
При первом запуске принимаем пользовательское соглашение и нажимаем Continue (Продолжить):
Далее выбираем тему оформления (доступны тёмная и светлая):
Жмём Next: Default plugins и переходим к выбору устанавливаемых плагинов:
Если не знаете, что вам точно пригодится, — оставляйте всё как есть. А если, например, с Андроидом вам не работать — выключите соответствующий пункт.
Не волнуйтесь, если надобавляете лишнего или о чём-то забудете. Всё можно будет переиграть — в настройках среды.
После чего нажмите на кнопку Next: featured plugins и выберите другие нужные плагины (или оставляйте всё по умолчанию):
И наконец, нажимаем Start using Intellij IDEA.
Вас встретит начальный экран среды разработки (Welcome screen). Здесь можно создать новый проект, открыть или импортировать существующий, а также скачать проект из системы контроля версий:
Если вы видите такой же экран — поздравляю, установка и настройка прошли успешно! Приятного обучения!
Установка среды разработки IntelliJ IDEA Community (macOS)
Здесь всё даже легче, чем в Windows. Для начала качаем версию для macOS отсюда (о различии между редакциями Community и Ultimate читайте выше — в пункте про установку на Windows):
Копируем файл в « Программы»:
Читаем предупреждение ОС и жмём « Открыть»:
Принимаем пользовательское соглашение и жмём кнопку Continue (Продолжить):
Теперь приложением можно пользоваться. Приятного обучения!
Установка среды разработки IntelliJ IDEA Community (Ubuntu)
Для установки Intellij IDEA открываем Центр приложений Ubuntu:
Вводим в поиск слово « Intellij» (без кавычек). Нам нужна IDEA Community (о различии между редакциями Community и Ultimate читайте выше — в пункте про установку на Windows):
Выбираем версию и нажимаем кнопку Install (Установить):
После установки видим IDEA в меню программ:
Запускаем, принимаем пользовательское соглашение и нажимаем кнопку Continue (Продолжить):
Самая умная и удобная среда разработки для Java, включающая поддержку всех последних технологий и фреймворков. IntelliJ IDEA предоставляет инструменты для продуктивной работы и идеально подходит для создания коммерческих, мобильных и веб-приложений.
Системные требования:
Одна из следующих операционных систем:
Microsoft Windows 10
Microsoft Windows 8.1
Microsoft Windows 8
Microsoft Windows 7
2 ГБ RAM и больше
1.5 ГБ дискового пространства + не менее 1 ГБ для кэша
Что нового в версии 2018.3
·IntelliJ IDEA supports the upcoming Java 12, and you can already preview the Raw String Literals (JEP 326) in the IDE. Learn more.
·The IDE can now spot duplicates in more complicated cases, and it does this faster as well.
·Java Stream API improvements: redundant sorted calls that are made before the subsequent min call are now detected.
·A new data-flow-based inspection detects situations where the first condition is unnecessary because it’s already covered by a second condition.
·The IDE now identifies situations where a suppressed inspection no longer addresses any warnings in the associated method body, class, or statement.
·The IDE highlights the first and all subsequent TODO comment lines in the editor and displays them in the TODO tool window.
·A new indentation status bar displays the size of the indent in the current file.
·You can create a scope to disable code formatting from being done on specific files and folders. Go to the ‘Formatter Control’ tab in Preferences / Settings | Editor | Code Style.
·Syntax highlighting and code completion are now available for EditorConfig files.
·Thanks to initial support for GitHub Pull Requests, now you can view PRs in your IDE.
·Support for Git submodules is here: update your project, commit changes, view diffs, and resolve conflicts.
·The VCS Log lets you navigate to the previous/next selected commit.
·The ‘History Up to Here’ action can now show the full history.
·Whitespace changes can be ignored while merging.
·The Annotations context menu now includes a new Ignore Whitespaces option (Git only).
·A Diff Preview for annotated lines is now available via the VCS popup.
·IntelliJ IDEA has a new option to copy a file from one Git branch to another.
·The branch you are committing files to is now displayed in the Commit dialog.
·The IDE updates Git multi-repository projects much faster than before.
·By default, the IDE now uses the Native Git SSH Executable.
·The new Search Everywhere integrates the following navigation dialogs: Search Everywhere, Find Action, Go to class, Go to file, and Go to symbol.
·You can now search for multiline fragments in the Find in Path dialog.
·The new updated Structural Search & Replace dialog comes with loads of enhancements, including autocompletion in the search field, more flexible scope configuration, and more.
·The IDE can help you migrate your project to the new version of Kotlin.
·The IDE gives you a set of project examples for multiplatform projects.
·There are new Kotlin inspections and quick-fixes available.
·The IDE already supports the recently released Spring Boot 2.1.
·Upon project creation, the IDE will suggest installing or enabling the appropriate plugins to ensure that support for all the selected technologies is present.
·Better JPA and Spring Data support for Kotlin.
·We’ve introduced a new High-contrast theme to make IntelliJ IDEA more accessible.
·Screen readers can now access and read: line numbers, VCS annotations, the debugger, and other gutter icons.
·Accessibility inspections for HTML are available.
·It’s possible to attach to Java processes started without a debug agent using the serviceability agent.
·The IDE can now automatically continue listening to the remote connections after the remote debug process disconnects.
·You can assign your own custom shortcut to remove all the breakpoints from a file or from the whole project.
·The IDE supports async stack traces in Remote JVMs.
IntelliJ IDEA
IntelliJ IDEA 2021.1 LATEST
Windows XP / Vista / Windows 7 / Windows 8 / Windows 10
IntelliJ IDEA 2021 full offline installer setup for PC 32bit/64bit
IntelliJ IDEA is a powerful Java integrated development environment (IDE) for developing computer software for Windows PC. Every aspect of IntelliJ IDEA is specifically designed to maximize developer productivity. Together, powerful static code analysis and ergonomic design make development not only productive but also an enjoyable experience.
Features and Highlights
Deep intelligence
After IntelliJ IDEA’s indexed your source code, it offers blazing fast and intelligent experience by giving relevant suggestions in every context: instant and clever code completion, on-the-fly code analysis, and reliable refactoring tools.
Out-of-the-box experience
Mission-critical tools such as integrated version controls systems and a wide variety of supported languages and frameworks are at hand — no plugin hustle included.
Smart code completion
While the basic completion suggests names of classes, methods, fields, and keywords within the visibility scope, the smart completion suggests only those types that are expected in the current context.
Framework-specific assistance
While IntelliJ IDEA for PC is an IDE for Java, it also understands and provides intelligent coding assistance for a large variety of other languages such as SQL, JPQL, HTML, JavaScript, etc., even when the language expression is injected into a String literal in your Java code.
Productivity boosters
The IDE predicts your needs and automates the tedious and repetitive development tasks so you can stay focused on the big picture.
Developer ergonomics
«In every design and implementation decision that we make, we keep in mind the risk of interrupting the developer’s flow and do best to eliminate or minimize it. The IDE follows your context and brings up the corresponding tools automatically.»
Unobtrusive intelligence
The coding assistance in IntelliJ IDEA for Windows is not about only the editor: it helps you stay productive when dealing with its other parts as well: e.g. filling a field, searching over a list of elements; accessing a tool window; or toggling for a setting, etc.
Built-in tools and supported frameworks
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 more information, see the comparison matrix.
System requirements
Requirement | Minimum | Recommended |
---|---|---|
RAM | 2 GB of free RAM | 8 GB of total system RAM |
CPU | Any modern CPU | Multi-core CPU. IntelliJ IDEA supports multithreading for different operations and processes making it faster the more CPU cores it can use. |
Disk space | 2.5 GB and another 1 GB for caches | SSD drive with at least 5 GB of free space |
Monitor resolution | 1024×768 | 1920×1080 |
Operating system | 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 11). However, to develop Java applications, a standalone JDK is required.
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) 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
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 and version you want to install.
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
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 and version you want to install.
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
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:
Execute the jetbrains-toolbox binary from the extracted directory to run the Toolbox App and select which product and version you want to install. After you run the Toolbox App for the first time, it will automatically add the Toolbox App icon to the main menu.
Log in to your JetBrains Account from the Toolbox App and it will automatically activate the available licenses for any IDE that you install.
You can use this shell script that automatically downloads the tarball with the latest version of the Toolbox App, extracts it to the recommended /opt directory, and creates a symbolic link in the /usr/local/bin directory.
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.
Run the installer and follow the wizard steps.
On the Installation Options step, you can configure the following:
Create a desktop shortcut for the launcher relevant to your operating system.
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 an item Open Folder as Project 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.
Install the 32-bit version of JetBrains Runtime if you are running a 32-bit Windows version.
Extract the archive to the desired folder.
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.
Extract the tarball to a directory that supports file execution.
For example, to extract it to the recommended /opt directory, run the following command:
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.
To create a desktop entry, do one of the following:
On the Welcome screen, click Configure | Create Desktop Entry
From the main menu, click Tools | Create Desktop Entry
When you run IntelliJ IDEA for the first time, some steps are required to complete the installation, customize your instance, and start working with the IDE.
For information about the location of the default IDE directories with user-specific files, see Default IDE directories.
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.
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:
Silent configuration file
You can download the default silent configuration file for IntelliJ IDEA at https://download.jetbrains.com/idea/silent.config
The default silent configuration file is unique for each JetBrains product. You can modify it to enable or disable various installation options as necessary.
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 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:
The edge channel includes EAP builds. To install the latest EAP build of IntelliJ IDEA, run the following command:
Видео
Как установить Java JDK 15.1 и Intellij IDEA 2020.3 на Windows 7Скачать
How to install Intellij IDEA Free on PC windows 7,8,10,11 2022Скачать
Варианты установки при установке 32-разрядной или 64-разрядной программы запуска IntelliJ IDEAСкачать
Как скачать и установить IntelliJ Idea на WindowsСкачать