Skip to content

Commit 4e17f3f

Browse files
ejbaartursouzamukundansundar
authored andcommitted
Add .sdkmanrc config file and JDK installation instructions (dapr#873)
* Add .sdkmanrc file with installation instructions Signed-off-by: Emanuel Alves <[email protected]> * Update README.md Signed-off-by: Artur Souza <[email protected]> --------- Signed-off-by: Emanuel Alves <[email protected]> Signed-off-by: Artur Souza <[email protected]> Co-authored-by: Artur Souza <[email protected]> Co-authored-by: Artur Souza <[email protected]> Co-authored-by: Mukundan Sundararajan <[email protected]> Signed-off-by: Mahmut Canga <[email protected]>
1 parent 1ed7192 commit 4e17f3f

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.sdkmanrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# Enable auto-env through the sdkman_auto_env config
2+
# Add key=value pairs of SDKs to use below
3+
java=11.0.19-tem

README.md

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,8 @@ This is the Dapr SDK for Java, including the following features:
1818
## Getting Started
1919

2020
### Pre-Requisites
21-
* JDK 11 or above - the published jars are compatible with Java 8:
22-
* [Microsoft JDK 11](https://docs.microsoft.com/en-us/java/openjdk/download#openjdk-11)
23-
* [AdoptOpenJDK 11 - LTS](https://adoptopenjdk.net/)
24-
* [Oracle's JDK 11 - LTS](https://www.oracle.com/java/technologies/javase-jdk11-downloads.html)
25-
* [OpenJDK](https://openjdk.java.net/)
21+
* SDKMAN! installed (recommended):
22+
* [SDKMAN!](https://sdkman.io)
2623
* Java IDE installed:
2724
* [IntelliJ](https://www.jetbrains.com/idea/download/)
2825
* [Eclipse](https://www.eclipse.org/downloads/)
@@ -41,6 +38,10 @@ This is the Dapr SDK for Java, including the following features:
4138
* [New Maven project in IntelliJ](https://www.jetbrains.com/help/idea/maven-support.html#create_new_maven_project)
4239
* [Maven in 5 minutes](https://maven.apache.org/guides/getting-started/maven-in-five-minutes.html)
4340

41+
### Install JDK
42+
43+
If using [SDKMAN!](https://sdkman.io), execute `sdk env install` to install the required JDK.
44+
4445
### Importing Dapr's Java SDK
4546
For a Maven project, add the following to your `pom.xml` file:
4647
```xml

0 commit comments

Comments
 (0)