如何查看jdk的版本是32位还是64位

2017-12-30 18:15:55

1.通过命令行去区别版本号

该是jdkeclipse的版本有问题了。

 

2.通过代码获得版本号

public class Test{
    public static void main(String[] args){

    String arch = System.getProperty("sun.arch.data.model");
    System.out.println(arch);
}

  • 2018-01-01 10:50:49

    仿QQ长按弹出功能菜单

    android app普遍常用的弹出上下文菜单是列表式的。QQ列表,在上方弹出冒泡效果菜单,如图