Run PHPStorm and Android Studio parallel

Answered

Hello,

I am using PHPStorm (2017.1.4, the 64bit version) and Android Studio (2.3.3).

It seems I am unable to run them in parallel in Windows 10 pro.

When I have either of it open then the other one does not start, some background activity is going on for a few seconds but then nothing happens at all. There's now new process showing up in Windows (10 pro) task manager.

The JetBrains toolbox is used to install/update PHPStorm and otherwise I've set the environment variable IDEA_PROPERTIES=C:\Users\#myUserName#\idea.properties in which there is a custom idea.config.path and idea.system.path set. (PHPStorm, its configs, cache and all my project are on a separate ram disk)

 

--------------------------------

PhpStorm 2017.1.2
Build #PS-171.4249.3, built on April 12, 2017
JRE: 1.8.0_112-release-736-b16 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

--------------------------------

Android Studio 2.3.3
Build #AI-162.4069837, built on June 6, 2017
JRE: 1.8.0_112-release-b06 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o

0
7 comments

IDEA_PROPERTIES is used only by IntelliJ IDEA. PhpStorm uses PHPSTORM_PROPERTIES, Android Studio uses STUDIO_PROPERTIES.

Don't share the same config/system path between multiple IDEs or you will not be able to stat them at the same time.

0
Avatar
Permanently deleted user

.thank you for clarification with the PROPERTIES variable Serge.

 

I've adjusted it to PHPSTORM_PROPERTIES, restarted system and PHPStorm still works still fine with the correct paths. Unfortunately it did not solve the original issue.

I suppose it generally should be possible to run two different IntelliJ platform based products at once?

0

Yes, it's possible and it works by default on any system when IDE folders are not shared. Not sure why it doesn't work for you. Can you try it on some other system to see if it's a common problem?

0
Avatar
Permanently deleted user

Installed Android studio now on my desktop system as well, same problem.

I had there the same IDEA_PROPERTIES variable set which I changed to PHPSTORM_PROPERTIES before installing Android studio to avoid any issues with this.

All went well in the installation but I can't run them in parallel either

 

 

PhpStorm 2017.1.4
Build #PS-171.4694.2, built on May 16, 2017
JRE: 1.8.0_112-release-736-b21 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows 10 10.0

0

What if you run them using the .bat files instead of .exe? Is there any error displayed?

0
Avatar
Permanently deleted user

A:\Program Files\apps\PhpStorm\ch-0\171.4694.2\bin>phpstorm.bat
C:\Users\paul\idea.properties: 'idea.config.path' already defined
C:\Users\paul\idea.properties: 'idea.system.path' already defined
C:\Users\paul\idea.properties: 'idea.plugins.path' already defined
C:\Users\paul\idea.properties: 'idea.log.path' already defined
C:\Users\paul\idea.properties: 'idea.max.intellisense.filesize' already defined
C:\Users\paul\idea.properties: 'idea.cycle.buffer.size' already defined
C:\Users\paul\idea.properties: 'idea.no.launcher' already defined
C:\Users\paul\idea.properties: 'idea.dynamic.classpath' already defined
C:\Users\paul\idea.properties: 'idea.popup.weight' already defined
C:\Users\paul\idea.properties: 'idea.use.default.antialiasing.in.editor' already defined
C:\Users\paul\idea.properties: 'sun.java2d.noddraw' already defined
C:\Users\paul\idea.properties: 'sun.java2d.d3d' already defined
C:\Users\paul\idea.properties: 'swing.bufferPerWindow' already defined
C:\Users\paul\idea.properties: 'sun.java2d.pmoffscreen' already defined
C:\Users\paul\idea.properties: 'idea.jars.nocopy' already defined
C:\Users\paul\idea.properties: 'idea.fatal.error.notification' already defined
A:\Program Files\apps\PhpStorm\ch-0\171.4694.2\bin\idea.properties: 'idea.max.intellisense.filesize' already defined
A:\Program Files\apps\PhpStorm\ch-0\171.4694.2\bin\idea.properties: 'idea.cycle.buffer.size' already defined
A:\Program Files\apps\PhpStorm\ch-0\171.4694.2\bin\idea.properties: 'idea.no.launcher' already defined
A:\Program Files\apps\PhpStorm\ch-0\171.4694.2\bin\idea.properties: 'idea.dynamic.classpath' already defined
A:\Program Files\apps\PhpStorm\ch-0\171.4694.2\bin\idea.properties: 'idea.popup.weight' already defined
A:\Program Files\apps\PhpStorm\ch-0\171.4694.2\bin\idea.properties: 'sun.java2d.noddraw' already defined
A:\Program Files\apps\PhpStorm\ch-0\171.4694.2\bin\idea.properties: 'sun.java2d.d3d' already defined
A:\Program Files\apps\PhpStorm\ch-0\171.4694.2\bin\idea.properties: 'swing.bufferPerWindow' already defined
A:\Program Files\apps\PhpStorm\ch-0\171.4694.2\bin\idea.properties: 'sun.java2d.pmoffscreen' already defined
A:\Program Files\apps\PhpStorm\ch-0\171.4694.2\bin\idea.properties: 'idea.jars.nocopy' already defined
A:\Program Files\apps\PhpStorm\ch-0\171.4694.2\bin\idea.properties: 'idea.fatal.error.notification' already defined
Already running

0

Do both apps use the same C:\Users\paul\idea.properties file?

0

Please sign in to leave a comment.