Path: csiph.com!eternal-september.org!feeder.eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: Daniele Futtorovic Newsgroups: comp.lang.java.security Subject: Re: how to block Java Date: Sun, 22 Jul 2018 23:25:43 +0200 Organization: A noiseless patient Spider Lines: 15 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Injection-Date: Sun, 22 Jul 2018 21:26:13 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="98c610b6fb1864813a1de1b42dfb72f2"; logging-data="15787"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX18XQYX3uwwHJyYAX01/91DU" User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 Cancel-Lock: sha1:+2Ty0hgHUvviqP4SEV5Q+YL+YaE= In-Reply-To: X-Antivirus-Status: Clean Content-Language: en-GB X-Antivirus: AVG (VPS 180722-2, 07/22/2018), Outbound message Xref: csiph.com comp.lang.java.security:329 On 2018-07-22 11:32, Wendelin Uez wrote: >>> How can I limit access to Java environment for any other programs >>> allowing only myApp.exe to employ Java? >> >> Perhaps you could just remove the JRE installation directory from the >> $PATH? > > I'm afraid this wouldn't work if registry entries are used fpr > configuration. > >> Or bundle your program with a JRE (at the cost of size, obviously). > > Yes, but how to do? Not sure; never tried it myself. Might simply zipping up the JRE dir work?