简体   繁体   English

如果使用JWS启动Java应用程序,则在Windows,Linux和MAC上将应用程序数据和临时文件放在哪里

[英]Where to put application data and temp files on Windows, Linux and MAC if java-application is being lauched using JWS

Can we allow user to set and save application data and temp data using Java-Application that has beenrun/launch using JWS ? 我们是否可以允许用户使用已通过JWS运行/启动的Java-Application设置和保存应用程序数据和临时数据? Does it make sense ? 是否有意义 ?

We would like to know if user run JNLP directly then can user save preferences settings on local so when he/she run again JNLP he/she could find his/her last saved settings again. 我们想知道用户是否直接运行JNLP,然后可以在本地保存用户首选项设置,因此当他/她再次运行JNLP时,他/她可以再次找到他/她最近一次保存的设置。

Where to put application data ie configuration files, properties file. 在哪里放置应用程序数据,即配置文件,属性文件。 user download path etc.. and where to put temp files ie. 用户下载路径等。以及将临时文件放在哪里。 logs etc.. on Windows, Linux and MAC if java-application is being launched using JWS ? Windows,Linux和MAC上的日志等。如果正在使用JWS启动Java应用程序?

I often use java.util.prefs.Preferences , but javax.jnlp.PersistenceService is available to Java Web Start applications. 我经常使用java.util.prefs.Preferences ,但是javax.jnlp.PersistenceService可用于Java Web Start应用程序。 Both represent abstractions that are cross-platform. 两者都代表跨平台的抽象。

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

相关问题 .NET我的应用程序设置在哪里保存 - .NET Where are my application settings being persisted Windows 窗体应用程序的设置值存储在哪里? - Where are settings values stored for a Windows forms application? 使用ConfigurationManager配置应用程序目录-从哪里开始? - Configuring application directories using ConfigurationManager - where to start? 应用程序配置Windows窗体应用程序 - App config windows form application 在哪里保留Android应用程序的可编辑配置文件? - Where to keep editable config file for Android application? 如何使用app.config使控制台应用程序传输大于4 MB的文件 - How can I make my console application transfer files bigger than 4 MB using app.config 实际保存或写入的应用程序属性设置在哪里? - Where are the application properties settings actually saved or written to? 在Windows控制台应用程序的编译版本中保护密码 - Securing passwords in compiled version of Windows Console application 应用程序未使用正确的连接字符串 - application is not using the correct connection string 在 Visual Studio for mac 中为控制台应用程序添加 app.config 文件 - Add app.config file for console application in Visual studio for mac
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM