Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java/Kotlin: Tutorial #244

Open
hhstore opened this issue Dec 9, 2020 · 5 comments
Open

Java/Kotlin: Tutorial #244

hhstore opened this issue Dec 9, 2020 · 5 comments

Comments

@hhstore
Copy link
Owner

hhstore commented Dec 9, 2020

related:

kotlin:

flutter:

搭建开发环境:

@hhstore
Copy link
Owner Author

hhstore commented Dec 9, 2020

Java:

安装:

mac 下:

brew tap adoptopenjdk/openjdk

brew cask install adoptopenjdk8
brew cask install adoptopenjdk11
brew cask install adoptopenjdk13
  • 指定env版本:
export JAVA_8_HOME=$(/usr/libexec/java_home -v1.8)
export JAVA_11_HOME=$(/usr/libexec/java_home -v11)

alias java8='export JAVA_HOME=$JAVA_8_HOME'
alias java11='export JAVA_HOME=$JAVA_11_HOME'

# default to Java 11
java11


  • 安装 JAVA 版本工具: jenv
# 版本管理工具: 
brew install jenv 


$ echo 'export PATH="$HOME/.jenv/bin:$PATH"' >> ~/.bash_profile
$ echo 'eval "$(jenv init -)"' >> ~/.bash_profile

$ echo 'export PATH="$HOME/.jenv/bin:$PATH"' >> ~/.zshrc
$ echo 'eval "$(jenv init -)"' >> ~/.zshrc


@hhstore
Copy link
Owner Author

hhstore commented Dec 9, 2020

@hhstore
Copy link
Owner Author

hhstore commented Dec 9, 2020

1

2 similar comments
@hhstore
Copy link
Owner Author

hhstore commented Dec 9, 2020

1

@hhstore
Copy link
Owner Author

hhstore commented Dec 9, 2020

1

@hhstore hhstore added the Java label Dec 9, 2020
@hhstore hhstore changed the title Java: Tutorial Java/Kotlin: Tutorial Dec 10, 2020
@hhstore hhstore added the Kotlin label Dec 10, 2020
@hhstore hhstore mentioned this issue Jan 13, 2022
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant