You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whirr.apache.org by "Akash Ashok (Updated) (JIRA)" <ji...@apache.org> on 2012/01/01 17:05:31 UTC

[jira] [Updated] (WHIRR-460) Error while running whirr on Cygwin

     [ https://issues.apache.org/jira/browse/WHIRR-460?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Akash Ashok updated WHIRR-460:
------------------------------

    Attachment: Whirr-460.patch

CLASSPATH converted from windows to UNIX style if the environment is Cygwin
                
> Error while running whirr on Cygwin 
> ------------------------------------
>
>                 Key: WHIRR-460
>                 URL: https://issues.apache.org/jira/browse/WHIRR-460
>             Project: Whirr
>          Issue Type: Bug
>    Affects Versions: 0.7.0
>         Environment: Cygwin 
>            Reporter: Akash Ashok
>             Fix For: 0.8.0
>
>         Attachments: Whirr-460.patch
>
>
> When I try to run bin/whirr on Cygwin jars are not loaded properly into the classpath. This works well on any linux ofcourse but not Cygwin.
> java.lang.NoClassDefFoundError: org/apache/whirr/cli/Main
> Caused by: java.lang.ClassNotFoundException: org.apache.whirr.cli.Main
>         at java.net.URLClassLoader$1.run(Unknown Source)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at java.net.URLClassLoader.findClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
>         at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
>         at java.lang.ClassLoader.loadClass(Unknown Source)
> Could not find the main class: org.apache.whirr.cli.Main.  Program will exit.
> Exception in thread "main"

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira