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 -

How to merge four videos on one screen with ffmpeg -

c - getting error: cannot take the address of an rvalue of type 'int' -