HTML5 Development Mobile hybrid App Series 2-Development environment Setup (Windows)

Source: Internet
Author: User

    • Java Download:

Http://www.oracle.com/technetwork/java/javase/downloads/index.html

Environment variables:

Java_home=c:\program files\java\jdk1.8.0_25

Path=%java_home%\bin;%java_home%\jre\bin;

Classpath=.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar;

Test:

Javac



    • Installing Nodejs


Node-v0.10.38-x64.msi

: https://nodejs.org/dist/v0.10.38/x64/


    • Installing Ant


Unzip Apache-ant-1.9.5-bin.zip to any position (ant:https://www.apache.org/dist/ant/binaries/)


Environment variables:

ant_home=c:\apache-ant-1.9.5

Path=%ant_home%\bin

Classpath=%ant_home%\lib


    • Configure NPM mirror address for domestic address when using


http://registry.cnpmjs.org


1)

NPM Config Set registry https://registry.npm.taobao.org npm install-g Cordova

2)

NPM--registry https://registry.npm.taobao.org install-g Cordova



    • Installing Cordova

NPM install-g Cordova


Wait patiently for the installation to complete.


This article is from the "Zero's blog" blog, please be sure to keep this source http://zerosoft.blog.51cto.com/679447/1672528

HTML5 Development Mobile hybrid App Series 2-Development environment Setup (Windows)

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.