This is the output I’m getting while compiling my class under Lubuntu 12.04 32bit + jdk1.6.0_33 + Intellij IDEA 11.1.2:
Cannot find symbol method initCause(java.lang.ClassNotFoundException)
Language level of the project is ‘5 enum word’.

Can you please explain to me what’s the problem here and how to fix it?
P.S. it’s a SUN jdk
I must apologize – the problem is not specific to linux.
It is because of the difference between JavaSE and JavaME:
Both, SE and ME have class java.lang.Throwable.
ME implementation does not have initCause() method – that was the actual reason why the code didn’t compile.
It seems that I have copy/pasted this code from SE project to ME without checking.