Java EE 6 SDK + eclipse Jee + Android ADT

Source: Internet
Author: User
Tags glassfish android sdk manager

Many times, in order to survive, we need to constantly understand and learn new things, so our minds are full of poop--|...

.......................................................................

According to your understanding:

  • JDK = Java develope Kit

Java se sdk = Java Stander edition development kit

Java ee sdk = JAVA Platform Enterprise Edition Software Development Kit

Java me SDK = Java platform Micro Edition Software Development Kit

  • Java se sdk is actually JDK
  • The Java ee sdk contains JDK, but does not, because the JDK of the two does not have the same path, it cannot simply say that the Java ee sdk is the JDK or that they are all the same (that's just a mistake ).

    If JDK is installed, the installer creates the JDK directory in C:/program files/Java/jdk1.6.0 _ 23.

    If you install the Java ee 5 SDK, we will find that the JDK is installed in the directory of the glassfish server, for example, E:/work/javapro/glassfish3/JDK.

  • Both Java EE and Java me are based on Java SE
  • Java SE, Java EE use JVM, Java me use jkm
  •  

I. I have already configured the JDK + Android SDK environment.

2. Download the Java EE 6 JDK and use the Java EE 6 SDK with JDK 6 installation package. to install it in Windows 7, set the Vista SP3 compatibility.

  • Supports both netbeans and eclipse
  • Built-in glassfish Server
  • Hot insert Configuration
  • ...

Problem: In Vista or win 7, if you choose to install the update tool, it cannot be installed. You need to cancel the installation of the update tool to complete the installation.

JDK has been installed before. Assume that we uninstall it and reinstall the Java EE 6 SDK. Assume that the target installation directory of the glassfish server is E:/work/javapro/glassfish3.

Previously configured environment variables:

Java_home C:/program files/Java/jdk1.6.0 _ 23

Classpath.; % java_home %/LIB;

PATH (this system already exists) before adding C:/program files/Java/jdk1.6.0 _ 23/bin;

Now change:

Java_home E:/work/javapro/glassfish3/JDK

Classpath.; % java_home %/LIB;

PATH (this system already exists) before adding E:/work/javapro/glassfish3/JDK/bin;

Of course, you must re-specify the JDK location to run the android SDK manager.

3. Install eclipse 3.6 Jee (Eclipse IDE for Java EE developers) + Android ADT

1:

Decompress the package in the E:/work/javapro/eclipse folder.

2: Install Android ADT

  1. Help-> install new software
  2. Add

    Address: http://dl-ssl.google.com/android/eclipse check developer toolss for Installation



  3. Set the android SDK location of eclipse

    Windows> preferences> android

  4. Verify Android Project

    File-> New-> Other-> Android Project

     

  5. Android project running configuration
  • Run-> run commands... -> Android Application (double-click) to create a new running target

  • Right-click the hellword project and choose run as> Android Application> unlock to go to helloword.

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.