constructor - Java UNIXProcess not visible in Eclipse? -
i tried use unixprocess.class, eclipse keeps warning me unixprocess not visible.
the code simple:
import java.lang.process; public class simple { unixprocess process; }
can know use unixprocess? thanks
java.lang.unixprocess
declared default visibility means cannot seen classes outside of package java.lang.*
. use processbuilder
or runtime.exec()
, instead, create valid process
object.
Comments
Post a Comment