Skip to content
Snippets Groups Projects
Commit c0f3184d authored by Vlad Zolotarov's avatar Vlad Zolotarov Committed by Pekka Enberg
Browse files

README.md: Fixed Java and C++ examples with -e option


New in v2:
 - Added new examples instead of just deletion of the invalid old ones.

Signed-off-by: default avatarVlad Zolotarov <vladz@cloudius-systems.com>
Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
parent cb139dba
No related branches found
No related tags found
No related merge requests found
......@@ -101,12 +101,14 @@ Test networking:
test invoke TCPExternalCommunication
```
Running Java or C applications that already reside within the image:
## Running Java or C applications that already reside within the image:
```
# The default Java-based shell and web server
sudo scripts/run.py -nv -m4G -e "java.so -jar /usr/mgmt/web-1.0.0.jar app prod"
# Building and running a simple java application example
$ make image=java-example
$ scripts/run.py -e "java.so -cp /java-example Hello"
# One of the unit tests (compiled C++ code)
$ sudo scripts/run.py -nv -m4G -e "/tests/tst-pipe.so"
# Running an ifconfig by explicit execution of ifconfig.so (compiled C++ code)
$ make
$ sudo scripts/run.py -nv -e "/tools/ifconfig.so"
```
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment