Hi,
I have written in the DDE 8.5.1 a java class called ‘Atest’ The libraries name is ‘Otto’ and I have tried both the package (default package)and later ‘Testing’. It compiles without error and the Script library also show no error image (red box with white cross)
Its tiny, it just sets a field :
package Testing;
public class Atest {
int x;
Atest() {
x=1;
}
}
I then tried to use it in a form
(Globals) Options:
Uselsx"*javacon"
(Globals) Declaration:
Dim AtestClass As JavaClass
Dim JavaSession As JavaSession
Dim MyObject as JavaObject
Postopen Event:
Set JavaSession=New JavaSession
Set AtestClass=JavaSession.GetClass(“Atest”) '<— Bang !
…
I always get the error message that it can’t find the class. I have tried in GetClass also:
‘Otto.Testing.Atest’, ‘Testing.Atest’ and ‘Otto.Atest’
So what is wrong ???
TIA
Joe