erdmelone Posted June 9, 2016 Report Share Posted June 9, 2016 Hello, First I want to say, that my English isn't so good and that I'm totally new to Ketarin. My Problem is, that I try to automate the Download of Java RE and DK for my Company, but Oracle has these stupid Checkbox' for Agreement. I don't understand how to bypass it, although I found a topic here in the Forum. So my question is, do you know some Pages where I can safely download the newest versions of the two programs or do you have an easy way to bypass the Problem with the Oracle Page ? I hope you understand my Problem Thank you Link to comment Share on other sites More sharing options...
Ambimind Posted June 10, 2016 Report Share Posted June 10, 2016 I've attached a job for the 64bit JDK, which I use. You may import it and try understanding how it was achieved. Very briefly : Get the latest version number, spoof referrer url and agent, pass the checkbox cookie(which is constant), download via url that integrates cookie and current version number. You could also do this with Curl in a more general way. To get it to work you will need to set a valid download directory. And on first run, right-click on the imported job and choose "Force download". Tip : Track the logs to see how the variables are 'filled' at download-time. Once you've grasped the process, you can use it with all the other Oracle downloads you require. Edit : [12_August_2016] : Correction to regex to permit build numbers greater then two digits. Edit : [19_January_2017] : Made compatible with new url structure. Edit : [26_August_2019] : Fixed broken OracleJDK job, also added OpenJDK job - both jobs will download the current release, not the LTS version OracleJDK_64.xml OpenJDK_64.xml Link to comment Share on other sites More sharing options...
Karan Rajpal Posted August 11, 2016 Report Share Posted August 11, 2016 I've attached a job for the 64bit JDK, which I use. You may import it and try understanding how it was achieved. Very briefly : Get the latest version number, spoof referrer url and agent, pass the checkbox cookie(which is constant), download via url that integrates cookie and current version number. You could also do this with Curl in a more general way. To get it to work you will need to set a valid download directory. And on first run, right-click on the imported job and choose "Force download". Tip : Track the logs to see how the variables are 'filled' at download-time. Once you've grasped the process, you can use it with all the other Oracle downloads you require. Is this profile working correctly for you? Because it isn't for me. I get a 404 not found error. Link to comment Share on other sites More sharing options...
Ambimind Posted August 12, 2016 Report Share Posted August 12, 2016 Is this profile working correctly for you? Because it isn't for me. I get a 404 not found error. It's a silly regex issue, which raised its head when they moved the build number above 2 digits. I've edited the original post with the corrected job. Link to comment Share on other sites More sharing options...
Karan Rajpal Posted August 13, 2016 Report Share Posted August 13, 2016 It's a silly regex issue, which raised its head when they moved the build number above 2 digits. I've edited the original post with the corrected job. It's working just fine now. Thank you! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now