runtime.exec() at Java ME 8 not supported. Is there an alternative? -


i have call shell script java me 8 application cldc 8 doesn't implement runtime.exec(). there other opportunities call shell script java me?

if understand correctly, might want consider using processbuilder:

this class used create operating system processes.
each processbuilder instance manages collection of process attributes. start() method creates new process instance attributes. start() method can invoked repeatedly same instance create new subprocesses identical or related attributes.

usage example docs:

process p = new processbuilder("mycommand", "myarg").start(); 

Comments

Popular posts from this blog

authentication - Mongodb revoke acccess to connect test database -

ios - Realm over CoreData should I use NSFetchedResultController or a Dictionary? -

r - Update two sets of radiobuttons reactively - shiny -