create account

[JAVA #1] [Web Automation #1] Installing the JDK and set JAVA_HOME [CN] by june0620

View this thread on: hive.blogpeakd.comecency.com
· @june0620 · (edited)
$8.87
[JAVA #1] [Web Automation #1] Installing the JDK and set JAVA_HOME [CN]
![redsjavahouse1591357_1280.jpg](https://steemitimages.com/0x0/https://files.steempeak.com/file/steempeak/june0620/DKldjbG3-reds-java-house-1591357_1280.jpg)
image source: [pixabay](https://pixabay.com/photos/red-s-java-house-eatery-cafe-1591357/0)

---

今天开始写下web浏览器自动化有关的内容,身为QA我到现在也没整理过相关的资料,借助steem区块链永久保存一下我的经验。
先开始最基本的吧,安装JDK并设置JAVA_HOME。
![download1.png](https://steemitimages.com/0x0/https://files.steempeak.com/file/steempeak/june0620/Ci3DoChz-download1.png)
👆 1. 首先在 [https://www.oracle.com/technetwork/java/javase/downloads/index.html](https://www.oracle.com/technetwork/java/javase/downloads/index.html)下载JDK。已经是13.0.1了。有没有搞错,这么快13了都。下面也有一个11.0.5(LTS)版本,但不需要了,还要登录,太麻烦,就下载13吧。

![download2.png](https://steemitimages.com/0x0/https://files.steempeak.com/file/steempeak/june0620/3BWa66BK-download2.png)
👆 2. 点击 Accept License Agreement 即可下载文件。

![install1.png](https://steemitimages.com/0x0/https://files.steempeak.com/file/steempeak/june0620/YwMPMNLt-install1.png)
👆 3. 下载后点击安装,只需点击Next即可。

![lacal.png](https://steemitimages.com/0x0/https://files.steempeak.com/file/steempeak/june0620/w760tW1i-lacal.png)
👆 4. 安装完可以在指定路径下看到JDK文件夹。我的电脑路径是 C:\Program Files\Java\jdk-13.0.1

![setting1.png](https://steemitimages.com/0x0/https://files.steempeak.com/file/steempeak/june0620/yIv0hzGL-setting1.png)
👆 5. 其次设置环境变量。(我电脑是韩文系统,没办法,只能截韩文图了,见谅)
在windows 左下角点击搜索按钮并搜索`编辑系统环境变量`,点击搜出来的结果。

![setting2.png](https://steemitimages.com/0x0/https://files.steempeak.com/file/steempeak/june0620/2vYeWGge-setting2.png)
👆 6. 在弹窗的`系统变量` 区点击 `新建`并输入名为`JAVA_HOME`,值为上述 step 4下的路径保存。我电脑的路径为`C:\Program Files\Java\jdk-13.0.1` (不要在`user用户变量`区点击`新建`。)

![setting3.png](https://steemitimages.com/0x0/https://files.steempeak.com/file/steempeak/june0620/2l5vNE2G-setting3.png)
👆 7. 回到环境变量弹窗,在`系统变量`目录下找path双击,再用右上角的`新建`来输入path值`%JAVA_HONE%\bin`。两个 %% 间的值同于 step 6的名字。

![setting4.png](https://steemitimages.com/0x0/https://files.steempeak.com/file/steempeak/june0620/cHbID2kK-setting4.png)
👆 8. 最后在cmd输入java -version,显示版本就说明设置成功

下篇整理一下安装 java IDE Eclipse并创建项目的过程。
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , and 40 others
👎  
properties (23)
authorjune0620
permlinkjava-1-web-automation-testing-1-installing-the-jdk-and-set-javahome-cn
categorykr
json_metadata{"app":"partiko","format":"markdown","tags":["kr","cn","cn-stem","steemstem","zzan","sct","sct-cn","sct-freeboard","palnet","liv","dblog","java","coding","partiko"],"links":["https://pixabay.com/photos/red-s-java-house-eatery-cafe-1591357/0","https://www.oracle.com/technetwork/java/javase/downloads/index.html"],"image":["https://files.steempeak.com/file/steempeak/june0620/DKldjbG3-reds-java-house-1591357_1280.jpg","https://files.steempeak.com/file/steempeak/june0620/Ci3DoChz-download1.png","https://files.steempeak.com/file/steempeak/june0620/3BWa66BK-download2.png","https://files.steempeak.com/file/steempeak/june0620/YwMPMNLt-install1.png","https://files.steempeak.com/file/steempeak/june0620/w760tW1i-lacal.png","https://files.steempeak.com/file/steempeak/june0620/yIv0hzGL-setting1.png","https://files.steempeak.com/file/steempeak/june0620/2vYeWGge-setting2.png","https://files.steempeak.com/file/steempeak/june0620/2l5vNE2G-setting3.png","https://files.steempeak.com/file/steempeak/june0620/cHbID2kK-setting4.png"]}
created2020-01-13 09:41:36
last_update2020-01-17 14:40:00
depth0
children5
last_payout2020-01-20 09:41:36
cashout_time1969-12-31 23:59:59
total_payout_value4.641 HBD
curator_payout_value4.230 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length2,043
author_reputation118,592,211,436,406
root_title"[JAVA #1] [Web Automation #1] Installing the JDK and set JAVA_HOME [CN]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd0
post_id94,351,769
net_rshares32,299,600,724,290
author_curate_reward""
vote details (105)
@annepink ·
@tipu curate
Hi🤭
!shop

Posted using [Partiko Android](https://partiko.app/referral/annepink)
properties (22)
authorannepink
permlinkannepink-re-june0620-java-1-web-automation-testing-1-installing-the-jdk-and-set-javahome-cn-20200113t094559806z
categorykr
json_metadata{"app":"partiko","client":"android"}
created2020-01-13 09:46:00
last_update2020-01-13 09:46:00
depth1
children2
last_payout2020-01-20 09:46:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length93
author_reputation1,030,836,955,620,608
root_title"[JAVA #1] [Web Automation #1] Installing the JDK and set JAVA_HOME [CN]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id94,351,935
net_rshares0
@june0620 ·
谢谢 tipu shop😄😍

Posted using [Partiko Android](https://partiko.app/referral/june0620)
properties (22)
authorjune0620
permlinkjune0620-re-annepink-annepink-re-june0620-java-1-web-automation-testing-1-installing-the-jdk-and-set-javahome-cn-20200113t095218456z
categorykr
json_metadata{"app":"partiko","client":"android"}
created2020-01-13 09:52:18
last_update2020-01-13 09:52:18
depth2
children0
last_payout2020-01-20 09:52:18
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length85
author_reputation118,592,211,436,406
root_title"[JAVA #1] [Web Automation #1] Installing the JDK and set JAVA_HOME [CN]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id94,352,170
net_rshares0
@tipu ·
<a href="https://tipu.online/curator?annepink" target="_blank">Upvoted &#128076;</a> (Mana: 0/15 - <a href="https://steemit.com/steem/@tipu/tipu-curate-project-update-recharging-curation-mana" target="_blank">need recharge</a>?)
properties (22)
authortipu
permlinkre-annepink-re-june0620-java-1-web-automation-testing-1-installing-the-jdk-and-set-javahome-cn-20200113t094559806z-20200113t094613
categorykr
json_metadata""
created2020-01-13 09:46:15
last_update2020-01-13 09:46:15
depth2
children0
last_payout2020-01-20 09:46:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length228
author_reputation55,914,546,531,008
root_title"[JAVA #1] [Web Automation #1] Installing the JDK and set JAVA_HOME [CN]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id94,351,944
net_rshares0
@cnbuddy ·
你那里天气如何?这是哪里?你是谁?我为什么会来这边?你不要给我点赞不要点赞,哈哈哈哈哈哈。感谢支持。
properties (22)
authorcnbuddy
permlinkre-june0620-java-1-web-automation-testing-1-installing-the-jdk-and-set-javahome-cn-20200113t122914317z
categorykr
json_metadata""
created2020-01-13 12:29:15
last_update2020-01-13 12:29:15
depth1
children0
last_payout2020-01-20 12:29:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length50
author_reputation-1,449,160,991,441
root_title"[JAVA #1] [Web Automation #1] Installing the JDK and set JAVA_HOME [CN]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id94,356,777
net_rshares0
@teamcn-shop ·
你好鸭,june0620!
@annepink赠送1枚SHOP币给你!
![](https://cdn.steemitimages.com/DQmadPZSURDoChgXH9xMdFHEHApQBacDnDK1oUJy5MwVgGF/shop.jpg)

目前你总共有: 172枚SHOP币
<p><sup>查看或者交易 <code>SHOP币</code> 请到 <a href="https://steem-engine.com/?p=market&t=SHOP">steem-engine.com</a>.</sup></p>
无聊吗?跟我猜拳吧! **石头,剪刀,布~**
properties (22)
authorteamcn-shop
permlinkannepink-re-june0620-java-1-web-automation-testing-1-installing-the-jdk-and-set-javahome-cn-20200113t094559806z
categorykr
json_metadata"{"app":"teamcn-shop bot/1.0"}"
created2020-01-13 09:46:12
last_update2020-01-13 09:46:12
depth1
children0
last_payout2020-01-20 09:46:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length291
author_reputation11,393,746,055,281
root_title"[JAVA #1] [Web Automation #1] Installing the JDK and set JAVA_HOME [CN]"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id94,351,942
net_rshares0