And to get the Java/1.8 to pick that up, you need to rebuild Java-1.8.eb
with the new version number.

On 10/29/18 7:27 PM, Jack Perdue wrote:
> Ooops... just noticed you said _191/2 not _181.
> 
> In that case, you might try:
> 
>   eb --try-software-version=1.8.0_192 (wherever)/Java/Java-1.8.0_181.eb
> 
> to bump the version.
> 
> jack
> 
> 
> 
> On 10/29/18 1:22 PM, Jack Perdue wrote:
>> Howdy Joachim,
>>
>> The file you need is jdk-8u181-linux-x64.tar.gz
>> You should be able to find in archive/oldversions link
>> at Oracle site.  Put that in your normal EB j/Java
>> SOURCEDIR.
>>
>> EB uses .modulerc to do "magic" behind the scenes
>> to change the subversions for Java non underscored
>> versions now.
>>
>> Wasn't the method I suggested and I don't much care
>> for the .modulerc magic but at least it is a step in
>> some direction to address the problem (keeping
>> Java version numbers upgradeable).
>>
>> I recall getting errors indicating problems with the new
>> setup but it seemed to have done most of the what
>> it needed to.
>>
>> HIH,
>>
>> Jack Perdue
>> Lead Systems Administrator
>> High Performance Research Computing
>> TAMU Division of Research
>> [email protected]    http://hprc.tamu.edu
>> HPRC Helpdesk: [email protected]
>>
>> On 10/29/18 8:20 AM, Joachim Hein wrote:
>>> Hi,
>>>
>>> I tried to search for documentation regarding the new Java handling.
>>>  All I found is
>>> https://easybuild.readthedocs.io/en/latest/Wrapping_dependencies.html?highlight=java
>>> <https://urldefense.proofpoint.com/v2/url?u=https-3A__easybuild.readthedocs.io_en_latest_Wrapping-5Fdependencies.html-3Fhighlight-3Djava&d=DwMGaQ&c=ODFT-G5SujMiGrKuoJJjVg&r=yuyoBkmTkIQPbv1BTF9U27ww5Lm7GhsMmWcQG9gmjbA&m=lEw7pkBVMteLvtA__MpIrzYODie7ACOBklik27IJrPo&s=BG96La2IrGzKY5wYTPuL7iT1sdcycoLpvoKGr-ZZxHE&e=>,
>>> which doesn’t quite tell me how I should do this.
>>>
>>> This is the first time I want to install software using the new Java
>>> 1.8 module wrapper.   As supplied with EB 3.7.1, it want’s to build
>>> Java /1.8.0_181, with the tar ball no longer available a the oracle
>>> website.  I can currently get 8u191 and 8u192.  How is that now
>>> supposed to work in a “future” proof way.
>>>
>>> If I create a java 1.8 in my local directory, pointing to 8u192, it
>>> will overrule any future updates (incl bug fixes) to Java 1.8 that
>>> come with future EB releases.  (I got burned by old develop version
>>> overruling fixed version inside EB in the past).
>>>
>>> Any pointers/ideas on how this should be done?  -thanks-
>>>
>>> Best wishes
>>>    Joachim
>>
> 

-- 
Ake Sandgren, HPC2N, Umea University, S-90187 Umea, Sweden
Internet: [email protected]   Phone: +46 90 7866134 Fax: +46 90-580 14
Mobile: +46 70 7716134 WWW: http://www.hpc2n.umu.se

Reply via email to