Java, just the language,is absolutely more secure.<p>Just be careful what you&#x27;re using in the JRE else you might negate that gained security[1].  Of course so many C libraries have vulns too, just not included in one commonly used package that runs on every operating system it supports.<p>[1] - <a href="https:&#x2F;&#x2F;www.cvedetails.com&#x2F;vulnerability-list.php?vendor_id=93&amp;product_id=19117&amp;version_id=&amp;page=1&amp;hasexp=0&amp;opdos=0&amp;opec=0&amp;opov=0&amp;opcsrf=0&amp;opgpriv=0&amp;opsqli=0&amp;opxss=0&amp;opdirt=0&amp;opmemc=0&amp;ophttprs=0&amp;opbyp=0&amp;opfileinc=0&amp;opginf=0&amp;cvssscoremin=7&amp;cvssscoremax=0&amp;year=0&amp;month=0&amp;cweid=0&amp;order=1&amp;trc=208&amp;sha=dc2bd354d0ef968392f7bac5811742745c04e811" rel="nofollow">https:&#x2F;&#x2F;www.cvedetails.com&#x2F;vulnerability-list.php?vendor_id=...</a>