Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Example Analysis of java knowledge

2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/01 Report--

Java knowledge example analysis, many novices are not very clear about this, in order to help you solve this problem, the following editor will explain for you in detail, people with this need can come to learn, I hope you can gain something.

1 official download address of JDK

The official download address of JDK is believed to be unknown to many beginners and even some people who have been working for a period of time. They only know that Baidu download Center can download, but generally Baidu download Center is compatible with 32-bit software, and the most important thing is that it is not necessarily secure, so it is necessary to know the official download address. The official download address of JDK is:

Http://www.oracle.com/technetwork/java/javase/downloads/index.html

2 ReleaseNote of JDK

The interview was asked how to answer the differences between the different versions of JDK? How do people always know what has been added to each version of JDK? Is it difficult for them to compare the classes and methods of each package one by one? No, every release of JDK has an release note document (which almost all software has), which records this update. You want to know how a JDK version is different from the previous version? Take a look at release note. Click on the download address above and click on the location below to see the release note of the latest version of JDK:

3 Historical version of JDK

Presumably many people need the historical version of JDK instead of the latest JDK for various reasons, and the link above seems to be only the latest version of JDK download, can not find the historical version of JDK, is the official so impersonal, do not provide the historical version of the download? Don't panic, it's impossible not to provide it. It just takes a little while to turn the page down and click a link to find the download address of the historical version. Here is the download address of the historical version of JDK, which can be found from 1.1-8. Why is JDK8 a historical version? Little friends, JDK9 is all out. JDK8 must be regarded as the historical version, not the latest version.

Address: http://www.oracle.com/technetwork/java/javase/archive-139210.html

4 JVM tuning

I believe many people will have such questions. People talk about JVM tuning all the time, so how does he know what parameters JVM has? What, from a book? When someone publishes a book, cauliflower gets cold. As for Baidu? You know, it's better to read a book; where did the author know about these parameters? Even if he knows these parameters, how does he know what these parameters are for? The answer is the official explanation. Yes, there is a complete list of JVM parameters given by the government, and the explanation of each parameter is quite clear.

However, it is also said that the parameters of this page only apply to JDK7 and previous versions, are you kidding me? I worked so hard to find you. You told me the latest version didn't apply? Don't worry, although they said it was not applicable, they gave us a solution. They told us where to find JDK8 and subsequent JVM parameters, but the links vary depending on the platform.

5 java and JVM specifications

Finally, it is also a heavyweight. I believe you will read some tutorials when you study, so how can those who come out of the tutorials know a certain grammar or a certain feature? How did he know that it was wrong and that it was right? Also look at what other people say about JVM memory model, threading model, etc., listen to all kinds of high-end, so how do they know? Look at the source code? Do not rule out that Daniel does this, but after all, the code is for machines, not for people; Baidu? Don't pull my leg.

So where on earth did other people learn about it? The answer is on the following website:

Https://docs.oracle.com/javase/specs/index.html

Is it helpful for you to read the above content? If you want to know more about the relevant knowledge or read more related articles, please follow the industry information channel, thank you for your support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report