PHPstorm not lunched
Hi,
I've just installed PHP Storm on my mac book, but it's not lunched from Admin account, but works without problem on other account on same mac book. could you please help me by fixing this problem ? I've already deleted all caches on Library .
Thanks
Please sign in to leave a comment.
Try to launch it from terminal and check what errors would you get: https://www.macissues.com/2015/02/06/how-to-launch-os-x-apps-via-the-terminal/
Thanks Dmitry, now i found something new :
Error opening zip file or JAR manifest missing : /Users/Amid/Desktop/jetbrains.jar
Error occurred during initialization of VM
My account username is not "Amid" ! how to change this path on my app ? It could be the problem.
Basically, locations can be changed as described here:
https://intellij-support.jetbrains.com/hc/en-us/articles/207240985
Please check idea.properties file, is there anything similar to the path you have mentioned?
Hi Vasiliy,
No , there is nothing similar to this path on idea.properties .
Please check the the .vmoptions file located in ~/Libraries/Preferences/PhpStorm2019.3
If it's not there, there's a .vmoptions file inside the application itself: /Applications/PhpStorm.app/Contents/bin/phpstorm.vmoptions
Dear Eugene,
I've just checked both files, but there is no such a path to edit.
Then I advise that you start from scratch. Please rename the following directories:
~/Library/Preferences/PhpStorm2019.3
~/Library/Application Support/PhpStorm2019.3
Uninstall PhpStorm, install it back using a newly downloaded full package: https://www.jetbrains.com/phpstorm/download/
I don't think in this case the JAR may be still specified somewhere else.
Dear Eugene,
I've try this several times, but same error accrued. I've to change the path manual.
Ehm, that is weird. This JAR (which is most probably a crack by the way) may be specified in two places only, it's either the installation or the configuration directories.
You said that you started with a new installation (you did, right) and with the default settings. After that, there's literally no place the JAR option could've been taken from somewhere.
If you still can't get it going, please submit the logs bundle (Help | Compress Logs and Show in…) within a support ticket.
Dear Eugene,
Please check this :
/Applications/PhpStorm.app/Contents/MacOS/phpstorm ; exit;
2020-01-27 21:14:06.379 phpstorm[11842:932386] allVms required 1.8*,1.8+
2020-01-27 21:14:06.381 phpstorm[11842:932403] Value of PHPSTORM_VM_OPTIONS is (null)
2020-01-27 21:14:06.382 phpstorm[11842:932403] Processing VMOptions file at /Users/amir/Library/Preferences/PhpStorm2019.3/phpstorm.vmoptions
2020-01-27 21:14:06.382 phpstorm[11842:932403] Done
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
Error opening zip file or JAR manifest missing : /Users/Amid/Desktop/jetbrains.jar
Error occurred during initialization of VM
agent library failed to init: instrument
Also there is no folder in preferences named Phpstorm2019.3 ! I know this is weird but PhpStorm is working without problem in guest account on my mac book !
It's impossible, it's either there already or PhpStorm would create one.
Please run the following command in Terminal:
ls -la /Users/amir/Library/Preferences/ | grep -i phpstorm
Command response :
drwxr-xr-x 13 amir staff 416 Nov 3 17:11 PhpStorm2019.1
drwxr-xr-x 9 amir staff 288 Aug 3 18:08 PhpStorm2019.2
drwxr-xr-x 9 amir staff 288 Dec 31 14:16 PhpStorm2019.3
-rw------- 1 amir staff 180 Aug 6 21:14 com.jetbrains.PhpStorm.plist
-rw------- 1 amir staff 144 Dec 31 14:08 jetbrains.phpstorm.aba76028.plist
So it is there:
drwxr-xr-x 9 amir staff 288 Dec 31 14:16 PhpStorm2019.3
Probably you need to enable showing hidden files in Finder, you can do that with
Cmd+Shift+.
.There is no hidden folder/file named Phpstorm in preferences. It's Weird !
In this case, you may just rename/remove this folder via terminal (with 'mv' command for example), that should do the trick.
Finally it's fixed, Special Tanx to Vasiliy & Eugene .