Problems with java-6-openjdk

I'm using Ubuntu 11.10 which has java-6-openjdk installed. If I try to compile even the simplest project I get the following error:

Error: main.class (File or directory not found)

Compilation is actually successfull. Using strace I get the following:
[...]

[pid  8066] open("/home/steffen/tmp/asd/out/production/asd/main.class", O_WRONLY|O_CREAT|O_TRUNC, 0666) = 11
[...]

[pid  7726] open("main.class", O_RDONLY) = -1 ENOENT (No such file or directory)
[...]

Which seems kind of strange. I also tried deleting the Idea configuration directory. Has anyone else had the same problem or should I open a ticket?

Regards
3 comments
Comment actions Permalink

Do you have your home directory enctypted? Does it work with Sun JDK?

0
Comment actions Permalink

No encryption and it works with the Sun JDK.

0
Comment actions Permalink

Hi,

I had the problem myself too. If you want to open a ticket be my guest !

PS: I solved it by using openjdk-7

0

Please sign in to leave a comment.