Javet Shell is a console or Android application that provides Node.js flavored console interactions. It is a sample application of Javet.
- Android (Node) or Android (V8)
- Linux + MacOS + Windows
- Complete access to JVM
- Debug with Chrome Dev Tools
- Download the apk file from the latest action.
- Install the apk file.
Please refer to Android (Node) or Android (V8) for details.
Usage: Javet Shell options_list
Options:
--debugPort, -p [9229] -> Debug port { Int }
--runtimeType, -r [V8] -> JS runtime type { Value should be one of [node, v8] }
--scriptName, -s [main.js] -> Script name { String }
--verbose, -v [false] -> Verbose
--help, -h -> Usage info
- Download the jar file from the latest action.
- Run
java -jar javet-shell-0.1.0.jar
- Run the following command to run the Docker container.
# amd64
docker run --rm -it -p 9229:9229 --entrypoint bash sjtucaocao/javet-shell:amd64-latest
# arm64
docker run --rm -it -p 9229:9229 --entrypoint bash sjtucaocao/javet-shell:arm64-latest
- Run the following command to start the JavetShell console.
# amd64
./javet-shell-node.sh
# arm64
./javet-shell-v8.sh
Please refer to this page for details.