Skip to content

Commit c876df8

Browse files
Merge pull request #2 from Werror/master
Added Windows CMD command
2 parents 79e6c11 + 984dafd commit c876df8

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

SampleApplication/README.txt

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,19 @@ cd to the project folder
66
Copy the SendSafely Jar into this folder and name it SendSafely.jar
77

88
Compile the code with the following command:
9+
Linux, MacOS
910
javac -cp SendSafely.jar:lib/*.jar: -d bin src/*.java
1011

12+
Windows
13+
javac -cp "SendSafely.jar;lib/*.jar" -d bin src/*.java
14+
1115
Run the application with the following command:
16+
Linux, MacOS
1217
java -cp SendSafely.jar:lib/*:bin/ SendSafelyRefApp
1318

19+
Windows
20+
java -cp "SendSafely.jar;lib/*;bin/" SendSafelyRefApp
21+
1422
The Application requires 5 arguments
1523
- SendSafelyHost (Use https://app.sendsafely.com)
1624
- UserAPIKey (Go to your profile on www.sendsafely.com and generate a new API Key)
@@ -19,4 +27,4 @@ The Application requires 5 arguments
1927
- RecipientEmailAddress (The email to the person you want to send the file to)
2028

2129
Example:
22-
java -cp SendSafely.jar:lib/*:bin/ SendSafelyRefApp https://app.sendsafely.com my-api-key my-api-secret /path-to-file/test.pdf [email protected]
30+
java -cp SendSafely.jar:lib/*:bin/ SendSafelyRefApp https://app.sendsafely.com my-api-key my-api-secret /path-to-file/test.pdf [email protected]

0 commit comments

Comments
 (0)