osgi - How can I get command line arguments from java equinox bundle? -



osgi - How can I get command line arguments from java equinox bundle? -

i've equinox application , want eventual command line parameters user can use. how can these parameters?

the list of possible arguments listed in eclipselauncher class constants. if want, can constants of class reflection. scheme property names prefixed "prop_". might work 1 version, not other. not recommend this.

you can scheme properties via system.getproperties() (i guess trivial).

if want if arguments have been passed in oracle based jvm sun.java.command scheme property. not work other jvm implementations.

non of options above suggested utilize in production :). interested in use-case want implement getting these arguments programmatically.

java osgi

Comments

Popular posts from this blog

java Multi query from Mysql using netbeans -

c# - DotNetZip fails with "stream does not support seek operations" -

c++ - StartServiceCtrlDispatcher don't can access 1063 error -