Java learning diary-1 Set Java environment variables and so on, java environment variables
I. Setting Environment Variables
After jdk is installed, You need to configure the environment variables and find [my computer]-[properties]-[advanced]-[environment variables]
Three environment variables need to be configured here
1. Create a system variable JAVA_HOME. The
Java. Lang. virtualmachineerror
Virtual Machine error. Indicates that the virtual machine is damaged or the resources required to continue the operation are insufficient.
Java. Lang. arithmeticexception
Arithmetic condition exception. For example, integer division by zero.
Java. Lang. arrayindexoutofboundsexception
An error occurred while exiting the array index.
There are three versions of the Java platform, which enables software developers, service providers, and device manufacturers to develop for specific markets: * Java SE (Java platform,standard Edition). Java SE was formerly known as J2SE.It allows you to develop and deploy Java
This article describes Java SE, Java EE, Java
I made the difference and shared some of the author's achievements. Currently, Java platforms can be divided into three versions based on software developers, service providers, and equipment manufacturers.
Se, Java EE, and
About the pseudo-share of the article has been many, for multithreaded programming, especially the multi-threaded processing lists and arrays, we should pay great attention to the problem of pseudo-sharing. Otherwise, not only can not play the advantages of multithreading, but also may be worse than single-threaded performance. With the Java version of the update, then the different versions of the practice of reducing pseudo-sharing are different, ac
Dark Horse programmer _ Java exception common Java Library Class, dark horse _ javaJava exception 1: Basic concepts of exceptions
Exceptions are a type of command flow that causes program interruption. They are abnormal during runtime. in Java, all exceptions follow the object-oriented design philosophy, all exceptions exist in the form of objects and classes.2.
Java Note: Part 4: Java program first run; Part 4: java
# Daily nagging # This blog won't be published on time, because Xiaoxing has something to do today. However, I was eager to hear from fans, so I stayed up late last night. Thanks to xiaoxinghahahao (for example, I have to finish my Java notes like watching TV seri
[Java SE] how to install JDK and configure the Java Runtime Environment, JDK JavaAbstract: no matter how hard it is to be used as a Java code farmer or a high-end Java System Architect, if JDK is not installed or the Java Runtime Environment is configured, it will be difficu
[Java tutorial 04] basic Java syntax, 04 java
In the previous article, we ran a simple java program, but did not explain the content and meaning of the Code. Learning, we need to know it, but to know it, so this article will explain the basic syntax of the java program. Afte
Java ---- use regular expressions to match keywords in Java source code, java ---- Regular Expressions
Write this blog to learn the regular expressions in Java systematically. Another reason is that there was a problem that could not be solved. I had a reverse match and I couldn't stand it myself. However, as a code mo
Now, let's analyze it.1. Java SE (Java platform,standard Edition). Java SE was formerly known as J2SE. It allows you to develop and deploy Java applications that are used in desktops, servers, embedded environments, and live environments. Java SE contains classes that suppor
Memory layout of java objects (1): Calculate the memory space occupied by java objects and use of the java object layout tool
I recently learned some knowledge about the memory layout of java objects. I want to know how much memory space a java object occupies and what the
1. Java SE (Java platform,standard Edition). Java SE was formerly known as J2SE. It allows you to develop and deploy Java applications that are used in desktops, servers, embedded environments, and live environments. Java SE contains classes that support
Java applications can be defined as collections of objects that communicate by invoking their own methods. Let's look specifically at what the class, object, method, entity variable means.
Object: Object has state and behavior. For example: A dog has its state-color, name, variety, and behavior-wagging its tail, barking, eating. Object is an instance of the class.Class: A class can be defined as a template or blueprint that describes the behavior and
Java learning notes (entry) _ basic java syntax, learning notes _ javaPreface After learning the first java program, you will come to the system to learn java. Starting with the basic syntax, you can also understand this syntax in English or Chinese, but everyone has their own characteristics and differences. Learning
diagrams, and refining the description of use cases on the other.Sequence diagrams have roles (Actor), objects (object), messages (message) and several elements of the activation period (Activation) if 8-10 are shown.Figure 8-10Message types are:
Message: Messages
Slef message Recursive messages
Message with activation period for call message
Self call message recursive message with activation period
Return message
Self return message recursive return messages
The Java language has been at the forefront of programming languages since its appearance. One major reason is that it is related to the platform where Java applications run. We all know that Java applications run on java virtual machines. This greatly reduces the frequency of dealing with
Sorting 1:
I personally think this article is very detailed. For more information about the use of Java. SQL. Date, see.
Java. SQL. date only stores date data, not time data
// Time data will be lost
Preparedstatement. setdate (1, new java. SQL. date (date. gettime ()));
// It can be handled in this way
Preparedstatement. settimestamp (1, new
First knowledge of Java -- (Java study note 1), first knowledge of java Study NotesCore advantages of JAVA: cross-platform-JVM (JAVA Virtual Machine) Implementation of JVM: a standard identifier of the JAVA Virtual Machine: only t
Now, let's analyze it.1. Java SE (Java platform,standard Edition). Java SE was formerly known as J2SE. It allows you to develop and deploy Java applications that are used in desktops, servers, embedded environments, and live environments. Java SE contains classes that suppor
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.