How to manually install IntelliJ IDEA patch update?
Asked Answered
E

1

16

I get the following connection error while updating IntelliJ behind proxy (the proxy ping in IntelliJ is working though):

Connection Error: Failed to prepare an update: Cannot download 'http://download.jetbrains.com/idea/IU-xxx-patch-win.jar': Connection closed at byte 17920. Expected 20941088 bytes. , response: 200 OK Open download page.

Solution?

I was able to download the file ...patch-win.jar via a browser. How can I now install this patch manually for IntelliJ in a Windows environment?

Epiphany answered 12/4, 2017 at 8:40 Comment(1)
Hint: As of now, the download URL of the patch is https://download.jetbrains.com/idea/IU-<From>-<To>-patch-<OS>.jar, where <From> is the IDEA version which you want to update, <To> is the target IDEA version, and <OS> is the type of operating system, such as win or mac. An example would be https://download.jetbrains.com/idea/IU-181.5540.7-182.3684.101-patch-win.jar.Graniela
G
18
java -jar IU-xxx-patch-win.jar "C:\Program Files (x86)\JetBrains\IntelliJ IDEA 2017.1"

(replace with the actual IntelliJ IDEA installation location on your system).

Greco answered 12/4, 2017 at 11:51 Comment(4)
Is this solustion works for android studio on linux? I also had tried this solution, but got this error message, no main manifest attribute, in AI-171.4474551-173.4506631-patch-unix.jar. By the way, here is the command I used. sudo java -jar AI-171.4474551-173.4506631-patch-unix.jar /opt/android-studio-preview/ Thank youHouseyhousey
Found the solution, a bit different with the above solutions, but works for me, at which using -classpath flag. Here's the snippets. java -classpath PATCH_FILE_NAME com.intellij.updater.Runner install ANDROID_STUDIO_DIRHouseyhousey
As a caveat, notice that the path to "IntelliJ IDEA installation location" should not end in a trailing backslash, or you get an InvalidPathException.Graniela
on MacOS: sudo java -jar XXXXX-patch---.jar "/Applications/IntelliJ IDEA.app/Contents/"Wiebmer

© 2022 - 2024 — McMap. All rights reserved.