Dear list;

In my last question, I can't solve it in command line. So I try it in
another way.

I copy "Hello.java" which is generated by compiling "Hello.x10". I load the
Hello class in a new class with "Class.forName" code as follows:

Hello h = (Hello) Class.forName("Hello").newInstance();

h.main(null);

The code runs successfully.

 

Maybe the JVM has some default option so it can't know Hello.class well? I
am a little confused but fortunately I find a way to solve it.

 

Best regards.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to