Use the IDE's help as follows:- Right mouse click on the error in the 'Problems' view- Select the 'Quick Fix' 【CTRL+1】menu item from the pop-up menu - Select the right compiler level in the provided dialog and click 'Finish'.