Intellij cannot find a class when passing it in another JVM instance


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 :(
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:

Screenshot from 2014-03-21 23:51:48.png
Copying the java command that Intellij has written above, and running it into the integrated terminal at the same working directory give the following:
Screenshot from 2014-03-21 23:52:48.png

Running it into a native (gnome) terminal works fine! here:
Screenshot from 2014-03-21 23:54:09.png

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

Suggestions anybody?


Attachment(s):
Screenshot from 2014-03-21 23:54:09.png
Screenshot from 2014-03-21 23:52:48.png
Screenshot from 2014-03-21 23:51:48.png

Please sign in to leave a comment.