Red Hat CodeReady Studio-12.16-Installation Guide-en-US
Red Hat CodeReady Studio-12.16-Installation Guide-en-US
16
Installation Guide
Levi Valeeva
[email protected]
Yana Hontyk
[email protected]
Legal Notice
Copyright © 2020 Red Hat, Inc.
The text of and illustrations in this document are licensed by Red Hat under a Creative Commons
Attribution–Share Alike 3.0 Unported license ("CC-BY-SA"). An explanation of CC-BY-SA is
available at
http://creativecommons.org/licenses/by-sa/3.0/
. In accordance with CC-BY-SA, if you distribute this document or an adaptation of it, you must
provide the URL for the original version.
Red Hat, as the licensor of this document, waives the right to enforce, and agrees not to assert,
Section 4d of CC-BY-SA to the fullest extent permitted by applicable law.
Red Hat, Red Hat Enterprise Linux, the Shadowman logo, the Red Hat logo, JBoss, OpenShift,
Fedora, the Infinity logo, and RHCE are trademarks of Red Hat, Inc., registered in the United States
and other countries.
Linux ® is the registered trademark of Linus Torvalds in the United States and other countries.
XFS ® is a trademark of Silicon Graphics International Corp. or its subsidiaries in the United States
and/or other countries.
MySQL ® is a registered trademark of MySQL AB in the United States, the European Union and
other countries.
Node.js ® is an official trademark of Joyent. Red Hat is not formally related to or endorsed by the
official Joyent Node.js open source or commercial project.
The OpenStack ® Word Mark and OpenStack logo are either registered trademarks/service marks
or trademarks/service marks of the OpenStack Foundation, in the United States and other
countries and are used with the OpenStack Foundation's permission. We are not affiliated with,
endorsed or sponsored by the OpenStack Foundation, or the OpenStack community.
Abstract
This document describes the process of installing, upgrading, and uninstalling Red Hat CodeReady
Studio.
Table of Contents
Table of Contents
. . . . . . . . . . . 1.. .MINIMAL
CHAPTER . . . . . . . . . .REQUIREMENTS
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3. . . . . . . . . . . . .
.CHAPTER
. . . . . . . . . . 2.
. . INSTALLING
. . . . . . . . . . . . . .OPENJDK
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .4. . . . . . . . . . . . .
2.1. INSTALLING OPENJDK ON WINDOWS 4
2.1.1. Additional Resources 4
2.2. INSTALLING OPENJDK ON RHEL 4
2.2.1. Installing OpenJDK 1.8.0 on RHEL 4
2.2.2. Installing OpenJDK 11 on RHEL 5
2.2.3. Additional resources 5
.CHAPTER
. . . . . . . . . . 3.
. . INSTALLING
. . . . . . . . . . . . . .CODEREADY
. . . . . . . . . . . . . .STUDIO
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6. . . . . . . . . . . . .
3.1. INSTALLING CODEREADY STUDIO IN ECLIPSE 6
3.1.1. Installing CodeReady Studio in Eclipse when online 6
3.1.2. Installing CodeReady Studio in Eclipse when offline 9
3.2. INSTALLING CODEREADY STUDIO STAND-ALONE USING THE INSTALLER 11
3.3. PERFORMING ADVANCED INSTALLATION TASKS 12
3.3.1. Installing CodeReady Studio using a script 12
3.3.2. Building the CodeReady Studio stand-alone Installer from source 13
.CHAPTER
. . . . . . . . . . 4.
. . .UPGRADING
. . . . . . . . . . . . . CODEREADY
. . . . . . . . . . . . . . STUDIO
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14
..............
4.1. UPGRADING MAJOR VERSIONS OF CODEREADY STUDIO 14
4.2. UPDATING MINOR VERSIONS OF RED HAT CODEREADY STUDIO 14
.CHAPTER
. . . . . . . . . . 5.
. . UNINSTALLING
. . . . . . . . . . . . . . . . . CODEREADY
. . . . . . . . . . . . . . STUDIO
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
..............
5.1. UNINSTALLING RED HAT CODEREADY STUDIO USING ECLIPSE 18
5.2. UNINSTALLING CODEREADY STUDIO USING THE INSTALLER 20
. . . . . . . . . . . 6.
CHAPTER . . .REPORTING
. . . . . . . . . . . . .ISSUES
. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
..............
1
Red Hat CodeReady Studio 12.16 Installation Guide
2
CHAPTER 1. MINIMAL REQUIREMENTS
Hardware requirements
2 GB RAM
Software requirements
Installed OpenJDK.
Fedora 31 or 32
Microsoft Windows 8 or 10
NOTE
On Windows, to make the CodeReady Studio instance available to all users install it in a
folder accessible to all users (C:\codereadystudio). If the main installation folder is not
writable by a given user, any newly installed features and updates get saved inside the
home directory of the user.
3
Red Hat CodeReady Studio 12.16 Installation Guide
Procedure
3. Configure CodeReady Studio to use OpenJDK by following the instructions for Working with
Java Runtime Environments.
Prerequisites
Root access.
Procedure
Optionally, you can install the java-1.8.0-openjdk-src and the java-1.8.0-openjdk-demo packages. The
java-1.8.0-openjdk-src package contains the complete OpenJDK 8 class library source code you can
use with IDE indexers and debuggers. The java-1.8.0-openjdk-demo package contains Java runtimes
for OpenJDK (demos and examples).
4
CHAPTER 2. INSTALLING OPENJDK
Procedure
Optionally, you can install the java-11-openjdk-src and the java-11-openjdk-demo packages. The java-
11-openjdk-src package contains the complete OpenJDK 8 class library source code you can use with
IDE indexers and debuggers. The java-11-openjdk-demo package contains Java runtimes for OpenJDK
(demos and examples).
Troubleshooting
If you are unable to login to OpenShift 4.4.0 cluster, use JDK 8 with SSL protocol set to default or
configure your Java to use TLSv1.2 as your SSL protocol.
5
Red Hat CodeReady Studio 12.16 Installation Guide
Using Eclipse.
Using a script.
From source.
Note that you can have multiple versions of CodeReady Studio installed on your system with Installer or
Eclipse, provided you have these versions located in different directories.
The following section describes how to install CodeReady Studio when you are online and when you are
offline.
Procedure
6
CHAPTER 3. INSTALLING CODEREADY STUDIO
7
Red Hat CodeReady Studio 12.16 Installation Guide
4. Click Install.
IMPORTANT
When prompted to select additional features to install, select the Fuse Tooling
feature for creating, testing, and debugging integration applications.
If you receive warnings about installing unsigned content, review the details of the content and,
if satisfied, click Install Anyway to continue with the installation.
8
CHAPTER 3. INSTALLING CODEREADY STUDIO
6. Restart Eclipse.
When prompted to restart the Eclipse IDE, click Restart Now. Note that the changes do not
take effect until you restart Eclipse.
Note that the Target Platform Zip contains the features on which CodeReady Studio depends. It also
contains the sources of all the included plug-ins.
Prerequisites
Download the Red Hat CodeReady Studio 12.16 Update Site Zipfrom the Red Hat Developer
Portal.
Procedure
9
Red Hat CodeReady Studio 12.16 Installation Guide
3. Click Add.
The Add Repository window appears.
5. Click Add.
6. Select the Red Hat CodeReady Studio - Bring Your Own Eclipseand Red Hat Fuse Tooling
check boxes.
7. Click Next.
10
CHAPTER 3. INSTALLING CODEREADY STUDIO
If you receive warnings about installing unsigned content, review the details of the content and,
if satisfied, click Install Anyway to continue with the installation.
9. Restart Eclipse.
When prompted to restart the Eclipse IDE, click Restart Now. Note that the changes do not
take effect until you restart Eclipse.
The following section describes how to install CodeReady Studio using the Installer.
Procedure
1. Download the Red Hat CodeReady Studio 12.16 Installerfrom the Red Hat Developer Portal .
IMPORTANT
When prompted to select additional features to install, select the Fuse Tooling
feature for creating, testing, and debugging integration applications.
11
Red Hat CodeReady Studio 12.16 Installation Guide
Build the Red Hat CodeReady Studio Installer from the source code.
Procedure
1. Download the Red Hat CodeReady Studio 12.16 Installerfrom the Red Hat Developer Portal .
IMPORTANT
When prompted to select additional features to install, select the Fuse Tooling
feature for creating, testing and debugging integration applications.
12
CHAPTER 3. INSTALLING CODEREADY STUDIO
NOTE
Prerequisites
Maven 3.3 or later with Java 8 must be installed. To obtain and configure Maven, see the
Apache Maven Project.
Procedure
$ cd jbdevstudio-product
When the build is complete, the .jar file for the CodeReady Studio stand-alone Installer is located in the
/jbdevstudio-product/installer/target directory.
13
Red Hat CodeReady Studio 12.16 Installation Guide
Note that you can have multiple versions of CodeReady Studio installed on your system with Installer or
Eclipse, provided you have these versions located in different directories.
The following table details the version of Eclipse supported with each major version of Red Hat
CodeReady Studio:
You may be automatically notified by the IDE when the latest Red Hat CodeReady Studio update is
available, depending on your IDE settings for automatic updates.
IMPORTANT
14
CHAPTER 4. UPGRADING CODEREADY STUDIO
IMPORTANT
Back up your workspace before updating. In addition to your project files, your workspace
contains metadata about customized settings and preferences for the IDE. To back up
your workspace, either copy the workspace directory to a backup location, or save it as a
compressed file.
Procedure
15
Red Hat CodeReady Studio 12.16 Installation Guide
16
CHAPTER 4. UPGRADING CODEREADY STUDIO
Note that the search for updates might take some time.
8. Restart Eclipse.
When prompted to restart Eclipse IDE, click Restart Now. Note that the changes do not take
effect until you restart Eclipse.
17
Red Hat CodeReady Studio 12.16 Installation Guide
Note that you can have multiple versions of CodeReady Studio installed on your system, provided you
have these versions located in different directories.
Procedure
18
CHAPTER 5. UNINSTALLING CODEREADY STUDIO
6. Click Uninstall.
The Confirm Selected Features window appears.
19
Red Hat CodeReady Studio 12.16 Installation Guide
8. Click Confirm.
9. Click Finish.
The Software Updates dialog box appears prompting you to restart Eclipse.
Procedure
$ cd /path-to/codereadystudio/Uninstaller
5. Click Uninstall.
20
CHAPTER 6. REPORTING ISSUES
21