Traditional Culture Encyclopedia - Almanac inquiry - A java exception pops up in the Java program.

A java exception pops up in the Java program.

This is a java virtual machine error. Check the java environment online to see if your java environment is equipped. If you don't have good equipment, you must first learn to configure the environment when learning java. Secondly, the installed jdk is not compatible with the system, so you need to download the jdk with corresponding digits. Jdk 1.7 is installed, but the installation path contains Chinese. Need to delete Chinese and change it into letters.

Most of the above errors occur in the process of opening eclipse or cmd to run java. If you are in eclipse, you can replace the compiled jdk.

Java is an object-oriented programming language, which not only absorbs the advantages of C++ language, but also abandons the concepts of multiple inheritance and pointers that are difficult to understand in C++, so Java language has two characteristics: powerful function and simple use. As the representative of static object-oriented programming language, Java language perfectly realizes the object-oriented theory and allows programmers to carry out complex programming in an elegant way of thinking.

Java has the characteristics of simplicity, object-oriented, distributed, robustness, security, platform independence and portability, multithreading and dynamics. Java can write desktop applications, Web applications, distributed systems and embedded system applications.

JDK(Java Development Kit), also known as Java development kit or Java development tool, is a program development environment for writing Java Applet and applications. JDK is the core of Java, including Java runtime environment, some Java tools and Java API.

References:

Java—- Baidu Encyclopedia