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

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -