Package Details: phpstorm 2016.1-4

Git Clone URL: (read-only)
Package Base: phpstorm
Description: Lightweight and Smart PHP IDE
Upstream URL:
Keywords: development ide php
Licenses: Commercial
Submitter: None
Maintainer: frederik
Last Packager: frederik
Votes: 118
Popularity: 5.033353
First Submitted: 2011-01-22 19:28
Last Updated: 2016-03-21 18:54

Dependencies (2)

Required by (0)

Sources (3)

Latest Comments

frederik commented on 2016-03-21 18:51

@KingCrunch: Thank you. Gonna fix PKGBUILD.

So their "System requirements" on this page are completely wrong:

KingCrunch commented on 2016-03-21 18:39



/opt/phpstorm$ java -version
java version "1.7.0_95"
OpenJDK Runtime Environment (IcedTea 2.6.4) (Arch Linux build 7.u95_2.6.4-1-x86_64)
OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)
/opt/phpstorm$ bin/

Unsupported Java Version: Cannot start under Java 1.7.0_95-b00: Java 1.8 or later is required.

To be fair it was not that obvious to find some information

See also

frederik commented on 2016-03-19 01:11

@KingCrunch Please see phpstorm page. It depends on 'Oracle JRE 1.6+ or OpenJDK 1.7+'

KingCrunch commented on 2016-03-19 00:57

The intelliJ-platform requires Java >=8

frederik commented on 2016-03-18 20:03

@declasun: thx for the hint. I don't think that a wrapper around the startscript is a good way to achieve this. I've just added a profile.d file and a note in the PKGBUILD.

dcelasun commented on 2016-03-18 15:13

@frederik: intellij-idea-ultimate-edition [0] recently merged this [1] patch so IDEA would prefer the system JDK. Could you also make the same change here?


retzudo commented on 2016-02-01 13:29

Thanks Wietse for the explanation and workaround. Starting PhpStorm with `WEBIDE_JDK=/usr/lib/jvm/java-8-openjdk /opt/phpstorm/bin/` from the terminal did in fact work for me.

I copied the desktop file located at /usr/share/applications/jetbrains-phpstorm.desktop to ~/.local/share/applications/, changed the Exec line from

Exec="/opt/phpstorm/bin/" %f


Exec=env WEBIDE_JDK=/usr/lib/jvm/java-8-openjdk "/opt/phpstorm/bin/" %f

logged out and back in (GNOME wouldn't pick up the new desktop file otherwise) and Bob's your uncle. No more ugly fonts. This fix should persist through updates.

Wietse commented on 2016-01-31 11:48

@retzudo PhpStorm uses it's own packaged Oracle Java JDK, which causes the fonts to be terribly ugly.

Phpstorm tries to locate a JDK installation directory which will be used to run the IDE in the following order: WEBIDE_JDK, ../jre, JDK_HOME, JAVA_HOME, "java" in PATH.

The clean solution is to set the WEBIDEA_JDK environment variable to the OpenJDK path. For some reason this did not work for me, but I did not feel like spending a lot of time to find out why, so I just renamed /opt/phpstorm/jre to something else so PhpStorm would use JDK_HOME instead. (I will have to do this after each PhpStorm update.)

PhpStorm does not officially support OpenJDK, but I have experienced no problems so far.

retzudo commented on 2016-01-21 14:00

With PhpStorm 10 I once again have font rendering issues that other people and I had with PhpStorm 9 (i.e. no anti-aliasing). The PKGBUILD for 9 had these lines to fix the issue:

# fixing FS#40934 here too
sed -i 's/lcd/on/' "${pkgdir}/usr/share/phpstorm/bin/phpstorm${SUFFIX}.vmoptions"
echo "-Dswing.aatext=true" >> "${pkgdir}/usr/share/phpstorm/bin/phpstorm${SUFFIX}.vmoptions"

So I tried to replicate that in /opt/phpstorm/bin/phpstorm64.vmoptions which didn't help. I also copied the file to ~/.WebIde100/ which also didn't fix the font rendering.
Running PhpStorm via `_JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on' phpstorm` also didn't make any difference.

I have infinality packages installed (fonts & JRE/JDK) and font rendering in PhpStorm 9 (installed via commit b164826 & makepkg) works correctly.


frederik commented on 2016-01-12 11:42

@ram4nd Could you point me to a complete list of additional tools which phpstrom optdepends on?

All comments