Red Hat Jboss Developer Studio 10.1 Installation Guide
Total Page:16
File Type:pdf, Size:1020Kb
Red Hat JBoss Developer Studio 10.1 Installation Guide Installing Red Hat JBoss Developer Studio Misha Husnain Ali Supriya Bharadwaj Red Hat Developer Group Documentation Team Red Hat JBoss Developer Studio 10.1 Installation Guide Installing Red Hat JBoss Developer Studio Misha Husnain Ali [email protected] Supriya Bharadwaj [email protected] Legal Notice Copyright © 2017 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, 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. Java ® is a registered trademark of Oracle and/or its affiliates. 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 Software Collections 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. All other trademarks are the property of their respective owners. Abstract Information for users installing Red Hat JBoss Developer Studio. This guide describes all prerequisites for a successful installation of the product followed by a number of installation methods, including how to use your existing installation of Eclipse. Table of Contents Table of Contents .C .H . A. P. .T .E .R . .1 .. .I N. .T .R .O . D. .U .C . I.N . G. .J .B . O. .S .S . .D .E . V. E. .L .O . P. E. R. S. T. .U .D . I.O . .I N. S. .T .A .L . L. A. T. .I O. N. O. .P .T .I O. .N . S. .3 . .C .H . A. P. .T .E .R . .2 .. .U . N. D. .E .R . S. T. A. .N . D. I.N . G. J. B. O. .S . S. .D . E. V. E. .L .O . P. E. .R . S. .T .U .D . I.O . .I N. S. .T .A . L. L. A. .T .I O. .N . P. .R .E . R. E. .Q . U. I.S . I.T .E .S . .4 . 2.1. HARDWARE AND SOFTWARE REQUIREMENTS 4 2.2. INSTALLING OPENJDK 8 4 .C .H . A. P. .T .E .R . .3 .. .I N. .S .T .A . L. L. I.N . G. J. B. O. .S .S . .D .E . V. E. .L .O . P. E. .R . S. .T .U .D . I.O . .B .Y . O. .E . W. .H . E. N. O. .N .L . I.N .E . .6 . .C .H . A. P. .T .E .R . .4 .. .I N. .S .T .A . L. L. I.N . G. J. B. O. .S .S . .D .E . V. E. .L .O . P. E. .R . S. .T .U .D . I.O . .B .Y . O. .E . W. .H . E. N. O. .F .F .L .I N. .E . .7 . .C .H . A. P. .T .E .R . .5 .. .I N. .S .T .A . L. L. I.N . G. J. B. O. .S .S . .D .E . V. E. .L .O . P. E. .R . S. .T .U .D . I.O . .S .T .A . N. .D .- A. .L .O . N. .E . .8 . .C .H . A. P. .T .E .R . .6 .. .I N. .S .T .A . L. L. I.N . G. J. B. O. .S .S . .D .E . V. E. .L .O . P. E. .R . S. .T .U .D . I.O . .S .T .A . N. .D .- A. .L .O . N. .E . A. .N .D . .R .E . D. H. A. .T . J. B. .O .S . S. .E . A. P. .9 . .C .H . A. P. .T .E .R . .7 .. .U . P. G. .R .A . D. .I N. G. J. B. .O .S . S. .D . E. V. .E .L .O . P. .E .R . .S .T .U . D. I.O . .1 .0 . 7.1. UPGRADING MAJOR VERSIONS OF JBOSS DEVELOPER STUDIO 10 7.2. UPDATING MINOR VERSIONS OF JBOSS DEVELOPER STUDIO 10 .C .H . A. P. .T .E .R . .8 .. .P .E . R. F. .O .R . M. .I N. .G . A. .D . V. A. .N .C . E. D. I.N . S. T. A. .L .L .A . T. I.O . N. .T . A. S. .K .S . .1 .2 . 8.1. INSTALLING JBOSS DEVELOPER STUDIO VIA A SCRIPT 12 8.2. BUILDING THE JBOSS DEVELOPER STUDIO STAND-ALONE INSTALLER FROM SOURCE 12 .C .H . A. P. .T .E .R . .9 .. .R . E. P. O. .R . T. I.N . G. .I S. .S .U . E. S. F. R. O. .M . .W . .I T. H. .I N. .J .B . O. .S .S . D. .E .V . E. L. O. .P . E. R. S. T. U. .D .I O. .1 .4 . 1 Red Hat JBoss Developer Studio 10.1 Installation Guide 2 CHAPTER 1. INTRODUCING JBOSS DEVELOPER STUDIO INSTALLATION OPTIONS CHAPTER 1. INTRODUCING JBOSS DEVELOPER STUDIO INSTALLATION OPTIONS Red Hat JBoss Developer Studio is provided in two variants thaty you can use depending on your circumstance: stand-alone and Bring-Your-Own-Eclipse (BYOE). JBoss Developer Studio stand- alone packages the JBoss Developer Studio plug-ins with Eclipse and dependent third-party plug-ins in an installer for all operating systems. JBoss Developer Studio BYOE packages the JBoss Developer Studio plug-ins for installing in your existing Eclipse instance. There are a variety of ways of installing each JBoss Developer Studio variant, and instructions are given here for completing the following tasks: Chapter 3, Installing JBoss Developer Studio BYOE when Online Chapter 4, Installing JBoss Developer Studio BYOE when Offline Chapter 5, Installing JBoss Developer Studio Stand-alone Chapter 6, Installing JBoss Developer Studio Stand-alone and Red Hat JBoss EAP Note You can also install devstudio as part of Red Hat Development Suite. The Development Suite Installer installs the following components: OpenJDK 1.8.0 Red Hat JBoss Developer Studio 10.1 Cygwin 2.5.1 Red Hat Container Development Kit 2.2 Vagrant 1.7.4 VirtualBox 5.0.8 Note that currently only 64-bit versions of Windows 7, 8, and 10 are supported. For instructions on installing Development Suite, see the Red Hat Development Suite Installation Guide. 3 Red Hat JBoss Developer Studio 10.1 Installation Guide CHAPTER 2. UNDERSTANDING JBOSS DEVELOPER STUDIO INSTALLATION PREREQUISITES 2.1. HARDWARE AND SOFTWARE REQUIREMENTS JBoss Developer Studio 10.1 requires Java 8 to run. Before commencing the installation of devstudio, make sure that Java 8 is installed on your system. JBoss Developer Studio 10.1 is supported for use with a range of operating system, architecture, and Java developer kit combinations; for a complete list, see https://access.redhat.com/articles/427493 on the Red Hat Customer Portal. To install and run JBoss Developer Studio 10.1, the following is recommended: 4 GB RAM (minimum 2 GB RAM) 2 GB of hard disk space 2.2. INSTALLING OPENJDK 8 Unless you already have Java 8 installed on your system, use the OpenJDK distribution provided by Red Hat. This section describes how to install OpenJDK by Red Hat on Microsoft Windows and Red Hat Enterprise Linux. 2.2.1. Installing OpenJDK on Microsoft Windows Note Currently, only 64-bit versions of Windows 7, 8, and 10 are supported. To install OpenJDK 1.8.0 on Windows using the MSI-based installer: 1. Download the MSI-based installer from: http://developers.redhat.com/products/openjdk/overview/. 2. Run the installer and follow the on-screen instructions to install. 3. To configure JBoss Developer Studio to use OpenJDK, follow the instructions at Working with JREs. 2.2.2. Installing OpenJDK on Red Hat Enterprise Linux To install OpenJDK 1.8.0 on Red Hat Enterprise Linux: Note All the commands in the following procedure must be run as the root user. 4 CHAPTER 2. UNDERSTANDING JBOSS DEVELOPER STUDIO INSTALLATION PREREQUISITES 1. Register and subscribe the system by running the following command: # subscription-manager register 2. When prompted, enter your Red Hat Customer Portal user name and password. 3. To find a suitable subscription, such as Developer Subscription, run the following command: # subscription-manager list --available This command lists the available subscriptions and details of the subscriptions. Note down the pool ID of the appropriate subscription. 4. To attach a subscription to your system, run the following command: # subscription-manager attach --pool=<pool id from previous command> 5. To install OpenJDK RPMs: # yum install java-1.8.0-openjdk-devel Note Install the java-1.8.0-openjdk-demo package for examples of Java applications and the java-1.8.0-openjdk-src package to debug your applications. Both packages are available from the Optional repository. Use the following command to enable that repository on your system: # subscription-manager repos --enable=rhel-7-server- optional-rpms Substitute the version number in the above command with 6 if you use Red Hat Enterprise Linux 6.