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

If you have a Website or a Web API developed by using .Net Core and looking for a way to publish your applications, this post will explain how to do it using GoDaddy Windows Hosting.Note: at this mome ...

Search text in Stored Procedure in SQL SELECT DISTINCT o.name AS Object_Name, o.type_desc FROM sys.sql_modules m INNER JOIN sys.objects o ON m.object_id = o ...

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 ...

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 ...

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 ...

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 ...

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 ...