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

Receive udp packets in android gstreamer -

php - Extract Text from HTTP referer -

authentication - Mongodb revoke acccess to connect test database -