My case is like this:
I'm writing an application using JPDA.
I'm trying to run an example of it (the Trace sample application) but I can't get this to work in my favourite ide Image may be NSFW.
Clik here to view.
Clik here to view.

When I run it using a certain run configuration, it doesn't find the class that I want to debug.
Ditto, for the terminal integrated with the IDE.
However, just to make sure that the problem isn't with the application:
When I run it in my linux terminal outside, it works fine.
The issue is not with my working directory, as I'll show below:
Image may be NSFW.
Clik here to view.
Clik here to view.

Copying the java command that Intellij has written above, and running it into the integrated terminal at the same working directory give the following:
Image may be NSFW.
Clik here to view.
Clik here to view.

Running it into a native (gnome) terminal works fine! here:
Image may be NSFW.
Clik here to view.
Clik here to view.

If it's relevant:
Oracle JDK 6 in Linux x64.
Suggestions anybody?