To reallocate RAM to "Minecraft," you'll have to edit the game's settings through whatever launcher app you use.
To check which version of Java you have on your Windows computer, you'll need to open the Command Prompt.