Prevent java from updating

Does anyone know the command line options to install Java 7u13 so that Java updates are turned off for users?

I found some older command line options for previous versions but these do not seem to work: AUTOUPDATECHECK=0 JAVAUPDATE=0 JU=0 If there are no command line options are there registry settings or .

If you don't have one currently, just create a new file and populate it with a stanza as @soger describes above to exclude the given package and its dependencies from updates. :0) For example, I have an Ubuntu 16.04.5 LTS server with embedded Intel video card and an NVidia card. This was driving me nuts, and I didn't need the Intel drivers anyway.

I entered this text into the preferences file and flushed apt, problem solved. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Ran it fine for a day, it crashed, and when I restarted it, surprise, surprise I'm on v54.

It shouldn't be this hard to just stay on the version I want to use.

I personally find it more useful than the Software Center... :) Adding details to @soger's comments relative to Ubuntu 16.04.

prevent java from updating-18prevent java from updating-44prevent java from updating-22

Fw-300 #ya-qn-sort h2 /* Breadcrumb */ #ya-question-breadcrumb #ya-question-breadcrumb i #ya-question-breadcrumb a #bc .ya-q-full-text, .ya-q-text #ya-question-detail h1 html[lang="zh-Hant-TW"] .ya-q-full-text, html[lang="zh-Hant-TW"] .ya-q-text, html[lang="zh-Hant-HK"] .ya-q-full-text, html[lang="zh-Hant-HK"] .ya-q-text html[lang="zh-Hant-TW"] #ya-question-detail h1, html[lang="zh-Hant-HK"] #ya-question-detail h1 /* Trending Now */ /* Center Rail */ #ya-center-rail .profile-banner-default .ya-ba-title #Stencil . Bgc-lgr .tupwrap .comment-text /* Right Rail */ #Stencil .

Fw-300 .qstn-title #ya-trending-questions-show-more, #ya-related-questions-show-more #ya-trending-questions-more, #ya-related-questions-more /* DMROS */ .

How do you disable the Java Update Needed prompt that comes up every time a user launches an application that requires Java?

It is possible to hold more than one packages with one command and use wildcards.

I synaptic you can freeze the version of a specific package I'm not a 100% sure as to whether this will amend apt-get but it will definately stop update manager.

Leave a Reply