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