简体   繁体   English

如何在Mac上使用javaxt?

[英]How to use javaxt on mac?

i am using jdk1.6 and the following code is working properly on windows,but i need to run it mac also But it is not running on mac, can anyone told me. 我正在使用jdk1.6,以下代码在Windows上可以正常运行,但是我也需要在Mac上运行它,但是它不在Mac上运行,有人可以告诉我。 how to run it on mac? 如何在Mac上运行它?

      javaxt.io.File file1=new javaxt.io.File(fname);
      Date d1=file1.getLastAccessTime();      
      System.out.println("LastAccessed Date:"+d1);
      Date d2=file1.getCreationTime();
      System.out.println("Creation time of file"+d2);

javaxt-core的最新版本1.5.6包含针对Mac OS X的修复程序。这是网站: http : //www.javaxt.com

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM