0
Java应用程序没有在Widows 10上获取app.properties
有一个应用程序需要认证才能正常工作,在Linux中,没有问题,但我想在Windows机器上运行它。 我在Windows 10系统上安装了Java。 然后我下载该jnlp应用程序在我的Windows机器上运行它。 正确运行应用程序我需要创建一个属性文件,如“〜/ .app.properties”。在该文件中,我应该将应用程序指向我的pem文件和ssh键。 文件包含: orca.xmlrpc.url=https://webpage.com/orca/xmlrpc user.certfile=/Users/pruth/.ssl/file.pem user.certkeyfile=/Users/pruth/.ssl/file.pem enable.modify=true ssh.key=~/.ssh/id_dsa SSH Public key to install into VM instances ssh.pubkey=~/.ssh/id_dsa.pub Secondary login (works with ssh.other.pubkey) ssh.other.login=pruth Secondary public SSH keys ssh.other.pubkey=~/.ssh/id_dsa.pub Should the secondary account have sudo privileges ssh.other.sudo=yes Path to XTerm executable on your system xterm.path=/opt/X11/bin/xterm 运行此应用程序后,它不会跟随属性文件中的行,但在Linux中它会执行。 更新:应用程序告诉将属性文件放在$ …