Jump to content
Ketarin forum

Java RE and DK


erdmelone
 Share

Recommended Posts

Hello, 

 

First I want to say, that my English isn't so good and that I'm totally new to Ketarin.  :ph34r:

 

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  :D

 

Thank you  :)

Link to comment
Share on other sites

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

  • 2 months later...

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.