mirror of https://github.com/dapr/java-sdk.git
Add .sdkmanrc config file and JDK installation instructions (#873)
* Add .sdkmanrc file with installation instructions Signed-off-by: Emanuel Alves <emanuel.j.b.alves@gmail.com> * Update README.md Signed-off-by: Artur Souza <asouza.pro@gmail.com> --------- Signed-off-by: Emanuel Alves <emanuel.j.b.alves@gmail.com> Signed-off-by: Artur Souza <asouza.pro@gmail.com> Co-authored-by: Artur Souza <asouza.pro@gmail.com> Co-authored-by: Artur Souza <artursouza.ms@outlook.com> Co-authored-by: Mukundan Sundararajan <65565396+mukundansundar@users.noreply.github.com>
This commit is contained in:
parent
75892fb95f
commit
d8dbb0e16d
|
@ -0,0 +1,3 @@
|
||||||
|
# Enable auto-env through the sdkman_auto_env config
|
||||||
|
# Add key=value pairs of SDKs to use below
|
||||||
|
java=11.0.19-tem
|
11
README.md
11
README.md
|
@ -18,11 +18,8 @@ This is the Dapr SDK for Java, including the following features:
|
||||||
## Getting Started
|
## Getting Started
|
||||||
|
|
||||||
### Pre-Requisites
|
### Pre-Requisites
|
||||||
* JDK 11 or above - the published jars are compatible with Java 8:
|
* SDKMAN! installed (recommended):
|
||||||
* [Microsoft JDK 11](https://docs.microsoft.com/en-us/java/openjdk/download#openjdk-11)
|
* [SDKMAN!](https://sdkman.io)
|
||||||
* [AdoptOpenJDK 11 - LTS](https://adoptopenjdk.net/)
|
|
||||||
* [Oracle's JDK 11 - LTS](https://www.oracle.com/java/technologies/javase-jdk11-downloads.html)
|
|
||||||
* [OpenJDK](https://openjdk.java.net/)
|
|
||||||
* Java IDE installed:
|
* Java IDE installed:
|
||||||
* [IntelliJ](https://www.jetbrains.com/idea/download/)
|
* [IntelliJ](https://www.jetbrains.com/idea/download/)
|
||||||
* [Eclipse](https://www.eclipse.org/downloads/)
|
* [Eclipse](https://www.eclipse.org/downloads/)
|
||||||
|
@ -41,6 +38,10 @@ This is the Dapr SDK for Java, including the following features:
|
||||||
* [New Maven project in IntelliJ](https://www.jetbrains.com/help/idea/maven-support.html#create_new_maven_project)
|
* [New Maven project in IntelliJ](https://www.jetbrains.com/help/idea/maven-support.html#create_new_maven_project)
|
||||||
* [Maven in 5 minutes](https://maven.apache.org/guides/getting-started/maven-in-five-minutes.html)
|
* [Maven in 5 minutes](https://maven.apache.org/guides/getting-started/maven-in-five-minutes.html)
|
||||||
|
|
||||||
|
### Install JDK
|
||||||
|
|
||||||
|
If using [SDKMAN!](https://sdkman.io), execute `sdk env install` to install the required JDK.
|
||||||
|
|
||||||
### Importing Dapr's Java SDK
|
### Importing Dapr's Java SDK
|
||||||
For a Maven project, add the following to your `pom.xml` file:
|
For a Maven project, add the following to your `pom.xml` file:
|
||||||
```xml
|
```xml
|
||||||
|
|
Loading…
Reference in New Issue