阅读背景:

从Linux for Java Application获取正确的路径文件

来源:互联网 

I have a java application as a jar, it encrypt some files, I use a JFileChooser to get the root path, it works ok, 2 directories inside de root path contain the directories and inside of these directories a files to be encrypted , one or many of these directories is the month ( example path/january or path/May). The JFileChooser only explore the rooh path directory,the name of months directories are in the code of application, I have 12 monhts, the first word of month starts with uppercase, but if I have the name of directory in lowercase the appplication doesn't recognize the path, it for linux OS, in Windows works perfect. any suggestions ?I have a java application as a jar, it encrypt




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: