Blog / Incidents
Mac M1: Pulse Secure Application failed to load Java
  • May 14, 2022
  • 54
  • 93
Advertisement
 

1. The Situation:

Error Message: Pulse Secure Application failed to load Java. Please install correct JRE version.
Description: This issue happens when I'm using a M1 Mac with a correct version of Java/JRE installed. However, the Pulse Secures keep asking for a correct version of JRE installed.

2. The Solution:

The problem is the JRE installed in my Mac is missing a library called libjli.dylib. The solution is to install a JDK in addition to the existing JRE and adds a symbolic link (the "ln -s" command) from the JDK library to the JRE location.

Step 1: Download Open JDK:

Follow below link to download:

https://github.com/microsoft/openjdk-aarch64/releases/tag/jdk-16.0.2-ga

Step 2: Run below commands in Terminal

Open Terminal, run below commands and enter your Mac password after each command.

sudo rm -rf "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/jli/libjli.dylib"

sudo ln -s "/Library/Java/JavaVirtualMachines/microsoft-16.jdk/Contents/Home/lib/libjli.dylib" "/Library/Internet Plug-Ins/JavaAppletPlugin.plugin/Contents/Home/lib/jli/libjli.dylib"

Read more in this series:

  • Incidents:
    1. You are reading: Mac M1: Pulse Secure Application failed to load Java

There are some benefits of keeping both UI and API parts in the same place for small projects. In this article, I will explain how I did to deploy Angular Web and ASP .Net Core API in the same folder ...

Using cherry-pick to select specific commits for your Pull Request.1. Create a new branch based on the target of the Pull Requestgit branch cherry-branch origin/master2. Switch to a new branchgit chec ...

I got CORS error after publishing my API and Angular app to IIS even though CORS is enabled and the origins of the Angular app is added. Below is how I resolved this issue.Just simple, make sure you s ...

After deployment Angular and API on IIS, it's working fine unless I refresh the page. Once refreshed, the web encountered 404 error. In this article, I will explain how to resolve this.Since Angular i ...

In Object-Oriented Programming, S.O.L.I.D refers to the first five design principle for the purpose of making software designs more understandable, flexible, and maintainable. The principles was first ...

Accelerated Mobile Pages (AMP) focuses on delivering static content from publishers as quickly as possible and possibly rewards early adopters with a boost in rank. Let's see how to implement it ...

Below is how to decrypt/convert a Hex string value into text using VB.Net:Decrypting Hex string value to string in VB.Net Function HexToString(ByVal hex As String) As String Dim text As New Sy ...

After a month of publishing on Google Play, Jungle Words has made it to the Top Android Games To Try Out In April 2021. Please check it out! GameKeys.netGameKeys is a website which introduces gam ...

Centering HTML elements is an important aspect for anything involving designing with CSS. There are various methods of centering things, however, it also depends on the elements that you are working w ...