---
title: 安装openJDK
description: "1. 使用PuTTY工具，以root用户登录服务器。"
url: https://www.hikunpeng.com/document/detail/zh/kunpenghpcs/hpcindapp/prtg-osc/kunpengfastqc_02_0005.html
sourcePath: /source/zh/kunpenghpcs/hpcindapp/prtg-osc/kunpengfastqc_02_0005.html
indexId: 94c74510b0b1916c15c08a7911ef35ef7cc2d397a935f610c5ea8308e278c89c68
---
# 安装openJDK

#### 操作步骤

1. 使用PuTTY工具，以root用户登录服务器。
2. 执行以下命令，检查系统是否安装openJDK，如有则跳过3。

```
java -version
```


  FastQC要求openJDK版本需要1.6.0以上，否则可能会出现兼容性问题。

3. 执行以下命令，安装openJDK。

```
yum install java* -y
```
