During my course of studies I came to a point where I have to use an Ubuntu Server 32bit setup.
On my clean setup I just installed the Ubuntu-Desktop, the JDK:
sudo apt-get install openjdk-7-jdk
Starting Eclipse works just fine. When it comes to write a java class in Eclipse nearly every single line of my code gets an Error mark to the left.
sudo apt-get install eclipse
Especially the regular class definition at the head of the class is marked as wrong.
I reinstalled Ubuntu and the same issues remain.
Since my program won't run on an applet anywhere, I have to use Eclipse to run the code for getting credit points.
I'm thankful for any help!!