I think Curtis has the right answer. And when you set JAVA_HOME, it should be
pointing to the JDK, not the JRE installation - looks like that will be
/export/home/e0857723/aaa_bonita/jdk17/jdk1.7.0_79 for you.
Is it possible to have the admins upgrade the box to JDK7? Solaris has some
I have a profile defined in my parent POM which I'm trying to activate like this
jarsigner.keystore.scm.url
${keystore.dir}
The goal is that when run with
Sorry about that crazy URL, I think that's a network security service my
employer just signed up with.
> -Original Message-
> From: Justin Georgeson [mailto:jgeorge...@lgc.com]
> Sent: Friday, November 06, 2015 9:34 AM
> To: users@maven.apache.org
> Subject: [EXTERNAL] profile activation
I am installing maven on Solaris. (I am not confident of what shell I am
in..) Anything I can think of is listed below. Thanks for helping!
% echo $0
tcsh
% env | grep SHELL
SHELL=/bin/bash
% set | grep -i shell
shell /usr/bin/tcsh
% env | grep JAVA
JAVA_HOME=/usr
% set | grep JAVA
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=/export/home/e0857723/aaa_bonita/jdk17/jdk1.7.0_79/jre/lib/sparcv9
% ls -las $CLASSPATH/libjava.so
524 -rwxrwxrwx 1
Hi James:
Based on your class path, it looks like you installed the “Java Runtime
Environment”. That’s just the Java virtual machine without the Java Compiler.
Maven is going to need the Java Compiler, so you’ll need to get the Java SE
version (Standard Edition, appears to be at
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
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