Reputation: 109
I want to set warning as error in my Eclipse Juno IDE.
public class Main {
public static void main(String[] args) {
TryRefactoring try1 = new TryRefactoring();//warning shown here
}
}
but I want to set this warning show me as error in my IDE ?
Upvotes: 1
Views: 2055
Reputation: 416
I will update @Matthew Ertel's answer to April, 2021.
Menu Window > Preferences > Java > Compiler > Error/Warnings.
Upvotes: 2
Reputation: 198
In eclipse if you right click on your Project in the Package Explorer, then go to properties -> Java Compiler -> Errors/Warnings. You can then manually change which compiler findings appear as warnings/errors/ignored etc...
Upvotes: 3