Acquaintance JAVA
Java is an object-oriented programming language, not only absorbed the various advantages of the C ++ language, but also abandoned the multiple inheritance in C ++ incomprehensible concepts such as pointers, so the Java language has a powerful and easy to use two features. Java language as a static representative of object-oriented programming languages, object-oriented to achieve an excellent theory, allows programmers to elegant way of thinking complex programming.
Program and JAVA
JAVA technology platform
Install JAVA language development kit JDK
JDK archive links: https://pan.baidu.com/s/1yyPlSS2Gu7O-RV3oZsY-Yw
extraction code: e22q
first copy of the archive, to extract it, then click on the installation program
to select the download path
to wait for the loading progress, we the java jdk installed in the directory C jAVA disc, as shown
to close after installation
Configuring JDK environment variables
相信大家也有疑惑,我怎么看不见Java的快捷方式图标呢,为什么我的桌面没有Java程序呢,现在让我来告诉你答案。作为开发学习者,我们忽略了一个重要的东西,java是一个开源平台不是提供音频、聊天的平台(这只是我个人的看法)。简单来说,JDK是一款非常强大的工具集,我们要使用Java的话就需要安装一些支持Java编程软件eclipse、intellj idea等。然后我们进入正题,来配置环境变量。
首先右击我的电脑——高级系统设置->环境变量->新建系统变量->将新建系统变量添加到path里面去。
java的安装路径包不要搞混了
新建classPATH变量
点击PATH,添加进来两个变量
完成了之后需要一步一步点确定,直到确定完成才可以说环境变量配置完成。不然的话,就需要重新配置。就好比写Word的时候搞忘了保存而直接关闭,但是word比较人性化退出时候有提示,这个的话需要大家有耐心的做完每一步工作。科普一下,我们如何做到不点击QQ程序图标,就做到命令行打开QQ?找到QQ所在文件夹的bin目录,复制其路径将它添加到Path变量中。由此可得,其他程序亦是如此。
检查是否配置成功
打开cmd,输入命令,发现配置成功
安装java编程语言开发的集成环境IDEA
Links: https://pan.baidu.com/s/1MGZnqumCCyW9ky1IX23NIA
extraction code: q3ot
open the software, point next
select the storage path, do not have Chinese
choose to create a 64-bit desktop shortcut keys, select java, click next
direct installation
to wait for installation after the progress bar is full, complete direct point
we are now to enter the registration code, click the desktop icon to open the software to generate and select second and click ok
choose to receive protocol
choose not to send data (irrelevant without sending)
jump out of the page and choose to skip the reminder default settings
choose to activate registration code, registration code will be entered into the box (green font rendering that is entered correctly), point ok. License extract links: https://pan.baidu.com/s/1EVlHHoNS_CZziRX-ComksA extraction code: 913m
random page to load initialization, click Create a new project
Select installation path where jdk location
after clicking ok, next point
to create engineering project a name and location, click finish
click ok to
last, we entered the integrated programming environment
Software installation eclipse
Link Address: https://www.eclipse.org/downloads/download.php?file=/oomph/epp/2019-06/R/eclipse-inst-win64.exe