Hi Jeremy,

I don't think this is by design, I think that is just strange. The directories in /group/hps/... are all readable. They have "clas-4" for group id, which I have as well. But indeed, even though javac is -rwxr-x-r-x I cannot execute that file either. I can read it though... 
 
Oh, drats, you won't believe this:

> file /group/hps/hps_soft/java/jdk1.7.0_45/bin/javac 
/group/hps/hps_soft/java/jdk1.7.0_45/bin/javac: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.9, not stripped

and

>uname -a
Linux ifarm1101 2.6.32-220.7.1.el6.x86_64 #1 SMP Wed Mar 7 00:52:02 GMT 2012 x86_64 x86_64 x86_64 GNU/Linux

So Jlabl1 is NOT a 64-bit system and thus cannot execute the binary.

Best,
Maurik


On Dec 2, 2014, at 8:19 PM, McCormick, Jeremy I. <[log in to unmask]> wrote:

Thanks.  The ‘java’ and ‘javac’ from there seem to be executable.

We require JDK 1.7 so I’ll open a help ticket about getting that installed.

Is it by design that our group area can’t be accessed from the jlabl machines?  (seemingly)

—Jeremy

On Dec 2, 2014, at 5:12 PM, Maurik Holtrop <[log in to unmask]> wrote:

Hello Jeremy,

Just found that the highest level "installed" jdk is 1.6: 

jlabl1:~> /apps/java/jdk1.6.0_03/bin/javac -version
javac 1.6.0_03

It might not be so bad to ask CC to instal a 1.7 JDK there.

Best,
Maurik


On Dec 2, 2014, at 7:56 PM, McCormick, Jeremy I. <[log in to unmask]> wrote:

Except I apparently can’t use this installation from my account…

[270 $] /u/group/hps/hps_soft/java/jdk1.7.0_45//bin/java
-bash: /u/group/hps/hps_soft/java/jdk1.7.0_45//bin/java: cannot execute binary file

On Dec 2, 2014, at 4:53 PM, Jeremy McCormick <[log in to unmask]> wrote:

Okay, so I found this JDK from jlabl1 in our group area

/u/group/hps/hps_soft/java/jdk1.7.0_45/

But shouldn’t we be using a standard installation maintained by the JLAB admins?

On Dec 2, 2014, at 4:51 PM, McCormick, Jeremy I. <[log in to unmask]> wrote:

Hi,

I’m having an interesting time trying to build HPS Java on a JLAB machine using Java and Maven.

I try from ifarm where I find a 1.7 JDK in /usr but….

There is no internet access to any of the Maven repositories!  (Everything outbound seems to be firewalled from there.)

So I try from jlabl1 where internet seems fine but there is no JDK installed under /usr so no javac is found to compile the modules.

Fun.  

Anyone have any tips for doing this?  (Our page on the Confluence seems to lack some detail here.)

Thanks.

—Jeremy
########################################################################
Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1




Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1






Use REPLY-ALL to reply to list

To unsubscribe from the HPS-SOFTWARE list, click the following link:
https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1