Recently I bought a new desktop system and installed Windows 7 Ultimate 64-bit on it. Being a Java Developer, the first thing I did after the regular setup is to download and install JDK.

最近,我购买了一个新的台式机系统,并在其上安装了Windows 7 Ultimate 64位。 作为Java开发人员,常规设置后我要做的第一件事是下载并安装JDK 。

I was using Windows XP, Solaris, or Mac OS for my development purpose till now. I was installing Java for the first time on Windows 7 64-bit OS.

到目前为止,我一直使用Windows XP,Solaris或Mac OS进行开发。 我是在Windows 7 64位操作系统上首次安装Java。

在Windows 7上安装Java (Install Java on Windows 7)

Here I am providing steps to download, install, and configure Java in Windows 7 64-bit operating system.

在这里,我提供了在Windows 7 64位操作系统中下载,安装和配置Java的步骤。

Step 1: Go to JDK 14 Release Page. Download the zip file for the “Windows/x64” build.

步骤1 :转到JDK 14 Release Page 。 下载用于“ Windows / x64”构建的zip文件。

JDK 14 Build for Windows
Windows的JDK 14 Build

Step 2: Unzip the downloaded ZIP file (jdk-14.0.1) and copy it to the program files folder.

步骤2 :解压缩下载的ZIP文件( jdk-14.0.1 ),并将其复制到program files文件夹中。

Step 3: Setting up environment variables so that we can execute java commands from the command prompt.

For this, go to Control Panel > System > Advanced system settings. In the “System Properties” pop up, go to the Advanced tab and click on the “Environment Variables” button.

In the System Variables section, we have to set JAVA_HOME and edit the Path variable. Variable name and values are:

JAVA_HOME=C:\Program Files\jdk-14.0.1

Add “;%JAVA_HOME%\bin” to the Path variable. Click on the Ok button to save it.

步骤3 :设置环境变量,以便我们可以从命令提示符处执行Java命令。

为此,请转到控制面板>系统>高级系统设置。 在“系统属性”弹出窗口中,转到“高级”选项卡,然后单击“环境变量”按钮。

在系统变量部分,我们必须设置JAVA_HOME并编辑 Path变量。 变量名称和值是:

JAVA_HOME = C:\ Program Files \ jdk-14.0.1

将“;%JAVA_HOME%\ bin”添加到Path变量。 单击确定按钮将其保存。

Step 4: Now we can run java commands from the command prompt. You can check it by executing the “java -version” command. It will print the current Java version.

步骤4:现在我们可以从命令提示符下运行Java命令。 您可以通过执行“ java -version ”命令进行检查。 它将打印当前的Java版本。

重要事项 (Important Points)

  • From JDK 12 onwards, Oracle JDK requires a license to use in production and commercial applications. So, if you want to use Java free of cost, use OpenJDK.从JDK 12开始,Oracle JDK需要许可证才能在生产和商业应用程序中使用。 因此,如果您想免费使用Java,请使用OpenJDK。
  • If you need paid support, then you can use OracleJDK and opt for their paid license.如果您需要付费支持,则可以使用OracleJDK并选择其付费许可。

翻译自: https://www.journaldev.com/177/installing-java-on-windows-7-ultimate-64-bit

在Windows 7 Ultimate 64位上安装Java相关推荐

  1. oracle 10g r2 64下载,Windows 2008 R2 64位上安装Oracle 10g 64位

    自从关闭掉51cto博客之后,再也没发布技术相关文章,但很欣慰地发现自己以前发布的文章还依然能够帮助到各位好学的Iter.本次发布此文章是因最近在做一个项目需将本地服务迁移至云端,而我们本地服务器在搭 ...

  2. 在Windows Server 2008 R2(64位)上安装SharePoint 2007出现的一个错误的解决方法

    昨天在 Windows Server 2008 R2(64位)上安装 SharePoint2007,没想到压缩包解压完毕后立即弹出一个错误提示框: 提示:"Internet 信息服务(IIS ...

  3. Ubuntu 14.04 64位上安装wps office软件

    废话少说,只给出方法供各位参考!wps for Linux版本已经有两三年没有大的动作,当然其他平台,比如windows,Android,ios上的wps效果还是很赞的说. 下面是我成功安装的步骤: ...

  4. kali debian 安装mysql_在Kali Linux和Debian 8/9 64位上安装Wine的方法

    本文介绍在Kali Linux和Debian 8/9 64位系统上安装Wine的简单方法,其它系统参考在Ubuntu 18.04/Linux Mint 19中安装Wine 4的方法. 在Kali Li ...

  5. linux64位离线安装wine,如何在Ubuntu Linux 64位上安装Wine

    以下linux命令该过程可用于在Ubuntu Linux amd64上将Wine安装Microsoft Windows兼容层(二进制仿真器和库).如果您正在运行64位Ubuntu Linux系统以安装 ...

  6. Go在windows10 64位上安装过程

    1. 从 https://golang.org/dl/ 下载最新的发布版本go1.10即go1.10.windows-amd64.msi; 2. 双击go1.10.windows-amd64.msi ...

  7. 在统信uos v20 专业版(1030) 64位上 安装g++

    在这里插入代码片 由于工作需要,需要把centos上开发的程序移植到 统信uos v20 专业版上运行.等机器到了发现居然只有gcc,没有g++,我的程序全是c++的,改到c工程的话,代码量太大,只能 ...

  8. Ubuntu 14.04 64位上安装Adobe reader 9.5.5

    首先说明下面的方法本非完美的方案,但是我试验了下,确实可行. 1.从Adobe官网下载最新版的Adobe Reader 9.5.5的deb包,在下面的ftp位置: 2.安装相关依赖库,主要是ia-32 ...

  9. Ubuntu 12.04 64位上安装Wine QQ2013

    一.首先我们需要下载一个 deb的 Wine QQ安装包 qq2013官方下载:http://www.longene.org/download/WineQQ2013-20131120-Longene. ...

最新文章

  1. ESXi安装全过程及基本配置
  2. Hexo+github搭建个人博客-博客发布篇
  3. python 归并排序,合并有序数组,逆序对个数
  4. (转)工作了一个星期各位一定累了吧,那我们一起来表单验证一番吧!
  5. vector的去重操作
  6. Spring @PropertySource
  7. 科技驱动未来:飞康如何赢得尤尼克斯的青睐?
  8. 八大排序算法—源代码(c语言)
  9. c语言指针实现数组排序算法,C语言实现数组快速排序算法
  10. 基于Selenium爬取动态网页
  11. 【KnewOne Talk】芋头君:不想做码农
  12. 快学scala第二版笔记
  13. k8s报错503或者其他网络错误 Readiness probe failed: HTTP probe failed with statuscode: 503
  14. 写给那些进步缓慢却全然不知的IT人
  15. Linux——boot lodaer:grub2核心载入工具
  16. Word标题设置快捷键
  17. 【笔记】大明王朝的七张面孔
  18. 通信工程用这些书应该够了
  19. 五线谱基础教程视频乐理基础
  20. SaaS软件定制化服务已成为企业发展刚需!

热门文章

  1. 轻量级运维工具-pssh,pscp,prsync,pslurp,pnuke
  2. Android--获取当前系统的语言环境
  3. DevExpress GridControl双击获取行内容
  4. Interesting Finds: 2007.12.19
  5. [转载] python内置函数 compile()
  6. [转载] python 调用自己的方法报错,numpy.ndarray object has no attribute brighten
  7. Java接口之间的继承
  8. Linux设备驱动中的异步通知
  9. php实现抽象工厂模式(转)
  10. 阿里云服务器的公网ip访问不到的问题