-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #905 from windup/MTA-3533
Adding new procedures to the Eclipse doc
- Loading branch information
Showing
5 changed files
with
186 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
25 changes: 25 additions & 0 deletions
25
docs/topics/adding-jboss-tools-dependencies-for-the-mta-plug-in.adoc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
:_newdoc-version: 2.18.3 | ||
:_template-generated: 2024-09-24 | ||
:_mod-docs-content-type: PROCEDURE | ||
|
||
[id="adding-jboss-tools-dependencies-for-the-mta-plug-in_{context}"] | ||
= Adding Jboss Tools dependencies for the {ProductShortName} plug-in | ||
|
||
JBoss Tools dependencies are required by Eclipse during the {ProductFullName} plug-in installation process. | ||
|
||
.Prerequisites | ||
|
||
* You have the Java Development Kit (JDK) installed on your system. For more information, see xref:installing-java-development-kit_eclipse-code-ready-studio-guide[Installing Java Development Kit]. {ProductShortName} supports the following JDKs: | ||
|
||
* OpenJDK 11 | ||
* OpenJDK 17 | ||
* Oracle JDK 11 | ||
* Oracle JDK 17 | ||
* Eclipse Temurin™ JDK 11 | ||
* Eclipse Temurin™ JDK 17 | ||
|
||
.Procedure | ||
|
||
. Launch Eclipse. | ||
. From the menu bar, select *Help Install New Software*. | ||
. Add the JBoss Tools update website by specifying the `\https://download.jboss.org/jbosstools/photon/development/updates/` location. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
:_newdoc-version: 2.18.3 | ||
:_template-generated: 2024-09-24 | ||
:_mod-docs-content-type: PROCEDURE | ||
|
||
[id="installing-eclipse_{context}"] | ||
= Installing Eclipse | ||
|
||
Eclipse is an integrated development environment (IDE) that you can use to install the {ProductFullName} plug-in used for migrating and modernizing applications. | ||
|
||
.Prerequisites | ||
|
||
* You have the Java Development Kit (JDK) installed on your system. For more information, see xref:installing-java-development-kit_eclipse-code-ready-studio-guide[Installing Java Development Kit]. {ProductShortName} supports the following JDKs: | ||
|
||
** OpenJDK 11 | ||
** OpenJDK 17 | ||
** Oracle JDK 11 | ||
** Oracle JDK 17 | ||
** Eclipse Temurin™ JDK 11 | ||
** Eclipse Temurin™ JDK 17 | ||
|
||
.Procedure | ||
|
||
. From the link:https://www.eclipse.org/downloads/packages/release/2024-03/r[Eclipse download page], download the required Eclipse IDE `tar.gz` file, for example, *Eclipse IDE for Java Developers*. | ||
. Extract the `tar.gz` file: | ||
+ | ||
[source,terminal,subs="attributes+"] | ||
---- | ||
$ tar -xzf <file_name>.tar.gz | ||
---- | ||
|
||
. Optional: To make Eclipse available system-wide, move the extracted folder to the `/opt` directory: | ||
+ | ||
[source,terminal,subs="attributes+"] | ||
---- | ||
$ sudo mv eclipse /opt/eclipse | ||
---- | ||
|
||
. Optional: To make Eclipse launch from the command line, create a symbolic link to the executable: | ||
+ | ||
[source,terminal,subs="attributes+"] | ||
---- | ||
$ sudo ln -s /opt/eclipse/eclipse /usr/bin/eclipse | ||
---- | ||
|
||
. Optional: To launch Eclipse from you application menu, create a desktop entry: | ||
|
||
.. Create a new `eclipse.desktop` file: | ||
+ | ||
[source,terminal,subs="attributes+"] | ||
---- | ||
sudo nano /usr/share/applications/eclipse.desktop | ||
---- | ||
|
||
.. Add the following content to the `eclipse.desktop` file: | ||
+ | ||
[source,terminal,subs="attributes+"] | ||
---- | ||
[Desktop Entry] | ||
Name=Eclipse IDE 2024-03 | ||
Type=Application | ||
Exec=/opt/eclipse/eclipse | ||
Terminal=false | ||
Icon=/opt/eclipse/icon.xpm | ||
Comment=Intergrated DEvelopment Environment | ||
NoDisplay=false | ||
Categories=Development;IDE; | ||
Name[en]=Eclipse IDE 2024-03 | ||
---- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
:_newdoc-version: 2.18.3 | ||
:_template-generated: 2024-09-24 | ||
:_mod-docs-content-type: PROCEDURE | ||
|
||
[id="installing-java-development-kit_{context}"] | ||
= Installing Java Development Kit | ||
|
||
You must have the Java Development Kit (JDK) installed on your system prior to installing the Eclipse integrated development environment (IDE). {ProductFullName} supports the following JDKs: | ||
|
||
* OpenJDK 11 | ||
* OpenJDK 17 | ||
* Oracle JDK 11 | ||
* Oracle JDK 17 | ||
* Eclipse Temurin™ JDK 11 | ||
* Eclipse Temurin™ JDK 17 | ||
|
||
.Procedure | ||
|
||
. From the link:https://www.oracle.com/java/technologies/downloads/#java11[Oracle JDK download page], download the JDK `tar.gz` file suitable for your system. | ||
+ | ||
[NOTE] | ||
==== | ||
You need to accept the Oracle license agreement to proceed. | ||
==== | ||
+ | ||
Alternatively, you can download JDK by using the command-line interface: | ||
+ | ||
[source,terminal,subs="attributes+"] | ||
---- | ||
$ wget https://download.oracle.com/java/11/latest/<jdk-file> | ||
---- | ||
|
||
. Extract the `tar.gz` file: | ||
+ | ||
[source,terminal,subs="attributes+"] | ||
---- | ||
$ tar -xzf <jdk-file> | ||
---- | ||
|
||
. Optional: To make JDK available system-wide, move the extracted folder to the `/opt` directory: | ||
+ | ||
[source,terminal,subs="attributes+"] | ||
---- | ||
$ sudo mv <jdk-extracted-folder> /opt/<jdk-file> | ||
---- | ||
|
||
. Set up the `JAVA_HOME` environment variable and add the JDK `bin` directory to the `PATH` variable: | ||
|
||
.. Open the `.bashrc` file: | ||
+ | ||
[source,terminal,subs="attributes+"] | ||
---- | ||
$ nano ~/.bashrc | ||
---- | ||
|
||
.. Add the following lines to the file: | ||
+ | ||
[source,terminal,subs="attributes+"] | ||
---- | ||
export JAVA_HOME=/opt/<jdk-file> | ||
export PATH=$PATH:$JAVA_HOME/bin | ||
---- | ||
|
||
.. Save the file and close it. | ||
.. To apply the new changes, reload the file: | ||
+ | ||
[source,terminal,subs="attributes+"] | ||
---- | ||
$ source ~/.bashrc | ||
---- | ||
|
||
|
||
.Verification | ||
|
||
* Use the `java --version` command to verify the installed JDK version: | ||
+ | ||
[source,terminal,subs="attributes+"] | ||
---- | ||
$ java --version | ||
---- |