我用eclipse 编译的时候为什么我就不能定义字符串数组呢??请各位大侠们看看我下面到底是那个地方错了
public class String{
public static void main(String[] args){
String str={"add","df","ge","rtr"};//报错
........
}
}
又及:java中的endorsed技术
官方解释 java endorsed http://java.sun.com/javase/6/docs/technotes/guides/standards/index.html (为什么我弄的链接总是不成功。。。。)
Specifying the -Djava.endorsed.dirs=lib/endorsed system property on the Java command line will force the JVM to prefer any library it finds in the endorsed directory over its own system libraries. Copying the jars into $JAVA_HOME/jre/lib/endorsed will do the same thing.