Skip to content

Commit c93eb38

Browse files
committed
Add .sdkmanrc file with installation instructions
Signed-off-by: Emanuel Alves <[email protected]>
1 parent d1c61ca commit c93eb38

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-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: 5 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:
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,9 @@ 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+
Execute `sdk env install` to install the required JDK.
43+
4444
### Importing Dapr's Java SDK
4545
For a Maven project, add the following to your `pom.xml` file:
4646
```xml

0 commit comments

Comments
 (0)