Java JDK environment Configuration

Source: Internet
Author: User
Tags sdo apache tomcat
Install JDK
Download jdk-rj5_0_04-windows-i586-p.exe from java.sun.com/"> http://java.sun.com/
Install to the specified path. I select D:/jdk1.5.0.
Configure environment variables:
Java_home: D:/jdk1.5.0
Path: D:/jdk1.5.0/bin;
Classpath:.; D:/jdk1.5.0/lib/tools. jar; D:/jdk1.5.0/JRE/lib/RT. jar;

Install wtk
Download j2me_wireless_toolkit-2_2-windows.exe from java.sun.com/"> http://java.sun.com/
Install to the specified path. I select D:/wtk22.

Install eclipse
Download eclipse-sdk-3.0.1-win32.zipand
NLpack-eclipse-SDK-3.0.x-win32.zip (Language Pack)
Decompress eclipse-sdk-3.0.1-win32.zip. My path is D:/mydeveloptools/eclipse.
Decompress the nlpack-eclipse-sdk-3.0.x-win32.zip file to get the features and plugins folders, and upload the files to the corresponding directories in eclipse.

Install Tomcat
Download jakarta-tomcat-5.5.9.zip from http://jakarta.apache.org/
Decompress jakarta-tomcat-5.5.9.zip.
Configure environment variables:
Tomcat_home: D:/mydeveloptools/tomcat-5.5.9
Path: D:/mydeveloptools/tomcat-5.5.9;

Configure the j2's development environment in Eclipse:
Install eclipseme:
Download eclipseme.feature_0.9.4_site.zip from http://www.eclipseme.org /.
In eclipse, choose help> Software Update> Find and install> search for the new feature to be installed> Create an archived site
Select eclipseme.feature_0.9.4_site.zip, and open -example and select eclipseme.feature_0.9.4_site.zip. You can continue the next step. After the installation is complete, the following page appears in the window> preferences:
Modify Java-> debugging:
Select Java-> debug, and change the first two points of the currently running state to 15000 when the debugger times out.
Configure wtk
Window-> preferences-> j2-> platform components
Right-click wireless toolkit on the right of the dialog box, and choose add wireless toolkit,
Select the wtk installation directory, and eclipse will automatically match.

Configure the J2EE development environment (tomcat5.5.9) in Eclipse ):
Install EMF-runtime:
Download emf-sdo-runtime-2.0.1.zip from http://www.eclipseme.org/
Decompress emf-sdo-runtime-2.0.1.zip to get the features and plugins folders, and upload the files to the corresponding directories in eclipse.
Install lomboz:
From the http://forge.objectweb.org examples, get the features and plugins two folders, the files are written into the corresponding eclipse directory. If the lomboz option is available in window-> preferences, the installation is correct. If not, delete org under D:/Eclipse/configuration. eclipse. update this folder and restart eclipse.
Configure lomboz:
In D:/Eclipse/plugins/COM. objectlearn. jdt. create a file named atat559.server under j2ee_3.0.1/servers. server, replace name = "Apache Tomcat v5.0.x" with name = "Apache Tomcat v5.5.9", and then
Replace "$ {serverrootdirectory}/bin; $ {serverrootdirectory}/common/endorsed"
"$ {Serverrootdirectory}/common/endorsed" is enough. Then go to eclipse, window> preference> lomboz, and set JDK tools. change jar to: D:/jdk1.5.0/lib/tools. jar, window-> preference-> lomboz-> server definitions, in server types, select tomcat5.5.9 and change the path of tomcat5.9 in Application Server Directory and classpath variable to D: /mydeveloptools/tomcat-5.5.9 is applied first and then confirmed.

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.