Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java oracle 9.*.* has another "download url" #3

Open
kislik opened this issue Jan 29, 2018 · 1 comment
Open

Java oracle 9.*.* has another "download url" #3

kislik opened this issue Jan 29, 2018 · 1 comment

Comments

@kislik
Copy link

kislik commented Jan 29, 2018

if your pillar:

java:
  environment:
    enabled: true
    version: '9'
    release: '0.4'
    build: '11'
    platform: oracle-java
    development: true

map.jinja for java_version == '9' should be:
{%- set source_url = 'http://download.oracle.com/otn-pub/java/jdk/' + version_name + '/' + 'c2514751926b4512b076cc82f959763f'+ '/' + oracle_file_name %}

java.sh work incorrect too:
should be for java 9:
JAVA_HOME={{ environment.java_home }}/jdk-{{environment.version}}.{{environment.release}}
If you did it your bash enviroment $JAVA_HOME will work correct.

@fpytloun
Copy link
Member

Hello, thank you for the report.
It would be great if you submit pull request with fix :-)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants