Skip to content

Commit b129d53

Browse files
committed
simplify run instructions
1 parent a7ef1f9 commit b129d53

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

articles/cognitive-services/Custom-Vision-Service/java-tutorial-od.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ This Java project creates a new Custom Vision object detection project named __S
3838

3939
[!INCLUDE [get-keys](includes/get-keys.md)]
4040

41-
The program is configured to reference your key data as environment variables. Navigate to the **Vision/CustomVision** folder in PowerShell and enter the following commands to set the environment variables.
41+
The program is configured to reference your key data as environment variables. Navigate to the **Vision/CustomVision** folder and enter the following PowerShell commands to set the environment variables.
4242

4343
> [!NOTE]
4444
> If you're using a non-Windows operating system, see [Configure environment variables](https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account?tabs=multiservice%2Cwindows#configure-an-environment-variable-for-authentication) for instructions.
@@ -93,10 +93,9 @@ The prediction endpoint, represented by the `predictor` object here, is the refe
9393

9494
## Run the application
9595

96-
To compile and run the solution using maven, navigate to the project directory in a command prompt and execute the run command:
96+
To compile and run the solution using maven, navigate to the project directory (**Vision/CustomVision**) in a command prompt and execute the run command:
9797

9898
```bash
99-
cd Vision/CustomVision
10099
mvn compile exec:java
101100
```
102101

articles/cognitive-services/Custom-Vision-Service/java-tutorial.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ This Java project creates a new Custom Vision image classification project named
3939

4040
[!INCLUDE [get-keys](includes/get-keys.md)]
4141

42-
The program is configured to reference your key data as environment variables. Navigate to the **Vision/CustomVision** folder in PowerShell and enter the following commands to set the environment variables.
42+
The program is configured to reference your key data as environment variables. Navigate to the **Vision/CustomVision** folder and enter the following PowerShell commands to set the environment variables.
4343

4444
> [!NOTE]
4545
> If you're using a non-Windows operating system, see [Configure environment variables](https://docs.microsoft.com/azure/cognitive-services/cognitive-services-apis-create-account?tabs=multiservice%2Cwindows#configure-an-environment-variable-for-authentication) for instructions.
@@ -87,10 +87,9 @@ The prediction endpoint, represented by the `predictor` object here, is the refe
8787

8888
## Run the application
8989

90-
To compile and run the solution using maven, navigate to the project directory in a command prompt and execute the run command:
90+
To compile and run the solution using maven, navigate to the project directory (**Vision/CustomVision**) in a command prompt and execute the run command:
9191

9292
```bash
93-
cd Vision/CustomVision
9493
mvn compile exec:java
9594
```
9695

0 commit comments

Comments
 (0)