I believe this is an ant configuration issue.  Perhaps ANT_HOME is not set
correctly, or needs to be unset, or perhaps JAVA_HOME needs to be set.
There is an error similar to this at the bottom of
http://wiki.apache.org/ant/AntNewbies

Also, I'm not positive, but I believe you need to specify the options
before the build target, with "ant -DX10RT_MPI=true dist", instead of "ant
dist -DX10RT_MPI=true".

- Ben


|------------>
| From:      |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |Marko Kobal <marko.ko...@arctur.si>                                          
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| To:        |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |"x10-users@lists.sourceforge.net" <x10-users@lists.sourceforge.net>          
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Date:      |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |08/03/2011 16:44                                                             
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
|------------>
| Subject:   |
|------------>
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|
  |[X10-users] error building from source                                       
                                                                     |
  
>--------------------------------------------------------------------------------------------------------------------------------------------------|





Hi,



On my CentOS 5.6 64bit system I have:



# java -version

java version "1.7.0"

Java(TM) SE Runtime Environment (build 1.7.0-b147)

Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)



ant.x86_64                                  1.6.5-2jpp.2
installed

ant-nodeps.x86_64                           1.6.5-2jpp.2
installed



When I try to build I get the following error:



# cd x10.dist && ant dist -DX10RT_MPI=true

Error: Could not find or load main class
org.apache.tools.ant.launch.Launcher



What else am I missing?





Kind regards, Marko Kobal



------------------------------------------------------------------------------

BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts.
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users




------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
X10-users mailing list
X10-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/x10-users

Reply via email to