Could not find the main class
You may get the following error when launching Arduino:
Java Virtual Machine Launcher: Could not find the main class. Program will exit
Make sure that you correctly extracted all the contents of the Arduino.zip file - in particular that the lib directory is directly inside of the Arduino directory and contains the file pde.jar. If the problem still occurs, you can reinstall the installer file of Arduino IDE other than downloading the portable file.