If you are building on the mac, you need to install the latest Java Developer Package from the developer.apple.com website. The standard JavaForOSX package does not support JNI. This support is needed to build X10.
Regards, Olivier SUYASH GUPTA <dynamic.suy...@gmail.com> wrote on 10/17/2013 03:12:43 AM: > From: SUYASH GUPTA <dynamic.suy...@gmail.com> > To: Mailing list for users of the X10 programming language <x10- > us...@lists.sourceforge.net> > Date: 10/17/2013 03:13 AM > Subject: [X10-users] Regarding X10 runtime > > Hello All > I have tried to build the X10-2.3.0 source. I was able to build it > successfully and also compile an existing X10 code. but when I tried > to execute the code then following error came: > > Users/.../x10-2.3.0/stdlib/x10.jar:/Users/.../x10-2.3.0/lib/commons- > math3-3.0.jar > Exception in thread "main" java.lang.UnsatisfiedLinkError: > x10.x10rt.X10RT.x10rt_init(I[Ljava/lang/String;)I > at x10.x10rt.X10RT.x10rt_init(Native Method) > at x10.x10rt.X10RT.init(X10RT.java:64) > at x10.x10rt.X10RT.<clinit>(X10RT.java:32) > at x10.runtime.impl.java.Runtime.<clinit>(Runtime.java:221) > > I am unable to find the source for this error and that too when > build was successful and compilation occurred. Can someone point out > what is needed to be done. > Thanx > -- > Regards > > Suyash Gupta > MS Scholar > Pace Lab, > Department of Computer Science & Engineering > IIT Madras > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk > _______________________________________________ > X10-users mailing list > X10-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/x10-users ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk _______________________________________________ X10-users mailing list X10-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/x10-users