Click here to Skip to main content
15,899,626 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
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?
Posted
Updated 30-Jun-10 2:16am
v3
Comments
Henry Minute 28-May-10 8:08am    
As 4 hours have passed with no response, I suspect that you have not provided enough information for anyone to offer a proper response. If you could edit your question (use the 'Improve Question' widget) to give more information about your problem, you may get some help.
[no name] 3-Jun-10 10:34am    
So there is a four hour time limit here?

1 solution

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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900