Thank you Mr.Vaziri, I've update the x10dt, the problem seems disappear. Than you.
在 2010年7月21日 上午12:29,Mandana Vaziri <mvaz...@us.ibm.com>写道: > Hello, > > Regarding question 2, X10DT 2.0.5 will have an X10 runtime container, so > you will not have to update the runtime manually in the future. > The reason why your code does not launch is probably that there is a > compilation error somewhere else in your project. Currently, we do not > allow the user to launch anything until all the compilation errors in a > project have been fixed. > > > Mandana Vaziri > IBM T. J. Watson Research Center > http://www.research.ibm.com/people/m/mvaziri/ > > > > 陈松 <1988...@gmail.com> wrote on 07/16/2010 10:01:15 PM: > > > From: 陈松 <1988...@gmail.com> > > To: x10-users@lists.sourceforge.net > > Date: 07/16/2010 10:01 PM > > Subject: [X10-users] problem with x10 adn x10dt > > > > Hi there, I am a undergraduate student in China, and I am going to do > some > > parallel experiment with x10-language. But I encountered some problems. > > > > 1) I have question with how to compile the ".x10" file in linux CLI, I've > > download the release for linux-x86, but I can only use "x10/bin/x10c > > xxx.x10" to compile the source code, how can compile it just by typing > "x10c > > xxx.x10", I've tried to export the x10/bin/ fold to PATH, but got the > error > > message: > > > > Exception in thread "main" java.lang.NoClassDefFoundError: > > polyglot/main/Main > > Caused by: java.lang.ClassNotFoundException: polyglot.main.Main > > at java.net.URLClassLoader$1.run(URLClassLoader.java:202) > > at java.security.AccessController.doPrivileged(Native Method) > > at java.net.URLClassLoader.findClass(URLClassLoader.java:190) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:307) > > at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301) > > at java.lang.ClassLoader.loadClass(ClassLoader.java:248) > > Could not find the main class: polyglot.main.Main. Program will exit. > > > > > > 2) I've installed x10dt in eclipse, it didn't work either. At first, I > even > > cannot build the sample "Helloworld.x10" until I put x10 runtime jar in > the > > build path, I thought it should be automaticly invoked. and then another > > problem has arisen, which is, I cannot run the program, when I clicked > the > > run button, it popped out a message showed that "Generated Java > application > > not found for X10 application Hello.x10; perhaps there is a pending > > compilation error?", but the code itself had no mistakes at all, here is > the > > code: > > > > public class Hello { > > public static def main(argv:Rail[String]) { > > x10.io.Console.OUT.println("Hello, world!"); > > } > > } > > > > > > I'm totally new to x10, and I googled a lot, still cannot find the > > solution.Hope you can help me. Thank you very much. > > > > ps:My english is not very good, hope you can understand me. > > > > Best wishes! > > > > ------------------------------------------------------------------------------ > > > This SF.net email is sponsored by Sprint > > What will you do first with EVO, the first 4G phone? > > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > > _______________________________________________ > > X10-users mailing list > > X10-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/x10-users > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > X10-users mailing list > X10-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/x10-users > ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users