Java Fundamentals (Day 1)

Source: Internet
Author: User

First, build the development environment

It feels good to learn python before using sublime, so use sublime to learn java.

Use the following search to find an Appendix 1 method for everyone in the Java development environment.

Second, determine the use of books

Java Core Programming

Appendix 1

The first step is to download the installation JDK and configure the system environment variables:(1) Add Java_home, the value is: C:\Program files\java\jdk1.7.0_13;(2) Edit path, add:%java_home%\bin;%java_home%\jre\bin(3) Add Classpath, the value is:; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar* * * Note Be sure to add the first semicolon, otherwise it might be wrong to compile the program times: the main class could not be found or could not be loaded The above is a generic configuration, the following is the sublime configuration:First, create a batch script Runjava.bat:
Copy the file to the bin directory of the JDK; Second, install the package Resource Viewer in Sublime, with the following steps:(1) ctrl+shift+p open the package control;(2) Enter the install package;(3) Search the package Resource Viewer and install it.  The third step, modify the Javac.sublime-build:Installing the Package Resource Viewer is for this step. With the above steps, open the package control, enter Packageresourceviewer:open Resource, enter Java after carriage return, enter javac.sublime-build after entering, will be able to open the file we need to modify:change the first line of "Shell_cmd": Javac \ "$file \" "To" Shell_cmd ":" Runjava.bat \ "$file \" " Fourth Step, write a test program, using ctrl+b run, I used the test program as follows:

Java Fundamentals (Day 1)

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.