Go to https://www. java. com/en/download/ in your computer’s web browser. Click Free Java Download in the middle of the page. Click Agree and Start Free Download at the top of the page. Double-click the downloaded setup file. Follow the on-screen installation prompts.

In some cases, you’ll click Java (32-bit) here.

Type -Xms1024m to assign 1GB of memory to Java. Type -Xms2048m to assign 2GB of memory to Java. Type -Xms3072m to assign 3GB of memory to Java.