Last Updated: February 25, 2016
·
874
· pleone

Linux PhpStorm paste issue

If you're having paste issue with PhpStorm under linux, in most cases it is a problem related to java version.
If you're using java1.8 ... well that's the problem.

You should use ORACLE java 1.7 ( openjdk does not work as well ).

How to export the right version of jdk?

Easy:

1 - Find your phpstorm.sh

2 - At the beginning of the file add:

export IDEA_JDK=/path/to/java-7-oracle  

for example, uder ubuntu it is usually located under

export IDEA_JDK=/usr/lib/jvm/java-7-oracle  

3 - Start / Restart phpstorm

You're done!

Happy coding :)