Skip to content

Commit c199d23

Browse files
committed
fix: Update Java ADK docs to reflect updated agent dir
Resolving issues raised in google/adk-java#456 (comment)
1 parent 14b103a commit c199d23

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

docs/get-started/streaming/quickstart-streaming-java.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ Run the following command from the terminal to launch the Dev UI.
122122
```console title="terminal"
123123
mvn exec:java \
124124
-Dexec.mainClass="com.google.adk.web.AdkWebServer" \
125-
-Dexec.args="--adk.agents.source-dir=src/main/java" \
125+
-Dexec.args="--adk.agents.source-dir=." \
126126
-Dexec.classpathScope="compile"
127127
```
128128

@@ -135,8 +135,7 @@ the dropdown. Select "science-app".
135135
!!!note "Troubleshooting"
136136

137137
If you do not see "science-app" in the dropdown menu, make sure you
138-
are running the `mvn` command at the location where your Java source code
139-
is located (usually `src/main/java`).
138+
are running the `mvn` command from the root of your maven project.
140139

141140
## Try Dev UI with text
142141

0 commit comments

Comments
 (0)