• 傻瓜式安装过程,Java jdk1.8.0.141+Maven 3.5.3+MyEclipse2017 CI7+IDEA 2017.3.4+tomcat8.5.28+MySQL5.7.21


    所有安装文件:https://pan.baidu.com/s/1AZrrHYaMMD8TxGOtJi9KZA 密码5y7f

    1、下载安装java,jdk

    http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html

    双击安装,安装程序会自动设置JAVA_HOME变量,不用手动设置javahome

    jre安装目录:C:Program FilesJavajre1.8.0_162

    JDK安装目录:D:Program FilesJavajdk1.8.0_162

    测试一下:命令行运行java,运行echo %JAVA_HOME%,不显示错误就成功

    2、安装配置代码仓库

    https://maven.apache.org/download.cgi

    (注意:2019年10月5日发现3.6.2有时候无法更新,3.5.4正常。旧版本下载地址:https://mirrors.tuna.tsinghua.edu.cn/apache/maven/maven-3/3.5.4/binaries/)

    解压缩:D:Program FilesApache Software Foundationapache-maven-3.5.3

    添加一个环境变量,PATH里添加一行:

    D:Program FilesApache Software Foundationapache-maven-3.5.3in

    测试:命令行输入mvn -v,能找到命令就是成功

    下面的可以不看了。

    修改代码仓库的位置,也可以不修改。

    D:Program FilesApache Software Foundationapache-maven-3.5.3confsettings.xml

    修改这里,我不修改。默认在${user.home}/.m2/repository  = C:UsersAdministrator.m2 epository

    <!-- localRepository
    | The path to the local repository maven will use to store artifacts.
    |
    | Default: ${user.home}/.m2/repository
    <localRepository>/path/to/local/repo</localRepository>
    -->

    改成

    <localRepository>d:/XXXX</localRepository>
    增加阿里的服务器支持,强烈建议修改,国内的速度很快。

    <mirror>  
        <id>nexus-aliyun</id>  
        <mirrorOf>central</mirrorOf>    
        <name>Nexus aliyun</name>  
        <url>http://maven.aliyun.com/nexus/content/groups/public</url>  
    </mirror> 

    3、安装MyEclipse2017 CI 7

    从百度网盘下载,或者其他网站下载,myeclipse-2017-ci-7-offline-installer-windows.exe正常安装就行。

    1.运行keygen目录的crack.bat

    a.输入Usercode: 任意字母或者数字
    b.选择Blue
    c.点击SystemId(点两次才会生成)
    d.点击Active
    e.点击菜单栏->Tools->2.saveProperties

    2. 用plugins目录覆盖myeclipse2016安装目录下的 plugins
    3. 重启myeclipse2017

    设置一下更好用,也可以不设置

    设置sdk,Window->Preferences->Java->Installed JREs,Add,Standard VM,JRE home设置为C:Program FilesJavajre1.8.0_141

    设置项目格式:Window->Preferences->General->Workspace->Text file encoding 改成utf-8

    设置文件格式:Window->Preferences->General->Content Types,选择Text下的HTML,CSS,Javascript等文件,Default encoding修改为UTF-8,点击update。

    设置jsp文件格式:Window->Preferences->file and editors->jsp,设置编码UTF-8

    设置智能提示,window->Preferences->java->Editor->Content Assist,修改Auto Activation triggers for java,把.改为:.abcdefghijklmnopqrstuvwxyz(,

    设置maven,window->Preferences->Maven->Installations,Add 添加D:Program FilesApache Software Foundationapache-maven-3.5.3

    4、安装配置IDEA

    ideaIU-2017.3.4.exe,从百度仓库下载。直接安装,没难度,安装过程参考:http://blog.csdn.net/yangying496875002/article/details/73603303

    IDEA安装目录:D:Program FilesJetBrainsIntelliJ IDEA 2017.3.4

    破解方法,

    JetbrainsCrack-2.7-release-str复制到D:Program FilesJetBrainsIntelliJ IDEA 2017.3.4inJetbrainsCrack-2.7-release-str.jar

    D:Program FilesJetBrainsIntelliJ IDEA 2017.3.4inidea64.exe.vmoptions,在最下面增加一行

    -javaagent:D:Program FilesJetBrainsIntelliJ IDEA 2017.3.4inJetbrainsCrack-2.7-release-str.jar

    启动IDEA后,在Acrivation code中输入下面的注册码,(到2099年到期)

    ThisCrackLicenseId-{
    "licenseId":"ThisCrackLicenseId",
    "licenseeName":"idea",
    "assigneeName":"",
    "assigneeEmail":"idea@163.com",
    "licenseRestriction":"For This Crack, Only Test! Please support genuine!!!",
    "checkConcurrentUse":false,
    "products":[
    {"code":"II","paidUpTo":"2099-12-31"},
    {"code":"DM","paidUpTo":"2099-12-31"},
    {"code":"AC","paidUpTo":"2099-12-31"},
    {"code":"RS0","paidUpTo":"2099-12-31"},
    {"code":"WS","paidUpTo":"2099-12-31"},
    {"code":"DPN","paidUpTo":"2099-12-31"},
    {"code":"RC","paidUpTo":"2099-12-31"},
    {"code":"PS","paidUpTo":"2099-12-31"},
    {"code":"DC","paidUpTo":"2099-12-31"},
    {"code":"RM","paidUpTo":"2099-12-31"},
    {"code":"CL","paidUpTo":"2099-12-31"},
    {"code":"PC","paidUpTo":"2099-12-31"}
    ],
    "hash":"2911276/0",
    "gracePeriodDays":7,
    "autoProlongated":false}

    配置maven,file->settings->build,execution,deployment->build tools->maven,在maven home directory:D:Program FilesApache Software Foundationapache-maven-3.5.3

    不配置也行,IDEA自带的maven的默认仓库也在c:usersadministrator.m2里

    添加java8高级参数,File->Settings->Build,Execution,Deployment->Compiler->Java Compiler,设置Additional command line parameters选项中添加-parameters

    5、安装配置Tomcat

    下载页面:https://tomcat.apache.org/download-80.cgi

    下载链接:http://mirrors.shu.edu.cn/apache/tomcat/tomcat-8/v8.5.28/bin/apache-tomcat-8.5.28.exe

    6、MySQL

    https://dev.mysql.com/downloads/windows/installer/

    代码风格就是程序员的脸面,要把生命中所有的才华、心血都倾注在code的字里行间。
  • 相关阅读:
    获取随机图片
    依靠前端解决跨域问题的几种方式
    浅谈什么是前端BFC
    script标签中defer和async的区别
    nodejs学习笔记(一):centos7安装node环境
    深入浅出之js闭包知识点梳理(一)
    js实现防抖函数和节流函数
    前端flex布局学习笔记
    es6 之class介绍
    localstorage实现两个页面通信,购物车原理。
  • 原文地址:https://www.cnblogs.com/bhss/p/8535348.html
Copyright © 2020-2023  润新知