Return-Path: X-Original-To: apmail-maven-users-archive@www.apache.org Delivered-To: apmail-maven-users-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 1EA5C18C22 for ; Wed, 4 Nov 2015 18:56:20 +0000 (UTC) Received: (qmail 31309 invoked by uid 500); 4 Nov 2015 18:56:18 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 31232 invoked by uid 500); 4 Nov 2015 18:56:18 -0000 Mailing-List: contact users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Help: List-Post: List-Id: "Maven Users List" Reply-To: "Maven Users List" Delivered-To: mailing list users@maven.apache.org Received: (qmail 31220 invoked by uid 99); 4 Nov 2015 18:56:18 -0000 Received: from Unknown (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Nov 2015 18:56:18 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 1AC2EC5F4E for ; Wed, 4 Nov 2015 18:56:18 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.879 X-Spam-Level: ** X-Spam-Status: No, score=2.879 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-eu-west.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id EvGNvoQblVTQ for ; Wed, 4 Nov 2015 18:56:16 +0000 (UTC) Received: from mail-wm0-f47.google.com (mail-wm0-f47.google.com [74.125.82.47]) by mx1-eu-west.apache.org (ASF Mail Server at mx1-eu-west.apache.org) with ESMTPS id E12BB20F5E for ; Wed, 4 Nov 2015 18:56:15 +0000 (UTC) Received: by wmff134 with SMTP id f134so118177034wmf.1 for ; Wed, 04 Nov 2015 10:56:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; bh=9cb/K7p9kegKIZBzkMqa8AT/ccSffDl0EwWB5W6WvxQ=; b=h5wsGVFHkEgD0RXRkRlaUhL26kyfBo0U8ubtxdd5+U8aLuX3zc1hkhQMs9+AkIurZV AJn+GhW0yhsZsVWgnK4H1j8DnKDHNrbsWiegxlhDzbDWo+pw9o2aO/YN32yurzRCHXL7 L1y9P3Gq/ZHYeWwN0e3YS1+MbATRbKCEatmDibLdNtLbxzA2Q5LnkwmFfCpBnx/7tzRR IS6SKxM9S0OEfdL/kMUuEIkaxCtNimdoIu2Rnnn3QiWzsx0FEPa8XXdDjuYugygpeEGh orGNZvl/M/x7O/SYJvOUTUuGCT/qF86zbznJf+dz9I8rtJrH5+IO84EtpzXcfHmPaFbu CmPA== X-Received: by 10.28.131.11 with SMTP id f11mr25825952wmd.59.1446663375547; Wed, 04 Nov 2015 10:56:15 -0800 (PST) MIME-Version: 1.0 Received: by 10.194.136.169 with HTTP; Wed, 4 Nov 2015 10:55:36 -0800 (PST) In-Reply-To: References: From: james pruett Date: Wed, 4 Nov 2015 12:55:36 -0600 Message-ID: Subject: Re: Solaris To: Maven Users List Content-Type: multipart/alternative; boundary=001a1144481a9bf2bb0523bb9053 --001a1144481a9bf2bb0523bb9053 Content-Type: text/plain; charset=UTF-8 Hi again, I am trying to use maven from Solaris and get this error. Thanks for helping. -jim $ ../../maven/apache-maven-3.3.3/bin/mvn clearn install -f pom.xml -N Exception in thread "main" java.lang.UnsupportedClassVersionError: org/apache/maven/cli/MavenCli : Unsupported major.minor version 51.0 at java.lang.ClassLoader.defineClass1(Native Method) at java.lang.ClassLoader.defineClassCond(ClassLoader.java:637) at java.lang.ClassLoader.defineClass(ClassLoader.java:621) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:141) at java.net.URLClassLoader.defineClass(URLClassLoader.java:283) at java.net.URLClassLoader.access$000(URLClassLoader.java:58) at java.net.URLClassLoader$1.run(URLClassLoader.java:197) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:190) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClassFromSelf(ClassRealm.java:401) at org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy.loadClass(SelfFirstStrategy.java:42) at org.codehaus.plexus.classworlds.realm.ClassRealm.unsynchronizedLoadClass(ClassRealm.java:271) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:254) at org.codehaus.plexus.classworlds.realm.ClassRealm.loadClass(ClassRealm.java:239) at org.codehaus.plexus.classworlds.launcher.Launcher.getMainClass(Launcher.java:144) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:266) at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415) at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356) On Wed, Nov 4, 2015 at 11:00 AM, Andrew Todd wrote: > See https://issues.apache.org/jira/browse/MNG-5852 > > This has happened in several releases -- Maven developers need to switch > their hashbang to #!/usr/bin/env bash or otherwise actually test against a > Bourne shell. > > On Wed, Nov 4, 2015 at 11:29 AM, Dan Tran wrote: > > > you may want to link your /bin/sh to bash > > > > -D > > > > On Wed, Nov 4, 2015 at 8:20 AM, james pruett > wrote: > > > > > Hi, > > > > > > I am compiling maven on Solaris. apache-maven-3.3-3.bin.tar.gz > > > > > > My environment is: > > > > > > echo $0 > > > tcsh > > > > > > > > > I get this error > > > > > > /apache-maven-3.3.3/bin % ./mvn > > > ./mvn: syntax error at line 200: `(' unexpected > > > > > > > > > line 200 says: local basedir=($pwd) > > > > > > > > > > > > Any help appreciated! > > > Jim > > > > > > --001a1144481a9bf2bb0523bb9053--