How can I move Minecraft (java) over to another pc?
Log in to Minecraft.net with the other PC, download Minecraft and then log in to the launcher with your profile
Simply log in to the official minecraft site and download the installer again and install minecraft. Then copy the folder where the worlds are saved to the new PC. And start minecraft. Finished!
The folder where the worlds are is located in the "Appdata" folder (Windows).