You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/install-guides/java.md
+70-7Lines changed: 70 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -32,7 +32,13 @@ Below are some of the common methods to install Java. This includes both the Jav
32
32
33
33
Pick the one that works best for you.
34
34
35
-
## Install Java using the Linux package manager
35
+
{{% 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.
37
+
38
+
Check the [OCTLA Signatories List](https://openjdk.org/groups/conformance/JckAccess/jck-access.html) to see who has been granted access to the TCK.
39
+
{{% /notice %}}
40
+
41
+
## Can I install Java using the Linux package manager?
36
42
37
43
For distributions using `apt` - including Debian and Ubuntu:
38
44
@@ -55,7 +61,15 @@ sudo pacman -S jdk-openjdk
55
61
sudo pacman -S jre-openjdk
56
62
```
57
63
58
-
## Install Java using Amazon Corretto
64
+
## Can I install Java using Snap?
65
+
66
+
For Linux distributions with `snap` you can install Java using:
67
+
68
+
```console
69
+
sudo snap install openjdk
70
+
```
71
+
72
+
## How do I install Amazon Corretto?
59
73
60
74
Amazon Corretto is a no-cost distribution of the Open Java Development Kit (OpenJDK). It is maintained and supported by Amazon Web Services (AWS).
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)
71
85
72
-
## Install Java using Snap
86
+
## How do I install the Microsoft Build of OpenJDK?
73
87
74
-
For Linux distributions with `snap` you can install Java using:
88
+
The Microsoft Build of OpenJDK is a no-cost, open source distribution of OpenJDK. It includes Long-Term Support (LTS) binaries for Java 11 and Java 17 and runs on Arm Linux.
89
+
90
+
{{% notice Note %}}
91
+
The Arm architecture is not available in the repositories for the `apt` package manager.
92
+
{{% /notice %}}
93
+
94
+
You can download a tar.gz file from [Download the Microsoft Build of OpenJDK](https://learn.microsoft.com/en-gb/java/openjdk/download)
## Is there a way to install Java from the official website?
108
+
Move the contents to a directory of your choice:
109
+
110
+
```console
111
+
sudo mv jdk-21.0.4+7/ /usr/local
112
+
```
113
+
114
+
Set up environment variables to locate your installation:
115
+
116
+
```console
117
+
export JAVA_HOME=/usr/local/jdk-21.0.4+7
118
+
export PATH=$JAVA_HOME/bin:$PATH
119
+
```
120
+
121
+
Add the environment variables to your `~/.bashrc` file to set them permanently.
122
+
123
+
For more information about the available versions and supported platforms refer to [About the Microsoft Build of OpenJDK](https://learn.microsoft.com/en-gb/java/openjdk/overview).
124
+
125
+
## How do I install Eclipse Temurin from the Adoptium Working Group?
126
+
127
+
The Adoptium Working Group promotes and supports high-quality, TCK certified runtimes and associated technology for use across the Java ecosystem.
128
+
129
+
Eclipse Temurin is the name of the OpenJDK distribution from Adoptium.
For more information about the available versions and supported platforms refer to [Temurin documentation](https://adoptium.net/docs/).
142
+
143
+
## How do I install Java from Oracle?
81
144
82
145
You can download Java from the [Oracle website](https://www.oracle.com/java/technologies/javase-downloads.html) and install it manually. Look for the files with ARM64 in the description.
83
146
@@ -159,7 +222,7 @@ javac 21.0.4
159
222
160
223
## Which version of Java should I use for Arm Linux systems?
161
224
162
-
It’s important to ensure that your version of Java is at least 11.0.9. There are large performance improvements starting from version 11.0.9. Since then, 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 will provide better performance.
Copy file name to clipboardExpand all lines: content/install-guides/sysbox.md
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -29,23 +29,23 @@ multitool_install_part: false # Set to true if a sub-page of a multi-page arti
29
29
layout: installtoolsall # DO NOT MODIFY. Always true for tool install articles
30
30
---
31
31
32
-
[Sysbox](https://github.com/nestybox/sysbox/blob/master/README.md) enables you to use Docker containers for workloads that typically require virtual machines. Containers run with Sysbox are able to run software that relies on the [systemd System and Service Manager](https://systemd.io/)which is not usually present in containers, and it does this without the need for a full virtual machine and hardware emulation.
32
+
[Sysbox](https://github.com/nestybox/sysbox/blob/master/README.md) enables you to use Docker containers for workloads that typically require virtual machines. Containers run with Sysbox are able to run software that relies on the [systemd System and Service Manager](https://systemd.io/)that is not usually present in containers, and it does this without the need for a full virtual machine and hardware emulation.
33
33
34
-
Running Docker inside Docker and Kubernetes inside Docker are also Sysbox use cases. Without Sysbox, these are difficult because the Docker daemon requires systemd.
34
+
Running Docker inside Docker, and Kubernetes inside Docker, are also Sysbox use cases. Without Sysbox, these are difficult because the Docker daemon requires systemd.
35
35
36
36
In summary, Sysbox is a powerful container runtime that provides many of the benefits of virtual machines without the overhead of running a full VM. It is good for workloads that require the ability to run system-level software.
37
37
38
38
## What do I need to run Sysbox?
39
39
40
-
Sysbox runs on Linux and has support for Arm.
40
+
Sysbox runs on Linux and supports Arm.
41
41
42
-
There are some limitations for older versions of Linux, but recent Linux versions do not require any special consideration.
42
+
Sysbox has limited suppot for older versions of Linux, but recent Linux versions are easily compatible.
43
43
44
-
If you are unsure about your Linux distribution and Linux kernel version you can check [Sysbox Distro Compatibility](https://github.com/nestybox/sysbox/blob/master/docs/distro-compat.md)
44
+
If you are unsure about your Linux distribution and Linux kernel version, you can check [Sysbox Distro Compatibility](https://github.com/nestybox/sysbox/blob/master/docs/distro-compat.md)
45
45
46
-
Sysbox is a container runtime, so Docker is required before installing Sysbox.
46
+
Sysbox is a container runtime, and so Docker is required before installing Sysbox.
47
47
48
-
In most cases you can install Docker on Arm Linux with the the commands:
48
+
In most cases, you can install Docker on Arm Linux with the commands:
49
49
50
50
```bash
51
51
curl -fsSL get.docker.com -o get-docker.sh && sh get-docker.sh
Refer to the [Docker install guide](/install-guides/docker/docker-engine/) for more information.
56
56
57
-
Sysbox can be used on a virtual machine from a [cloud service provider](/learning-paths/servers-and-cloud-computing/intro/find-hardware/), a Raspberry Pi 5, or any other Arm Linux computer.
57
+
You can use Sysbox on a virtual machine from a [cloud service provider](/learning-paths/servers-and-cloud-computing/intro/find-hardware/), a Raspberry Pi 5, or any other Arm Linux-based computer.
58
58
59
59
## How do I install Sysbox?
60
60
@@ -72,27 +72,27 @@ Install the package using the `apt` command:
If you are not using a Debianbased Linux distribution, there are instructions to build Sysbox from source code. Refer to [Sysbox Developer's Guide: Building & Installing](https://github.com/nestybox/sysbox/blob/master/docs/developers-guide/build.md) for details.
75
+
If you are not using a Debian-based Linux distribution, you can use instructions to build Sysbox from the source code. Refer to [Sysbox Developer's Guide: Building & Installing](https://github.com/nestybox/sysbox/blob/master/docs/developers-guide/build.md) for further information.
76
76
77
-
Run `systemctl` to confirm is Sysbox is running:
77
+
Run `systemctl` to confirm if Sysbox is running:
78
78
79
79
```bash
80
80
systemctl list-units -t service --all | grep sysbox
81
81
```
82
82
83
-
If Sysbox is running, you should see the output:
83
+
If Sysbox is running, you see the output:
84
84
85
85
```output
86
86
sysbox-fs.service loaded active running sysbox-fs (part of the Sysbox container runtime)
87
87
sysbox-mgr.service loaded active running sysbox-mgr (part of the Sysbox container runtime)
88
88
sysbox.service loaded active running Sysbox container runtime
89
89
```
90
90
91
-
## How can I quickly try Sysbox?
91
+
## How can I get set up with Sysbox quickly?
92
92
93
-
You can try Sysbox by creating a container image which includes systemd and Docker.
93
+
You can try Sysbox by creating a container image that includes systemd and Docker.
94
94
95
-
Use a text editor to copy the text below to a file named `Dockerfile`.
95
+
Use a text editor to copy the text below to a file named `Dockerfile`:
96
96
97
97
```console
98
98
FROM ubuntu:24.04
@@ -130,15 +130,15 @@ Use Sysbox as the container runtime to create a new container:
130
130
docker run --runtime=sysbox-runc -it -P --hostname=sbox sysbox-test
131
131
```
132
132
133
-
The animated output below shows the Linux init process running. You can log in with the password `ubuntu` (or change it in the Dockerfile above).
133
+
The animated output below shows the Linux init process running. You can log in with the password `ubuntu`, or change it in the Dockerfile above.
134
134
135
-
Docker can be used inside the container and the SSH server also works as expected. Both are possible because systemd is running in the container.
135
+
You can use Docker inside the container and the SSH server operates as expected. Both are possible because systemd is running in the container.
## How can I use SSH to connect to a Sysbox container?
140
140
141
-
To connect using SSH, you can identify the IP address of your Sysbox container in two ways, from inside the container or from outside the container.
141
+
To connect using SSH, you can identify the IP address of your Sysbox container in two alternative ways, from inside the container, or from outside the container.
142
142
143
143
To find the IP address from inside the container use the `ifconfig` command:
144
144
@@ -183,7 +183,7 @@ CONTAINER ID IMAGE COMMAND CREATED STATUS
183
183
3a42487cddc0 sysbox-test "/sbin/init --log-le…" 10 minutes ago Up 10 minutes 0.0.0.0:32768->22/tcp, [::]:32768->22/tcp determined_hopper
184
184
```
185
185
186
-
Look in the `PORTS` column for the port number which is connected to port 22 of the container, in this example it is 32768. You can use `localhost`, `0.0.0.0` or the actual IP of your machine with the identified port.
186
+
Look in the `PORTS` column for the port number that is connected to port 22 of the container, in this example it is 32768. You can use `localhost`, `0.0.0.0` or the actual IP of your machine with the identified port.
187
187
188
188
SSH to the container using the connected port:
189
189
@@ -199,4 +199,4 @@ You can exit the Sysbox container using:
199
199
sudo halt
200
200
```
201
201
202
-
Sysbox feels like a virtual machine and can be used to run applications that require system services normally not available in containers. It is useful for testing and development tasks because the container changes are not saved. This is a good way to create a clean testing environment simply by restarting the Sysbox container.
202
+
Sysbox behaves like a virtual machine and you can use it to run applications that require system services normally not available in containers. It is useful for testing and development tasks because the container changes are not saved, meaning that you can create a clean testing environment simply by restarting the Sysbox container.
0 commit comments