How to correctly install and configure the Java Runtime Environment and Java compiler (eclipse) in Windows 7)

Source: Internet
Author: User

First: install and configure the Java Runtime Environment

First download JDK
Installing JDK is to install a Java Virtual Machine on your local machine. It provides the core environment for compiling and running the Java program you have compiled (to be honest, this is a copy, but you can understand it)
Find the JDK on the sun homepage.
Http://java.sun.com/javase/downloads/index.jsp

Second, configure the environment variables after the download
Edit the following two things in the system variables (specific operation -- Right-click my computer -- properties -- Advanced -- environment variables -- find the system variables --
(First, ask where your installation path is. My G disk is used as an example)
1: variable name = path (if you already have it, append it to the end. Remember to add ';' before it ';')
Variable value = G:/java-jdk6u1/bin

2: In the system variable box, click-new-
Variable name = classpath (case sensitive)
Variable value =.; variable name = classpath
Variable value =. G:/java-jdk6u1/lib
(Here '.;' cannot be less)

If you are a beginner, it is recommended that you do not use eclipse first ---- directly repeat the code on the notepad.

Second:
Java compiler (eclipse)
This is the Chinese version of eclipse3.2:
Http://wlzx.zzuli.edu.cn/download/eclipse.rar

And the eclipse3.5 version I found many

Reference videos include
Little Dragon soul tutorial video
Http://v.youku.com/v_show/id_XODEwNDA2NDQ=.html? Full = true


The first video shows how to install JDK and the runtime environment.
And running after installation is complete

 

 

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.