以编程方式从C#更新JAVA运行时参数 [英] Programatically update the JAVA runtime parameter from C#

查看:83
本文介绍了以编程方式从C#更新JAVA运行时参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,
我正在使用C#.net和JAVA中的应用程序.

如何以编程方式更改JAVA运行时参数?

互动方式:-

控制面板-> JAVA-> JAVA(标签)->视图->用户->运行时参数.


我想使用C#以编程方式访问此运行时参数.

如何实现?

Dear all,
I am working in a application in C# .net and JAVA.

How can I change the JAVA runtime parameter programmatically?

way to interact:-

Control panel-->JAVA-->JAVA(tab)-->View-->User-->Runtime parameter.


I want to access this Runtime Paramater programatically by using C#.

How can I achieve this?

推荐答案

在文件夹C:\ Documents and Settings \ <用户名> \ Application Data \ Sun \ Java \ Deployment \中是一个文件称为Deployment.properties.这是一个纯文本文件.您可以像使用任何文本文件一样从C#程序内部对其进行编辑.
注意:在上面的路径中,您必须更改< userName>.到当前用户的名称.
In the folder C:\Documents and Settings\<userName>\Application Data\Sun\Java\Deployment\ is a file called deployment.properties. This is a plain text file. You can edit it from inside a C# program the same way as you would any text file.
NOTE: In the path above you must change <userName> to the name of the current user.


这篇关于以编程方式从C#更新JAVA运行时参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆