java command are missing away of giving -D arguments
Project: | JNode Shell |
Component: | Code |
Category: | bug report |
Priority: | normal |
Assigned: | Unassigned |
Status: | active |
Jump to:
Description
Trying to "Specifying an Additional Policy File at Runtime" it turned out that the java command can't take -D arguments.
- Login to post comments
#1
Thinking about this, the -D option is currently equivalent (in JNode) to using the 'set' command to add the required properties to the isolate's system properties object. This of course affects everything in the isolate, hence the 'set' command is a more appropriate way of doing this.
If / when the 'java' command is changed to run a class in a new isolate, then the -D option needs to be implemented to set the properties in the new isolate.