Legacy Knowledge Base
Published Jul. 2, 2025

Installing Liferay Project SDK on Windows results in error java.io.FileNotFoundException

Written By

Gustavo Vasconcelos

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

While we make every effort to ensure this Knowledge Base is accurate, itmay not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with anyfeedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

Before using any information from this article, independently verify itssuitability for your situation and project.

Issue

  • When trying to install Liferay Project SDK on Windows the last part of the installation is canceled with the error message below:
Problem running post-install step. Installation may not complete correctly
Error Running C:\Users\%USERNAME%\.jpm\windows\bin\jpm install -fl --jvmlocation "C:/Program Files/Java/jdk1.8.0_241/bin/java.exe" "C:\Users\%USERNAME%\AppData\Local\Temp\LiferayProjectSDK\blade.jar": Error
 0. [IO.copy] java.io.FileNotFoundException: During copy: C:\JPM\misc\winrun4jc.exe

SDKErrorWindows.png

Environment

  • Windows 10 version 1903
  • Liferay Project SDK 3.7.1: LiferayProjectSDK-201910152009-windows-installer.exe

Resolution

The resolution is to manually install JPM before running the Liferay Project SDK installer.

  1. Manually download a JPM Java installer from the repository below (we recommend downloading the most recent one):
    https://oss.sonatype.org/content/repositories/snapshots/biz/aQute/bnd/biz.aQute.jpm.run/4.0.0-SNAPSHOT/
  2. Run the command below:
    java -jar .\biz.aQute.jpm.run-4.0.0-[DATE].[TIME]-[VERSION].jar -u init
  3. Run Liferay Project SDK installer and finish the installation.

Additional Information

 

Did this article resolve your issue ?

Legacy Knowledge Base