Analysis on how to use eclipse to build a j2-based development environment in Linux (1)

Source: Internet
Author: User

Do you know how to use eclipse to build a j2_c development environment in linux? Here we will share with you the four main steps. I believe this article will surely help you gain some benefits.

How to Use eclipse to build a j2_development environment in linux

The first is the operating environment and software version:

1. Operating System: ArchLinux updated to 20081204)

2. JDK environment: jdk-1_5_0_17-linux-i586.bin

Under address: http://java.sun.com/javase/downloads/index_jdk5.jsp

3. Eclipse environment: eclipse-java-ganymede-SR1-linux-gtk.tar.gz
: Http://www.eclipse.org/downloads/

4. j2-version: J2ME_wireless_toolkit-2_2-linux-i386.bin
J2ME_wireless_toolkit-2_2-update_1-linux.zip

5.: http://java.sun.com/products/sjwtoolkit/download-2_2.html
EclipseME environment: eclipseme.feature_1.7.9_site.zip
: Http://eclipseme.org/

JDK installation and configuration

Copy the jdk Installation File to homework/in the current user directory and install it directly.
User @~ /Homework $ shjdk-1_5_0_17-linux-i586.bin

Set jdk environment variables:

 
 
  1. user@~/homework$exportJAVA_HOME=/home/kldscs/homework/jdk1.5.0_17  
  2. user@~/homework$exportCLASSPATH=
  3. $CLASSPATH:$JAVA_HOME/lib:$JAVA_HOME/jre/lib  
  4. user@~/homework$exportPATH=
  5. $JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH  

If you want to make the environment variable available after the system is restarted or logged out, you can write the command content you just executed to the. bashrc file in the user root directory, or the system environment variable control file.

/Etc/profile
User @~ /Homework $ vi ~ /. Bashrc
User @~ /Homework $ sudovi/etc/profile


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.