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

Popular posts from this blog

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -