0% found this document useful (0 votes)
5 views7 pages

Lab 1

The document provides a guide for installing and setting up IntelliJ IDEA, a cross-platform Integrated Development Environment (IDE) for programming. It details the installation process for the Community Edition, customization options, and how to start a new project, including configuring the Java Development Kit (JDK). Additionally, it gives an overview of the user interface and the steps to create a 'Hello World' program.

Uploaded by

009ardh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
5 views7 pages

Lab 1

The document provides a guide for installing and setting up IntelliJ IDEA, a cross-platform Integrated Development Environment (IDE) for programming. It details the installation process for the Community Edition, customization options, and how to start a new project, including configuring the Java Development Kit (JDK). Additionally, it gives an overview of the user interface and the steps to create a 'Hello World' program.

Uploaded by

009ardh
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Alalamein University Structure

Faculty of Computer Programming


science & Engineering Course Code: CSE014

Lab 1
IDE & Hello World
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.

We will install the community edition


https://www.jetbrains.com/idea/download/

1. Run the installer and follow the wizard steps.

On the Installation Options step, you can configure the following:


o Create a desktop shortcut for launching IntelliJ IDEA.

Page 1 of 7
Alalamein University Structure
Faculty of Computer Programming
science & Engineering Course Code: CSE014

o 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.
o Add the Open Folder as Project action to the system context
menu (when you right-click a folder).
o 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.

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.

Page 2 of 7
Alalamein University Structure
Faculty of Computer Programming
science & Engineering Course Code: CSE014

Select whether you want to use the default Darcula or Light theme.

Page 3 of 7
Alalamein University Structure
Faculty of Computer Programming
science & Engineering Course Code: CSE014

Start a project in IntelliJ IDEA

When you click Start using IntelliJ IDEA, it will show the Welcome screen.

1. Launch IntelliJ IDEA.

If the Welcome screen opens, click New Project.

Otherwise, from the main menu, select File | New | Project.


2. From the list on the left, select the framework that you want to use in
your application.
3. If suggested, configure the project SDK. To develop Java-based
applications, you need a JDK (Java Development Kit).

If the necessary JDK is already defined in IntelliJ IDEA, select it from


the Project SDK list.

Page 4 of 7
Alalamein University Structure
Faculty of Computer Programming
science & Engineering Course Code: CSE014

If the JDK is installed on your computer, but not defined in the IDE,
select Add JDK and specify the path to the JDK home directory (for
example, /Library/Java/JavaVirtualMachines/jdk-12.0.1.jdk).

If you don't have the necessary JDK on your computer, select Download
JDK. In the next dialog, specify the JDK vendor, version, and change the
installation path if required.

Some frameworks require their own SDKs in addition to the JDK, for
example, Android or Grails.

Page 5 of 7
Alalamein University Structure
Faculty of Computer Programming
science & Engineering Course Code: CSE014

4. Other options differ depending on the framework that you have selected.
Refer to the list below for the detailed description of options for each
framework.
5. Choose name for the project

Page 6 of 7
Alalamein University Structure
Faculty of Computer Programming
science & Engineering Course Code: CSE014

Overview of the user interface

When you open a project in IntelliJ IDEA, the default user interface looks as
follows:

Depending on the set of plugins, IntelliJ IDEA edition, and configuration


settings, your IDE may look and behave differently.

Hello world Program

Page 7 of 7

You might also like