We're updating the issue view to help you get more done. 

Package DJVM CLI for standalone distribution

Description

To run the DJVM CLI, you must currently execute a command line like this:

1 $ java -cp "$CLASSPATH:.:tmp:corda-djvm-cli.jar" net.corda.djvm.tools.cli.Program <args>

This complexity is encapsulated by a djvm script, but this means that we need both the JAR and the script in order to deliver the DJVM CLI tool.

Publish DJVM CLI as a ZIP artifact containing both an executable DJVM CLI JAR and djvm script.

Also fix the DJVM CLI so that it can be executed as:

1 $ java -jar corda-djvm-cli.jar <args>

with an implicit classpath of tmp/. This will support simple use-cases where all of the user's classes to be sandboxed are contained within the tmp/ directory.

And throw in a djvm.bat file too, for good measure.

CVSS Vector

None

Status

Assignee

Chris Rankin

Reporter

Chris Rankin

Labels

None

CVSS Score

None

Feature Team

SGX

Target Version/s

Corda 4.1
Corda Enterprise 4

Ported to...

None

Fix versions

Priority

Medium