Skip to content

Commit babb20f

Browse files
authored
Merge pull request #1310 from madeline-underwood/java
Java_IG_update_refresh_NS to check
2 parents 495990a + f00444e commit babb20f

File tree

1 file changed

+22
-22
lines changed

1 file changed

+22
-22
lines changed

content/install-guides/java.md

Lines changed: 22 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -22,39 +22,39 @@ layout: installtoolsall
2222

2323
Java is a high-level, object-oriented programming language first released by Sun Microsystems in 1995.
2424

25-
It is designed to have as few implementation dependencies as possible, making it a versatile and widely-used language.
25+
Its aim is to have as few implementation dependencies as possible, making it a versatile and widely-used language.
2626

2727
## Is Java available for Arm Linux?
2828

2929
Yes, there are numerous ways to install Java on Arm Linux distributions.
3030

31-
Below are some of the common methods to install Java. This includes both the Java runtime environment (JRE), which is used to run Java applications and the Java development kit (JDK) which is used to create Java applications.
31+
Below are some of the common methods that you can use to install Java. This includes both the Java runtime environment (JRE), which is used to run Java applications, and the Java Development Kit (JDK), which is used to create Java applications.
3232

3333
Pick the one that works best for you.
3434

3535
{{% notice Note %}}
36-
The Java Technology Compatibility Kit (TCK) is a test suite that verifies whether a Java implementation conforms to the Java SE Platform Specification. It's a crucial tool for ensuring that Java applications can run consistently across different platforms and implementations.
36+
The Java Technology Compatibility Kit (TCK) is a test suite that you can use to verify whether a Java implementation conforms to the Java SE Platform Specification. It is a crucial tool for ensuring that Java applications can run consistently across different platforms and implementations.
3737

3838
Check the [OCTLA Signatories List](https://openjdk.org/groups/conformance/JckAccess/jck-access.html) to see who has been granted access to the TCK.
3939
{{% /notice %}}
4040

4141
## Can I install Java using the Linux package manager?
4242

43-
For distributions using `apt` - including Debian and Ubuntu:
43+
For distributions using `apt`, including Debian and Ubuntu, you can install Java using this code:
4444

4545
```console
4646
sudo apt update
4747
sudo apt install default-jre -y
4848
sudo apt install default-jdk -y
4949
```
5050

51-
For distributions using `dnf` - including Fedora and Red Hat:
51+
For distributions using `dnf`, including Fedora and Red Hat, you can install Java using this code:
5252

5353
```console
5454
sudo dnf install java-latest-openjdk
5555
```
5656

57-
For distributions using `pacman` - including Arch and Manjaro:
57+
For distributions using `pacman`, including Arch and Manjaro, you can install Java using this code:
5858

5959
```console
6060
sudo pacman -S jdk-openjdk
@@ -63,7 +63,7 @@ sudo pacman -S jre-openjdk
6363

6464
## Can I install Java using Snap?
6565

66-
For Linux distributions with `snap` you can install Java using:
66+
For Linux distributions using `snap`, you can install Java using this code:
6767

6868
```console
6969
sudo snap install openjdk
@@ -81,7 +81,7 @@ echo "deb [signed-by=/usr/share/keyrings/corretto-keyring.gpg] https://apt.corre
8181
sudo apt-get update; sudo apt-get install -y java-21-amazon-corretto-jdk
8282
```
8383

84-
More installation options for Corretto are available in the [Amazon Corretto 21 Guide for Linux](https://docs.aws.amazon.com/corretto/latest/corretto-21-ug/linux-info.html)
84+
You can find out more about the installation options for Corretto in the [Amazon Corretto 21 Guide for Linux](https://docs.aws.amazon.com/corretto/latest/corretto-21-ug/linux-info.html).
8585

8686
## How do I install the Microsoft Build of OpenJDK?
8787

@@ -124,7 +124,7 @@ For more information about the available versions and supported platforms refer
124124

125125
## How do I install Eclipse Temurin from the Adoptium Working Group?
126126

127-
The Adoptium Working Group promotes and supports high-quality, TCK certified runtimes and associated technology for use across the Java ecosystem.
127+
The Adoptium Working Group promotes and supports high-quality, TCK-certified runtimes and associated technology for use across the Java ecosystem.
128128

129129
Eclipse Temurin is the name of the OpenJDK distribution from Adoptium.
130130

@@ -175,7 +175,7 @@ Yes, you can change the default version. For systems with `apt` use:
175175
sudo update-alternatives --config java
176176
```
177177

178-
You will be given the option to select a new version. The options are depend on the software currently installed on your computer.
178+
You will be given the option to select a new version. The options are dependent on the software currently installed on your computer.
179179

180180
```output
181181
There are 3 choices for the alternative java (providing /usr/bin/java).
@@ -190,11 +190,11 @@ There are 3 choices for the alternative java (providing /usr/bin/java).
190190
Press <enter> to keep the current choice[*], or type selection number:
191191
```
192192

193-
For this case, if you select option 1, Java 17 becomes the default.
193+
In this example, if you select option 1, Java 17 becomes the default.
194194

195195
## How do I print the Java version?
196196

197-
Print the version of the Java runtime:
197+
Print the version of the Java runtime, by running:
198198

199199
```console
200200
java -version
@@ -222,27 +222,27 @@ javac 21.0.4
222222

223223
## Which version of Java should I use for Arm Linux systems?
224224

225-
For performance and security, it’s important to ensure that your version of Java is at least 11.0.12. Earlier versions lack significant performance improvements. Java performance has steadily increased over time and newer versions will provide better performance.
225+
For performance and security, it’s important to ensure that your version of Java is at least 11.0.12. Earlier versions lack significant performance improvements. Java performance has steadily increased over time and newer versions provide improved performance.
226226

227227
## Which flags are available for tuning the JVM?
228228

229-
The Java virtual machine (JVM) includes a number of flags which are available to tune performance and aid in debugging. Some of the flags are general purpose and some are Arm architecture specific.
229+
The Java Virtual Machine (JVM) includes a number of flags which are available to tune performance and aid in debugging. Some of the flags are general-purpose and some are Arm architecture-specific.
230230

231-
To print the final values of the flags after the JVM has been initialized run:
231+
To print the final values of the flags after the JVM has been initialized, run:
232232

233233
```console
234234
java -XX:+PrintFlagsFinal -version
235235
```
236236

237237
## Are there other tools commonly used in Java projects?
238238

239-
There are a number of Java related tools you may want to install.
239+
There are a number of Java-related tools you might like to install.
240240

241241
### Apache Maven
242242

243243
Apache Maven is a powerful build automation tool primarily used for Java projects.
244244

245-
It simplifies the build process by providing a uniform build system, dependency management, and project management capabilities.
245+
It simplifies the build process by providing a uniform build system, with dependency and project management capabilities.
246246

247247
You can install it from the `apt` package manager:
248248

@@ -299,11 +299,11 @@ The output is similar to:
299299
Welcome to Gradle 8.10!
300300
301301
Here are the highlights of this release:
302-
- Support for Java 23
303-
- Faster configuration cache
304-
- Better configuration cache reports
302+
- Support for Java 23.
303+
- Faster configuration cache.
304+
- Improved configuration cache reports.
305305
306-
For more details see https://docs.gradle.org/8.10/release-notes.html
306+
For further information, see https://docs.gradle.org/8.10/release-notes.html.
307307
308308
309309
------------------------------------------------------------
@@ -387,4 +387,4 @@ INFO: Created user preferences directory.
387387
Copyright (c) 1999-2024 The Apache Software Foundation
388388
```
389389

390-
You are ready to use Java on your Arm Linux system.
390+
You are ready to use Java on your Arm Linux system.

0 commit comments

Comments
 (0)