B4J Question About the java runtime...

alwaysbusy

Expert
Licensed User
Longtime User
I recently had a talk on the java runtime with someone. I was just wondering if I gave the right advice so that they don't have Adware installed with it (both on Mac and Windows!).

1. Use the offline versions, not the online ones: http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
2. install the installer with the param 'SPONSORS=0'
3. Disable the setting 'suppress sponsor offers when installing or updating java' in the settings panel: https://www.java.com/en/download/faq/disable_offers.xml

Did I miss anything?
 
Last edited:

Erel

B4X founder
Staff member
Licensed User
Longtime User
I'm pretty sure that the JDK installer doesn't include these offers any more. I'm using the standard online links.

These are the components that are installed:

SS-2016-08-30_15.59.18.png


Note that when you distribute your apps you can use the packager tool to include the JRE (Java runtime) with your app so the user doesn't need to install anything other then your app.
 
Upvote 0

alwaysbusy

Expert
Licensed User
Longtime User
I thought so too. I know it used to be a problem on Mac, but I think this is resolved now. The only one it may be a problem is when you install it through the browser (e.g. you see a "java plugin" and then click "install the plugin". But when you use the installers, it shouldn't.

And indeed, packaging is the safest way. Thanks for the clarification.
 
Upvote 0
Top