Ensure you set the bin of Maven installation in classpath. Just google, setting classpath of maven.
I think this should resolve the problem. On Thu, Jun 7, 2012 at 10:27 AM, Anders Hammar <[email protected]> wrote: > Have you defined the M2_HOME env variable? > > /Anders > > On Thu, Jun 7, 2012 at 9:56 AM, Yaprak Ayazoglu > <[email protected]> wrote: > > Hi, > > > > I'm trying to understand whether maven works or not. > > > > Depending on the lines below maven seems not working at all. How can I > fix > > this > > problem? Can you help? > > > > ya@yaprak:~$ mvn > > Error: Could not find or load main class > org.codehaus.classworlds.Launcher > > > > > > -- > > Yaprak > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
