java - WebStorm 11 fresh install not starting in Mac OSX -
this happened me in fresh installs both in el capitan , yosemite. webstorm 11.0.3.
when trying start webstorm whatever source (finder, spotlight etc.) seems nothing @ all. no visible errors, nothing @ all.
so tried start again osx's console utility opened , caught these:
08/02/16 12:57:29,912 webstorm[99959]: cannot load jvm bundle: error domain=nscocoaerrordomain code=3587 "the bundle “openjdk 8” couldn’t loaded because damaged or missing necessary resources." (dlopen_preflight(/applications/webstorm.app/contents/jre/jdk/contents/macos/libjli.dylib): no suitable image found. did find: /applications/webstorm.app/contents/jre/jdk/contents/macos/libjli.dylib: file short) userinfo=0x610000069a40 {nslocalizedfailurereason=the bundle damaged or missing necessary resources., nslocalizedrecoverysuggestion=try reinstalling bundle., nsfilepath=/applications/webstorm.app/contents/jre/jdk/contents/macos/libjli.dylib, nsdebugdescription=dlopen_preflight(/applications/webstorm.app/contents/jre/jdk/contents/macos/libjli.dylib): no suitable image found. did find: /applications/webstorm.app/contents/jre/jdk/contents/macos/libjli.dylib: file short, nsbundlepath=/applications/webstorm.app/contents/jre/jdk, nslocalizeddescription=the bundle “openjdk 8” couldn’t loaded because damaged or missing necessary resources.}
when applying first step stated in solution down below, saw these:
08/02/16 13:01:01,146 webstorm[99970]: value of webstorm_jdk: (null) 08/02/16 13:01:01,149 webstorm[99970]: fullfilename is: /applications/webstorm.app/contents/bin/webstorm.vmoptions 08/02/16 13:01:01,149 webstorm[99970]: fullfilename exists: /applications/webstorm.app/contents/bin/webstorm.vmoptions 08/02/16 13:01:01,149 webstorm[99970]: value of webstorm_vm_options (null) 08/02/16 13:01:01,149 webstorm[99970]: processing vmoptions file @ /applications/webstorm.app/contents/bin/webstorm.vmoptions 08/02/16 13:01:01,149 webstorm[99970]: done 08/02/16 13:01:01,150 webstorm[99970]: jni_createjavavm (/applications/webstorm.app/contents/jre/jdk) failed: 4294967295
after searching in github, jetbrain's forums , on saw other people jvm issues didn't solve entirely problem.
for libjli.dylib
issue, searched file in webstorm.app's contents , saw exists in 2 places, 1 of files (the 1 says file short) looks it's redirection other file. copied bigger libjli.dylib
, replaced 1 being complained about.
to knowledge, there's no redirection , console clear error. webstorm still wasn't starting, showing second error, jni_createjavavm failed
.
turns out something's not quite right in webstorm , new versions of java. happen using java 1.8.
what saw recommended , worked me installing java 1.6 using brew , telling webstorm.app use version instead. bear in mind doing way, your system keep using updated java version
so first installing java 1.6 in terminal:
~ brew tap caskroom/versions [...] ~ brew cask install java6 [...] 🍺 java6 staged @ '/opt/homebrew-cask/caskroom/java6/1.6.0_65' (64m)
and telling webstorm use 1.6:
- open
info.plist
file webstorm.app contents folder. - change line below
<key>jvmversion</key>
<string>1.6+,1.7+</string>
<string>1.6</string>
- save , close
and it's working!
if webstorm.app tries use java version don't have (or can't found), you'll see this:
again, me, fixed using brew.
Comments
Post a Comment