Okay i think you request this Stack:
Thread [main] (Suspended)
ClassNotFoundException(Object).<init>() line: 37
ClassNotFoundException(Throwable).<init>(String, Throwable) line:
286
ClassNotFoundException(Exception).<init>(String, Throwable) line: not
available
ClassNotFoundException(ReflectiveOperationException).<init>(String,
Throwable) line: not available
ClassNotFoundException.<init>(String) line: not available
URLClassLoader$1.run() line: not available
URLClassLoader$1.run() line: not available
AccessController.doPrivileged(PrivilegedExceptionAction<T>,
AccessControlContext) line: not available [native method]
Launcher$ExtClassLoader(URLClassLoader).findClass(String) line: not
available
Launcher$ExtClassLoader(ClassLoader).loadClass(String, boolean) line:
not available
Launcher$AppClassLoader(ClassLoader).loadClass(String, boolean) line:
not available
Launcher$AppClassLoader.loadClass(String, boolean) line: not
available
Launcher$AppClassLoader(ClassLoader).loadClass(String) line: not
available
MyClass.main(String[]) line: 12
That comes up when calling "new StartWrapper();" in MyClass.java.
Then i come to this code line in StartWrapper.java:
test.StartWrapper.__ctorStartWrapper0(this);
And get that Trace:
Thread [main] (Suspended)
UnsatisfiedLinkError(Object).<init>() line: 37
UnsatisfiedLinkError(Throwable).<init>(String) line: 264
UnsatisfiedLinkError(Error).<init>(String) line: 70
UnsatisfiedLinkError(LinkageError).<init>(String) line: 55
UnsatisfiedLinkError.<init>(String) line: not available
StartWrapper.__ctorStartWrapper0(IClrProxy) line: not available
[native method]
StartWrapper.<init>() line: 25
MyClass.main(String[]) line: 12
The Console Output of eclipse is this:
Exception in thread "main" java.lang.UnsatisfiedLinkError:
test.StartWrapper.__ctorStartWrapper0(Lnet/sf/jni4net/inj/IClrProxy;)V
at test.StartWrapper.__ctorStartWrapper0(Native Method)
at test.StartWrapper.<init>(StartWrapper.java:25)
at test.MyClass.main(MyClass.java:12)
ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return
code = -2
JDWP exit error AGENT_ERROR_NO_JNI_ENV(183): [../../../src/share/back/
util.c:838]
I've put the StartWrapper.java in src/test/.
On Mar 6, 12:18 pm, Pavel Šavara <
pavel.sav...@gmail.com> wrote:
> We could not get any further without full exception information. What class
> ? What stack trace ?
>
> On Tue, Mar 6, 2012 at 10:41 AM, sebastianr <
sebastian.roem...@datatronic.de