Меню Рубрики

Установка intellij idea windows

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

Officially released 64-bit versions of the following:

Microsoft Windows 8 or later

macOS 10.13 or later

Any Linux distribution that supports Gnome, KDE , or Unity DE

Pre-release versions are not supported.

Requirement Minimum Recommended
RAM 2 GB of free RAM 8 GB of total system RAM
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 maintain 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

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 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

Download the disk image .dmg from the Toolbox App web page.

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

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:

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

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

Mount the image and drag the IntelliJ IDEA app to the Applications folder.

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.

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 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.

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 —classic option is required because the IntelliJ IDEA snap requires full access to the system, like a traditionally packaged application.

The edge channel includes EAP builds. To install the latest EAP build of IntelliJ IDEA, run the following command:

When the snap is installed, you can launch it by running the intellij-idea-community , intellij-idea-ultimate , or intellij-idea-educational command.

To list all installed snaps, you can run sudo snap list . For information about other snap commands, see the Snapcraft documentation.

Источник

Установка intellij idea windows

В этом уроке мы установим интегрированную среду разработки, создадим первый проект и запустим нашу программу.

Интегрированная среда разработки (Integrated Development Environment или сокращенно IDE) – это набор программных средств, предназначенных для разработки программного обеспечения (ПО) программистами. Проще говоря, это все необходимые программы, собранные в одном месте, в одной программе, для ускорения процесса разработки программ. Так, в состав IDE входят, как минимум:

• Текстовый редактор для написания кода программ, который подсвечивает синтаксис языка программирования.

• Отладчик. Это специальная программа, используемая для поиска ошибок в коде. Позволяет выполнять трассировку (пошаговое выполнение) программы, просматривать в процессе выполнения кода текущее состояние (значение) используемых в программе данных (переменных) и т.п.

Одними из самых популярных IDE для разработки программ на языке Java являются:

В этом уроке мы установим IntelliJ IDEA.

Установка IntelliJ IDEA на Windows

Переходим на официальный сайт компании JetBrains для загрузки IntelliJ IDEA. Нам на выбор будут представлены две версии: бесплатная на ограниченный период версия Ultimate (для разработки веб- и enterprise-приложений) и бесплатная, с открытым исходным кодом, версия Community (для разработки JVM- и Android-приложений). Наш выбор – Community.

Выбор версии IntelliJ IDEA для загрузки

Двойным кликом левой кнопкой мыши по загруженному пакету запускаем процесс установки. Разрешаем внесение изменений на нашем устройстве. Ожидаем и нашему вниманию предстает приветственное сообщение программы установки IntelliJ IDEA Community Edition.

Приветственное сообщение программы установки IntelliJ IDEA

Нажимаем кнопку «Next» для перехода на следующую страницу программы установки.

Выбор целевой папки для установки IntelliJ IDEA

Выбираем путь к папке, в которую будем устанавливать (Destination Folder). При этом необходимое условие – 910.6 МБ свободного места на диске. Путь меня устраивает: оставляю его без изменений. Переходим к следующей странице программы установки.

Выбор параметров установки IntelliJ IDEA

Так как у меня 64-битная система, выбираю создание 64-битного ярлыка на рабочем столе. Создаю связь между IntelliJ IDEA и всеми файлами с расширением java: при открытии файла с расширением java, система будет запускать именно IntelliJ IDEA.

Загружать и устанавливать JRE x86 не будем, т.к. мы её уже установили в предыдущем уроке. Если Вы её ещё не устанавливали, отмечаем соответствующий пункт галочкой. Нажимаем «Next».

Выбор папки для создания ярлыков программы IntelliJ IDEA

На этой странице мы выбираем папку, в которой будут созданы ярлыки программы. Запускаем установку – нажимаем кнопку «Install». Если Вы согласились ранее на загрузку JRE, то в первую очередь будет произведена её загрузка.

Загрузка JRE при установке IntelliJ IDEA

А затем будет выполнена полная установка.

Прогресс установки IntelliJ IDEA

Ожидаем, пока не будет полностью установлена IntelliJ IDEA.

Завершение установки IntelliJ IDEA

Система может запустить IntelliJ IDEA сразу после закрытия программы установки, если отметить галочкой пункт «Run IntelliJ IDEA Community Edition». Завершаем установку, нажав кнопку «Finish». Поздравляю, Вы успешно установили интегрированную среду разработки IntelliJ IDEA!;)

Запуск IntelliJ IDEA

Запускаем IDEA с помощью созданного при установке ярлыка на рабочем столе. Программа предложит нам импортировать настройки IDEA. Если Вам нечего импортировать, идём дальше, нажимая кнопку «ОК».

Выбор импортировать или нет настройки IntelliJ IDEA

В следующем окне принимаем политику конфиденциальности JetBrains, нажимая кнопку «Accept».

Выбираем тему IntelliJ IDEA: тёмную (Darcula) или светлую (IntelliJ). На Ваш вкус и цвет:) Переходим к выбору плагинов.

Выбор темы IntelliJ IDEA

Для IntelliJ IDEA разработано множество дополнительных инструментов (плагинов) — инструменты сборки, инструменты тестирования и т.д. Оставляем плагины по умолчанию и переходим к следующей странице.

Выбор плагинов IntelliJ IDEA

Также оставляем всё как есть и переходим к следующей странице.

Выбор особенных плагинов IntelliJ IDEA

Загрузка IntelliJ IDEA

Вот мы и подошли к созданию нового проекта в IntelliJ IDEA.

Создание проекта IntelliJ IDEA

Нажимаем на пункт «Create New Project» (создать новый проект).

Создание нового проекта в IntelliJ IDEA

Выбираем тип проекта. В данном случае у нас проект типа Java.

Видим, что у нас не задана ссылка на JDK: система выводит красным цветом сообщение «NO SDK» и предлагает загрузить JDK (Download JDK).

SDK (Software Development Kit) – набор инструментов для разработки программного обеспечения.

Ошибка «NO SDK» в IntelliJ IDEA

Нажимаем на кнопку «New», находим папку с установленной нами ранее JDK.

Выбор JDK в IntelliJ IDEA

Нажимаем на кнопку «ОК». Как видно, мы успешно указали системе JDK.

Выбранный JDK в IntelliJ IDEA

Нажимаем на кнопку «Next».

Мы не будем создавать проект по какому-либо шаблону, нажимаем кнопку «Next».

Выбор шаблона при создании проекта в IntelliJ IDEA

Создаем на рабочем столе («C:\Users\USERNAME\Desktop», где USERNAME – имя Вашего пользователя) новый проект под названием «Cat».

Выбор названия и местоположения создаваемого проекта в IntelliJ IDEA

На рабочем столе должна появиться папка Cat. Это наш проект. Он также будет открыт IntelliJ IDEA. На экран могут быть выведены подсказки от IntelliJ IDEA. Если Вы не хотите, чтобы они каждый раз показывались при открытии проекта, их можно отключить, сняв галочку у пункта «Show tips on startup» во всплывающем окне очередной подсказки. Рассмотрим созданный проект, открытый в IntelliJ IDEA.

Открытый проект в IntelliJ IDEA

1. Здесь можно посмотреть древовидную структуру папок проекта. В папке .idea хранятся настройки проекта, которые сохраняются в виде набора xml-файлов при создании проекта. В папке src могут храниться создаваемые Вами папки и файлы с исходным кодом. И в качестве дополнительной информации: iml-файл – это файл модуля, который создается IntelliJ IDEA и хранит пути к модулю, зависимости и другие настройки.

2. В этом окне можно просматривать и редактировать файлы.

3. Это встроенная в среду разработки командная строка.

Первая программа в IntelliJ IDEA

Создадим в папке srс подпапку ru, в папке ru — папку junmidsen, а в папке junmidsen – папку pets (домашние животные). Для этого необходимо нажать правой кнопкой мыши по папке srс. Появится меню, в котором нужно перейти по пути «New→Package» и выбрать пункт Package (Пакет). Система запросит у Вас имя создаваемого пакета. Вводим «ru» и система создаст вложенную в src папку. Аналогично создаем папку junmidsen и вложенную в неё папку pets.

Добавление пакета в проект в IntelliJ IDEA

В папке pets создадим класс Cat. В меню выше Вы можете наблюдать пункт «Java Class»: он то нам и нужен.

Добавление класса в проект в IntelliJ IDEA

Как мы видим в созданном нами файле Cat.java автоматически создался шаблон одноименного класса. В этом классе не хватает метода main и выводимого на экран сообщения «Привет, я кот! Твой друг! 😉». Сделайте это!

Для того, чтобы запустить программу в IntelliJ IDEA, необходимо вызвать меню при нажатии правой кнопкой мыши по классу Cat в структуре папок проекта или в любой области редактора кода файла Cat.java. В меню выбираем пункт «Run ‘Cat.main()’».

Запуск проекта в IntelliJ IDEA

В командной строке, кроме выводимого нами сообщения, также присутствует служебная информация от IntelliJ IDEA. В 1 строке перечислены параметры, с которыми запускалась программа, а в последней, в сообщении «Process finished with exit code 0», выводится код завершения программы. В данном случае код 0 означает, что программа успешно завершила свое выполнение.

Результат выполнения программы в IntelliJ IDEA

Поздравляю!;) Мы установили интегрированную среду разработки IntelliJ IDEA, познакомились с ней и запустили на исполнение нашу первую программу.

В папке pets создайте класс Dog. В этом классе напишите метод main и выведите на экран соответствующее сообщение.

Источник

Добавить комментарий

Ваш адрес email не будет опубликован. Обязательные поля помечены *

  • Установка imo на windows 7
  • Установка iis windows xp без диска
  • Установка ie9 на windows 7
  • Установка ie8 на windows xp
  • Установка honda hds на windows 7