Launching .Jar file with more RAM

Etch

Registered
I have been trying to launch a .jar file, but having issues opening it, I get the message "Unable to access jarfile"(I have Java SE 6). Typing java -jar and dragging the file in terminal opens it, but can't launch the file with enough Ram.
 
Java virtual machine uses as much memory as you tell. If you do not tell, it uses the default amount. Try "java -Xms512m -Xmx512m -jar fileName.jar".
 
Back
Top