Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
例如,我可以测试系统是否为 64 位 Windows 系统:
return Util.isWindows() && Util.is64BitWindows();
我现在的问题是如何检查 Install4j 条件表达式中计算机上的特定目录中是否存在“c:\test\myTestFile.txt”?
new java.io.File("C:/temp").exists();