Hey guys,
i have a
java applet running on client side whose purpose is to display images. The images sometimes can be large in size, so i need to increment the size of jvm on the client side, but i need to do this programmatically(without user's intervention). One idea i had was trying to manipulate the deployment.properties file found under <USER_HOME>\Application Data\Sun\Java\Deployment, and i tried using System.getProperty("user.home") to reach for the <USER_HOME>, this ran perfectly well on jbuilder (using the applet viewer), but when trying to run the applet on IE6.0, the applet was forbidden from geting the "user.home" property.
My question is that is there a way to get the user home dir of the user some other way in order to modify this file?
if not, how do you suggest i change the memory for the jvm programmatically?
thanks,