What are precautions for beginners of Java?

Source: Internet
Author: User
What are precautions for beginners of Java? -- Linux general technology-Linux programming and kernel information. The following is a detailed description. Java always has a thousand benefits for you to choose from, but you can find the answer by simply turning over the book or visiting the internet. In this article, I will write some of my experiences and processes in learning Java for beginners to make a reference.

In the course of learning Java, I will focus on the following aspects:

1. Always remind yourself that Java is an OOP language tool, not just code. Only in this way can we grasp and use Java as a whole.

2. In the course of learning, it is best to understand the underlying mechanism of Java, rather than just staying on the surface, rather than running the example on the copybook to get the result. You must be patient in thinking about, debugging, and modifying a simple example.

3. In the course of learning, you must start and write code, instead of holding a book and reading it. Many things and experiences must be done by yourself to truly belong to yourself. It is best to participate in some practical projects.

4. After learning a certain stage, you begin to want to do something you have learned. At this time, you should begin to learn more and more complex knowledge, such as the construction of the J2EE platform and the Development of EJB. For this part, I suggest you find a thin book to understand it first, and have a general understanding in your mind to get a preliminary understanding of more technical terms. I think it is good to see J2EE technical practices at this stage. It can help you understand the various technologies and frameworks contained in J2EE and provide many practical examples to deepen your understanding of J2EE.

Interest and determination in learning Java play a key role. With the above basics, I began to learn Java step by step.

Build a Java environment


To run a Java program, you must install JDK. JDK is the core of Java, including the Java compiler, JVM, a large number of Java tools, and Basic Java APIs.

JDK 1.4 and 1.31 can be downloaded from the http://Java.sun.com. In my learning environment, Version 1.31 is used first.

Decompress and install. Then, set the environment.

1. perform the following settings for Windows:
CODE: set PATH = YOUR_INSTALL _ DIR \ bin; C: \ Windows \ Command
Set classpath =.; YOUR_INSTALL_DIR \ lib \ tools. jar
Related Article

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.