windows环境初始化

1、系统变量新建 JAVA_HOME 值 D:Javajdk1.8.0_92
2、系统变量新建 CLASSPATH 值 .;%JAVA_HOME%libdt.jar;%JAVA_HOME%lib ools.jar
3、 Path 值 %JAVA_HOME%in;%JAVA_HOME%jrein;
4、检测 java -version
idea
1、下载安转不启动
2、下载jetbrains-key.jar
3、在 binidea64.exe.vmoptions 中添加 值 -javaagent:C:\develop\JetBrains\jetbrains-key.jar
git
无脑安装
maven
1、下载 Apache Maven 下 Binary zip archive中 Link 的zip包
2、系统变量新建 MAVEN_HOME 值 D:apache-maven-3.6.3
Path 值 %MAVEN_HOME%in
3、修改 conf/settings.xml 文件
在<localRepository>标签内添加自己的本地位置路径 <localRepository>D:mavenepository</localRepository>
在<profiles>标签下添加一个<profile>标签,修改maven默认的JDK版本。
<profile>         <id>JDK-1.8</id>       
    <activation>       
        <activeByDefault>true</activeByDefault>       
        <jdk>1.8</jdk>       
    </activation>       
    <properties>       
        <maven.compiler.source>1.8</maven.compiler.source>       
        <maven.compiler.target>1.8</maven.compiler.target>       
        <maven.compiler.compilerVersion>1.8</maven.compiler.compilerVersion>       
    </properties>       
</profile>
添加<mirrors>标签下<mirror>,添加国内镜像源
<!-- 阿里云仓库 --><mirror>
    <id>alimaven</id>
    <mirrorOf>central</mirrorOf>
    <name>aliyun maven</name>
    <url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
</mirror>
<!-- 中央仓库1 -->
<mirror>
    <id>repo1</id>
    <mirrorOf>central</mirrorOf>
    <name>Human Readable Name for this Mirror.</name>
    <url>http://repo1.maven.org/maven2/</url>
</mirror>
<!-- 中央仓库2 -->
<mirror>
    <id>repo2</id>
    <mirrorOf>central</mirrorOf>
    <name>Human Readable Name for this Mirror.</name>
    <url>http://repo2.maven.org/maven2/</url>
</mirror>
4、idea中maven配置
自动导包
mysql
python
1、安装 Anaconda ,打开cmd命令行窗口,输入python验证是否安装成功
配置pip,Anaconda的安装目录下找到Scripts进入,然后shift右键,选择在此处打开Powershell窗口,输入以下命令:
python -m pip install -U pip --user升级完成后,使用(示例安装 numpy ):
pip install numpy配置国内镜像
#C:UsersDellpip下新建pip.ini 添加[global]
index-url = https://pypi.tuna.tsinghua.edu.cn/simple
[install]
trusted-host=pypi.tuna.tsinghua.edu.cn
#在Scripts下打开命令行窗口,输入如下命令:
conda config --add channels https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/
conda config --set show_channel_urls yes
以上是 windows环境初始化 的全部内容, 来源链接: utcz.com/z/512859.html



