https://github.com/cuongndc9/java-in-60-minutes
Java πΈπ», I hate π€¬ you.
https://github.com/cuongndc9/java-in-60-minutes
103cuong 4pet 4pet-social docker java java-tutorials spring-boot
Last synced: 5 months ago
JSON representation
Java πΈπ», I hate π€¬ you.
- Host: GitHub
- URL: https://github.com/cuongndc9/java-in-60-minutes
- Owner: cuongndc9
- Created: 2020-10-30T19:08:30.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2025-03-07T19:25:26.000Z (8 months ago)
- Last Synced: 2025-03-15T06:28:15.945Z (8 months ago)
- Topics: 103cuong, 4pet, 4pet-social, docker, java, java-tutorials, spring-boot
- Language: Java
- Homepage:
- Size: 387 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Not using GitHub? Find me on [LinkedIn](https://www.linkedin.com/in/cuong9/)!
# java-in-60-minutes
> Java πΈπ», I hate π€¬ you.
## β
Setup environment π³ on MacOS π©πΌβπ» (5 minutes)
1. Download JDK: https://jdk.java.net/15/
2. Extract it & move to /Library/Java/JavaVirtualMachines/
```sh
tar -xvf openjdk-15.0.1_osx-x64_bin.tar
sudo mv jdk-15.0.1.jdk /Library/Java/JavaVirtualMachines
```
3. Open .bash_profile and add the following entries at the end of it.
```sh
JAVA_HOME="/Library/Java/JavaVirtualMachines/jdk-15.0.1.jdk/Contents/Home"
PATH="${JAVA_HOME}/bin:${PATH}"
export PATH
```
4. Verify the JDK installation
```sh
java --version
```
5. Download Maven: https://maven.apache.org/download.cgi
6. Extract it & move to /opt
```sh
tar -xvf apache-maven-3.6.3-bin.tar
sudo mv apache-maven-3.6.3/ /opt
```
7. Open .bash_profile and add the following entries at the end of it.
```
export PATH=/opt/apache-maven-3.6.3/bin:$PATH
```
8. Verify the Maven installation
```sh
mvn --version
```
## β
Java Core π» (20 minutes)
```java
public class AwesomeJava {
public static void main(String[] args) {
System.out.println("Hello π Java. I love β€οΈ you.");
}
}
```
**[Details](./java-core)**
- [Java Cheat Sheet](https://hackr.io/blog/java-cheat-sheet)
- [Object-Oriented Java](https://www.codecademy.com/learn/learn-java/modules/learn-java-object-oriented-java-u/cheatsheet)
## β
Spring Boot π
(30 minutes)
**[Details](./chichi)**
## β
Docker π³ (5 minutes)
**[Details](./chichi)**