Giter Site home page Giter Site logo

jdk-source-learning's Introduction

jdk-source-learning

jdk 源码

IDEA 搭建源码阅读环境

1.打开该源码项目
为了避免修改原来的 SDKs,另外再添加一个名为 “jdk1.8-learn” 的 jdk, 并移除替换本项目中的 src.zip.
File -> Project Structure -> Platform Settings -> SDKs

2.将 IDEA 中所有需要设置 JDK 的全部换成 “jdk1.8-learn”

3.手动将 jdk 安装目录下 lib 包中 tools.jar 添加到项目中
File -> Project Structure -> Project Settings -> Libraries
目的:程序包com.sun.tools.javac.api不存在

4.设置编译源包以及生成的 class 包
File -> Project Structure -> Platform Settings -> Modules

5.堆大小可由原来的700改为1000
File –> Setting …–> Build,Execution,Deployment –> Compiler
目的:Error:java: OutOfMemoryError: insufficient memory(系统资源不足)

jdk-source-learning's People

Contributors

kongliuyi avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.