Skip to content

Commit 5c3e990

Browse files
authored
Add jupyter format files (lingcoder#445)
* add jupyter version * update readme
1 parent 5d7462a commit 5c3e990

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+79084
-0
lines changed

README.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,29 @@
6161
- [x] [附录:C++和Java的优良传统](docs/book/Appendix-The-Positive-Legacy-of-C-plus-plus-and-Java.md)
6262
- [ ] [附录:成为一名程序员](docs/book/Appendix-Becoming-a-Programmer.md)
6363

64+
## INSTALL
65+
66+
1. 首先安装[Jupyter Lab](https://jupyter.org/)
67+
2. 安装[Java Kernel](https://github.com/SpencerPark/IJava)
68+
69+
注意: 打开文件后,在工具栏最右边选择`Java`。 Mac下按`CMD + Enter`可以运行Code。
70+
71+
Java SDK需要1.9及以上。可以用[sdkman](sdkman.io)安装.
72+
73+
3. 代码运行。
74+
```java
75+
public class Hello {
76+
public static void main(String [] args){
77+
System.out.println("Hello, world!")
78+
}
79+
80+
}
81+
82+
//调用静态方法main
83+
Hello.main(new String [0]);
84+
85+
86+
```
6487

6588

6689
## 一起交流

jupyter/.ipynb_checkpoints/01-What-is-an-Object-checkpoint.ipynb

Lines changed: 408 additions & 0 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)