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:
- user@~/homework$exportJAVA_HOME=/home/kldscs/homework/jdk1.5.0_17
- user@~/homework$exportCLASSPATH=
- $CLASSPATH:$JAVA_HOME/lib:$JAVA_HOME/jre/lib
- user@~/homework$exportPATH=
- $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