Troubleshooting the most common compile-time errors in Java code

Troubleshooting the most common compile-time errors in Java code

Troubleshooting the most common compile-time errors in Java code

date:Aug 24, 2012

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.

More on JSRs and APIs

  • canderson

    Install the Java Development Kit (JDK): Setting JAVA_HOME

    VIDEO - The Java Development Kit (JDK) is a necessity for every Java developer. This video tutorial will guide developers through the process of installing JDK version 6.

    ( Feb 16, 2012 )

  • canderson

    Is Java EE7's cloud focus too narrow?

    VIDEO - The upcoming Java EE7 release is focused on cloud computing, but at JavaOne 2011 some Java experts wondered if that's a good thing.

    ( Oct 11, 2011 )

  • canderson

    Ben Evans and Martijn Verburg on Java 7

    VIDEO - In this video Ben Evans and Martjin Verburg talk about Java 7, the new version of Java that's coming out this summer. Find out what sorts of improvements have been made and when to expect your first look at Java 7.

    ( Mar 22, 2011 )

  • Docker containers are growing up and embracing open standards

    Feature - In this new world where containers are challenging virtualized environments, Docker has had to grow up fast, and not only is it growing up, but it's opening up to new standards as well.

    ( Jul 06, 2015 )

  • Google's Project Soli replaces the keyboard and mouse with radar and logic

    News - Very little has been done to truly replace the utility of the keyboard and mouse, but Project Soli is working to change that. The new Google project looks to combine machine intelligence with radar and similar technology to read hand signals and control the Internet of Things (IoT).

    ( Jun 01, 2015 )

  • Bridging the gap between WebRTC, VoIP and phones

    Tip - The WebRTC protocol has shown great promise for integrating telephony capabilities into modern enterprise applications. But challenges remain.

    ( Apr 22, 2015 )

  • Where are the REST alternatives for real-time applications?

    Feature - Enterprise developers face number of challenges in creating frameworks for building scalable real-time applications that power modern apps like the cars moving in Uber. Read on to find out how new protocols and automatically synchronized database frameworks can help to simplify these kinds of applications.

    ( Apr 06, 2015 )

  • What we can expect from Hibernate OGM and data persistence in 2015

    Podcast - Emmanuel Bernard discusses the Hibernate OGM project and how it has progressed since it was initially envisioned back in 2011.

    ( Mar 09, 2015 )