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 C412018149 for ; Fri, 6 Nov 2015 18:35:10 +0000 (UTC) Received: (qmail 16359 invoked by uid 500); 6 Nov 2015 18:35:09 -0000 Delivered-To: apmail-maven-users-archive@maven.apache.org Received: (qmail 16284 invoked by uid 500); 6 Nov 2015 18:35:09 -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 16271 invoked by uid 99); 6 Nov 2015 18:35:09 -0000 Received: from Unknown (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 06 Nov 2015 18:35:09 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id E3381C11CA for ; Fri, 6 Nov 2015 18:35:08 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 3.009 X-Spam-Level: *** X-Spam-Status: No, score=3.009 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.008, HTML_MESSAGE=3, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com header.b=FsQItuTu; dkim=pass (2048-bit key) header.d=wisc_edu.20150623.gappssmtp.com header.b=YalFEdqE Received: from mx1-us-west.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id cXehPH1IJdI1 for ; Fri, 6 Nov 2015 18:34:54 +0000 (UTC) Received: from mail-io0-f175.google.com (mail-io0-f175.google.com [209.85.223.175]) by mx1-us-west.apache.org (ASF Mail Server at mx1-us-west.apache.org) with ESMTPS id A7FEF20753 for ; Fri, 6 Nov 2015 18:34:53 +0000 (UTC) Received: by iody8 with SMTP id y8so130528212iod.1 for ; Fri, 06 Nov 2015 10:34:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=ie2FK8D1bCS5cyePQKuzXGEcHa3UIusEp0sWUBp0r+A=; b=FsQItuTuKHHZFDx57Bcctjqry5DVq85fJEGcNfu6/wRBT7xdfFrgVDsIFvi6hN2qR7 I/L+jMH07p3Z8UYPPUkfA3wgJF+NK29XNzlDWUWiR9cgimZfjD04qNiDoDPfLad3Oqmn c3z6nqEdetM9MPGpH1Q3UpboC063Pq3AgEIAviGYjK3Q2dTsplNAIWTLWH+0cmvaDhgO 6e1ypwH6+f9TgYE3augqAQ7MjcRDxlrFkwASrdemcAAVHvErKWv0dW6RM6EUxdNeyd/0 r2HMtnHg29sSz8SFWPQ+Un+FXYK5XNJb7w+KIYk7A6ufsan3bexWheojXcEE0lOXzFDu zTCg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wisc_edu.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=ie2FK8D1bCS5cyePQKuzXGEcHa3UIusEp0sWUBp0r+A=; b=YalFEdqEtHH/S34bGrqnXHH/DyNxkp/pTQz95b4nezPQVottcVbqnZ/ud+aV1HVLu7 rQZGqTbr9uGcTSx+ICX39fmO2HP9zQ0tHl5TBIRK0tm7KH+MjIIOKP5j3/c+axzClqKR XeOcP9EwAZlzqQIiXK60Z9Av6dQ4vJ1dOuBhB9vdjCn0W0JE4nqgZHDzS9ipDmXwNYI/ ARSNZYcWwdQVl/rNknM/JNYmA7W+c1RbydJclBPJAMYijvXBfF8nOy0k61oT0RJyckn9 ypAWTebEB4axumn2QLMBMhhKdGp8pN23IDT1kncih+d/3KOrvn+cqr7vRUbgSatHfB/E IY6w== X-Received: by 10.107.44.9 with SMTP id s9mr3332234ios.191.1446834893013; Fri, 06 Nov 2015 10:34:53 -0800 (PST) MIME-Version: 1.0 Sender: ctrueden.wisc@gmail.com Received: by 10.107.190.2 with HTTP; Fri, 6 Nov 2015 10:34:23 -0800 (PST) In-Reply-To: References: From: Curtis Rueden Date: Fri, 6 Nov 2015 12:34:23 -0600 X-Google-Sender-Auth: uB0-Ghk5nnt4Qp07_yDfqMUYb5A Message-ID: Subject: Re: Installing on Solaris To: Maven Users List Content-Type: multipart/alternative; boundary=001a113944f8d8caf40523e37f76 --001a113944f8d8caf40523e37f76 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hi James, Probably you meant to set JAVA_HOME, not CLASSPATH. The JAVA_HOME variable points to your Java installation, whereas CLASSPATH points to .jar files (and/or directories of .class files) you want to be available to Java after it starts up. Regards, Curtis On Fri, Nov 6, 2015 at 12:24 PM, james pruett wrote: > Greg, thanks for that. > Yes, I downloaded SE Solaris Sparc 64bit version from where you > mentioned... > Note I am not admin but I read that it should still be possible for me to > run java from userspace. > > Q: I set my CLASSPATH, but perhaps incorrectly.... > > % env | grep CLASSPATH > > CLASSPATH=3D/export/home/e0857723/aaa_bonita/jdk17/jdk1.7.0_79/jre/lib/sp= arcv9 > > % ls $CLASSPATH > jspawnhelper libdcpr.so libj2gss.so libjava.so > libjdgaSUNWffb.so libjsdt.so libmlib_image.so > libsaproc.so libt2k.so server > > > mktpricing:/export/home/e0857723/aaa_bonita % javac -version > Error: could not find libjava.so > Error: Could not find Java SE Runtime Environment. > > > > mktpricing:/export/home/e0857723/aaa_bonita % which javac > /export/home/e0857723/aaa_bonita/jdk17/jdk1.7.0_79/bin/javac > > > I realize this is not a maven problem I am having but I am begging help > help. > I can go to Solaris help if you think necessary. > > Thanks for helping! > jim > > > > > On Fri, Nov 6, 2015 at 11:50 AM, Greg Trasuk > wrote: > > > > > Hi James: > > > > Based on your class path, it looks like you installed the =E2=80=9CJava= Runtime > > Environment=E2=80=9D. That=E2=80=99s just the Java virtual machine wit= hout the Java > > Compiler. Maven is going to need the Java Compiler, so you=E2=80=99ll = need to > get > > the Java SE version (Standard Edition, appears to be at > > > http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-21= 33151.html > > ). > > > > Having said that, it looks odd that it=E2=80=99s having trouble finding > > =E2=80=98libjava.so=E2=80=99. There might be something funny about you= r JDK > installation. > > Maybe that gives you a place to start looking=E2=80=A6 > > > > Basically, before Maven has any chance at working, you need to make sur= e > > that you can run =E2=80=98javac -version=E2=80=99 and it comes back wit= h 1.7 or higher. > > > > Cheers, > > > > Greg Trasuk > > http://www.webagesolutions.com > > > > > > > On Nov 6, 2015, at 12:36 PM, james pruett wrote= : > > > > > > Hi, > > > > > > I get this error. Any help appreciated. > > > > > > > > > % mvn > > > Error: could not find libjava.so > > > Error: Could not find Java SE Runtime Environment. > > > > > > % env | grep -i CLASSPATH > > > > > > CLASSPATH=3D/export/home/e0857723/aaa_bonita/jdk17/jdk1.7.0_79/jre/lib/sp= arcv9 > > > > > > > > > % ls -las $CLASSPATH/libjava.so > > > 524 -rwxrwxrwx 1 267912 Apr 10 2015 > > > > > > /export/home/e0857723/aaa_bonita/jdk17/jdk1.7.0_79/jre/lib/sparcv9/libjav= a.so > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org > > For additional commands, e-mail: users-help@maven.apache.org > > > > > --001a113944f8d8caf40523e37f76--