Troubleshooting the most common compile-time errors in Java code

In this second tutorial in a series on Java programming, we look at how to troubleshoot and fix the most commonly encountered compiler errors.

In our first iteration of the Rock-Paper-Scissors application, we encouraged you to write a simple program, compile it and run it on the JVM. But if you're new to Java development, it's likely that you ran into a compile time error or two. Troubleshooting a compile time errors can be incredibly frustrating, but if you know a few tricks, you can fix your compile time errors quickly. In this tutorial, we take a look at the most common compile time errors that Java developer will encounter, and we show you how to not only fix them, but how to avoid them entirely in the future.

This was last published in August 2012

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchCloudApplications

SearchSOA

SearchSoftwareQuality

SearchFinancialApplications

SearchSAP

SearchManufacturingERP

Close