Troubles running Pizza under cygwin and Cougaar 12.2

Todd Wright twright at bbn.com
Wed Aug 15 14:20:47 EDT 2007


Yes, Cygwin can be awkward.

Try setting the install path using DOS-style backslashes:

   export COUGAAR_INSTALL_PATH=c:\\Development\\Cougaar

and use the DOS "cougaar.bat" script instead of the Bash "cougaar" script:

   cougaar.bat SDPizzaNode1.xml

Todd

Alain Anyouzoa wrote:
> Hello,
> 
>  
> 
> I have downloaded Cougaar 12.2 and tried to use it as it is explained in 
> the installation guide. I followed what is said in 
> http://tutorials.cougaar.org/pizza/. The pizza example runs under DOS 
> and does not run under cygwin (linux). Here is what I get with my 
> COUGAAR_INSTALL_PATH set to “C:\Development\Cougaar” in my Windows XP box :
> 
>  
> 
>  
> 
> Exception in thread "main" java.lang.Error: Failed to launch 
> org.cougaar.core.node.Node
> 
>         at 
> org.cougaar.bootstrap.Bootstrapper.launchMain(Bootstrapper.java:442)
> 
>         at 
> org.cougaar.bootstrap.Bootstrapper.launchApplication(Bootstrapper.java:374)
> 
>         at org.cougaar.bootstrap.Bootstrapper.launch(Bootstrapper.java:344)
> 
>         at org.cougaar.bootstrap.Bootstrapper.launch(Bootstrapper.java:329)
> 
>         at org.cougaar.bootstrap.Bootstrapper.main(Bootstrapper.java:317)
> 
> Caused by: java.lang.ClassNotFoundException: org.cougaar.core.node.Node
> 
>         at 
> org.cougaar.bootstrap.XURLClassLoader$1.run(XURLClassLoader.java:200)
> 
>  
> 
>         at java.security.AccessController.doPrivileged(Native Method)
> 
>         at 
> org.cougaar.bootstrap.XURLClassLoader.findClass(XURLClassLoader.java:188)
> 
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
> 
>         at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
> 
>         at 
> org.cougaar.bootstrap.Bootstrapper.launchMain(Bootstrapper.java:418)
> 
>         ... 4 more
> 
>  
> 
> Somebody advised me to change my COUGAAR_INSTALL_PATH to a linux like 
> format, and I exported my COUGAAR_INSTALL_PATH to be 
> “/cygdrive/c/Development/Cougaar”. Things seem to get worse. cougaar did 
> not even start. Here is what I got:
> 
>  
> 
> Exception in thread "main" java.lang.NoClassDefFoundError: 
> org/cougaar/bootstrap/CommandLine
> 
>  
> 
> I would like to make sure I can properly run this sample example because 
> the system we are building is supposed to run under UNIX, LINUX and 
> WINDOWS. I would like to get this straight before moving forwards.
> 
>  
> 
> Any help is welcome.
> 
>  
> 
> Regards,
> 
>  
> 
> Alain.
> 
>  
> 
> -------------------------------------------------
> Dr. Alain Gaetan Njimoluh Anyouzoa  
> Principal Scientist  
> 
> Global InfoTek, Inc.
> 1920 Association Drive
> Reston, VA 20191-1545
> Office: (703) 652-1600 x112
> Cell:      (443) 562-3737
> Fax:      (703) 652-1697
> mailto: aanyouzoa at globalinfotek.com
> http://www.globalinfotek.com <http://www.globalinfotek.com/>
> -------------------------------------------------
> 
>  
> 



More information about the Cougaar-developers mailing list