Java EE Runtime Environment configuration (contains Java SE)

Source: Internet
Author: User
Tags mysql download java se

Java EE Runtime Environment configuration (contains Java SE)


1. Download and install Jre-7u7-windows-i586.exe (the latest Java Runtime Environment)


2. Download and install Java_ee_sdk-6u4-jdk7-windows.exe (installation package for Java EE & GlassFish Server)
Location: C:\Program FILES\GLASSFISH3


3. System environment Variable configuration:
Java_home C:\Program files\glassfish3\jdk7 (installation directory)
Classpath.; %java_home%\lib;%java_home%/lib/dt.jar;%java_home%/lib/tools.jar;%java_home%/jre/lib/rt.jar; (Fixed notation)
Path%java_home%\bin; (Front insert)


4. Download and install the Apache-tomcat-7.0.11.exe (lightweight application server, bind the previously installed JRE)
Setting the user name and password in the installation


5. System environment Variable configuration:
Tomcat_home C:\Program Files\apache Software foundation\tomcat 7.0 (installation directory)
Catalina_home C:\Program Files\apache Software foundation\tomcat 7.0 (installation directory)
Path%tomcat_home%\bin;%tomcat_home%/lib/servlet-api.jar; (Front insert)


6. Verify that Tomcat is installed successfully
Enter http://localhost:8080 in the Web browser to see if you can open the Run page (there is a cat Tom in the upper left corner)
Enter http://localhost:4848 in the Web browser to see if you can open the configuration page


7. Download and install Mysql-installer-community-5.5.27.2.msi
MySQL Download URL http://www.mysql.com/downloads/
Set Root password: ****** normal user name: root password: 6041


8. System environment Variable configuration:
Path C:\Program files\mysql\mysql Server 5.5\bin;%java_home%/jre/lib/mysql-connector-java-5.1.20-bin.jar;%tomcat_ Home%/lib/mysql-connector-java-5.1.20-bin.jar; (Installation directory, front insert)


9. Install the database driver:
Copy the Mysql-connector-java-5.1.20-bin.jar from the installation directory C:\Program files\mysql\connector J 5.1.20.0 to%java_home%/jre/lib and% Under the Tomcat_home%/lib folder
or copy it directly to the project's Lib folder


10. Download, install, crack and configure myeclipse.10.0
Configuration Reference URL: http://blog.csdn.net/chszs/article/details/7337174

Add the following configuration:
MyEclipse-open window, preference options, General Options, Editors, select text Editors
Show line numbers front tick (show row number, personal preference)
When mouse moved into hover: select Close Hover (prevents the prompt from blocking input and can be locked later by F2)
MyEclipse, open Window--preference options, myeclipse options, Files and Editors, HTML, select Visual Designer
Manually refresh Design view when not synchronized. Front tick (required to prevent cursor from scurrying)

Where the JDK package is configured as follows: (important)
Search and select: C:\Program files\glassfish3\jdk7 under the JDK7 package
MyEclipse, open Window--preference options, Java options--java-installed jres (Search ... Operation
Location: C:\Program files\glassfish3\jdk7\lib file: Tools.jar Dt.jar
Continue, select JDK (JDK7), click Edit-click Add Extension jars-click OK, ok!


The Myeclipse.ini file is configured as follows: (2G memory)
Location: MyEclipse installation directory \myeclipse 10
-vmargs
-xms256m
-xmx512m
-xx:permsize=256m
-xx:maxpermsize=512m
-xx:reservedcodecachesize=64m
-dosgi.nls.warnings=ignore

So myeclipse can compile the Javase/ee project properly.


11. Download and install the Jmf-2_1_1e-windows-i586.exe (Java Multimedia Development Kit)
Location: C:\Program files\glassfish3\jdk7\jmf2.1.1e


12. System environment Variable configuration: (remove the CLASSPATH variable that JMF installer adds itself in Administrator)
Path%java_home%\jmf2.1.1e\bin; (Front Insert, JMF installation directory)
Classpath;%java_home%\jmf2.1.1e\lib\sound.jar;%java_home%\jmf2.1.1e\lib\jmf.jar;%java_home%\jmf2.1.1e\lib (added later )


Add JMF extension in 13.Myeclipse: (Other expansion similar)
Location: C:\Program files\glassfish3\jdk7\jmf2.1.1e\lib file: Sound.jar Jmf.jar

MyEclipse, open window, preference options, Java options, java-installed JREs, select JDK, click Edit, click Add Extension Jars-&G T Click OK, ok!
This way, MyEclipse can compile Java multimedia-related projects properly.


This document is the original reference URL: http://www.doc88.com/p-672304491775.html
http://blog.renren.com/share/312388810/8572288124
Http://blog.sina.com.cn/s/blog_66668909010171nr.html

Java EE Runtime Environment configuration (contains Java SE)

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.