I am doing a project in x10 language. Its back-end is java. I need to import some useful java libraries to x10 class. But when I build the project with ant, it gives build errors saying imported class name is not found. Then I tried to import them to a java class. I succeeded.
But what I need is, to import them to a x10 class.
There are two things you need to do.
There are some examples of X10/Java interop in the samples/java.interop directory that may help. Here is one of them for reference: