It is caused when the java compiler is not compatible with the code.
Goto Project Proprties -> java Compiler and check your jdk version.
Should solve the problem
Subscribe to:
Posts (Atom)
REFACTORING
What is Refactoring? A software is built initially to serve a purpose, or address a need. But there is always a need for enhancement, fixin...
-
I got this error soon after I changed my jdk version to 1.6. Turned out - since I'm using jdk1.6 unlike 1.5 it will not attempt to load ...
-
import java.io.IOException; public class OpenBrowser { public static void displayURL(String url) { boolean windows = isWindo...
-
Found this piece of code on www.coderanch.com package com; import java.awt.image.BufferedImage; import java.io.File; import java.io.FileOutp...