2018.1 EAP + JBR11 does not launch
MacOS...
I'm using the toolbox app and had 2018 EAP (Java 8) installed. It continues to work, and this morning I did an update (191.5849.21)
Whilst doing this I noticed the Java 11 version so figured I'd install that to. This install was successful
However the JBR11 version when clicked in the toolbox app does not launch. Nothing comes up at all
The JBR8 version continues to work
I did try and launch manually:
✔ ~/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate + JBR11.app/Contents/MacOS
09:06 $ ./jetbrains-toolbox-launcher
2019-03-01 09:06:57.905 jetbrains-toolbox-launcher[7007:84003] Staring wrapper...
2019-03-01 09:06:57.906 jetbrains-toolbox-launcher[7007:84003] Running app file:///Users/jonesn/Library/Application%20Support/JetBrains/Toolbox/apps/IDEA-JDK11/ch-0/191.5849.21/IntelliJ%20IDEA%202019.1%20EAP.app/ with arguments (✔ ~/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate + JBR11.app/Contents/MacOS
09:06 $ ./jetbrains-toolbox-launcher
2019-03-01 09:06:57.905 jetbrains-toolbox-launcher[7007:84003] Staring wrapper...
2019-03-01 09:06:57.906 jetbrains-toolbox-launcher[7007:84003] Running app file:///Users/jonesn/Library/Application%20Support/JetBrains/Toolbox/apps/IDEA-JDK11/ch-0/191.5849.21/IntelliJ%20IDEA%202019.1%20EAP.app/ with arguments (
请先登录再写评论。
Try running `~/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate + JBR11.app/Contents/MacOS/idea` in the Terminal. What errors do you get? Make sure no other IntelliJ IDEA instance of the same version is already running.
Interesting
09:51 $ ~/Applications/JetBrains\ Toolbox/IntelliJ\ IDEA\ Ultimate\ +\ JBR11.app/Contents/MacOS/idea
-bash: /Users/jonesn/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate + JBR11.app/Contents/MacOS/idea: No such file or directory
✘-127 ~
09:53 $ ls ~/Applications/JetBrains\ Toolbox/IntelliJ\ IDEA\ Ultimate\ +\ JBR11.app/Contents/
Info.plist MacOS Resources
✔ ~
09:54 $ ls ~/Applications/JetBrains\ Toolbox/IntelliJ\ IDEA\ Ultimate\ +\ JBR11.app/Contents/MacOS
jetbrains-toolbox-launcher
✔ ~
Nothing there... I'll try re-installing.
Toolbox shows it as installed and there were no errors, but perhaps that process went wrong.
Having uninstalled it, and installed again (by toolbox) the result is the same. No activity when clicked, and the contents of the directory above remain the same
Does the version installed manually from https://www.jetbrains.com/idea/nextversion/ work for you?
I do have the file at
✔ ~/Library/Application Support/JetBrains/Toolbox/apps/IDEA-JDK11/ch-0/191.5849.21/IntelliJ IDEA 2019.1 EAP.app/Contents/MacOS
10:04 $ ls
idea
When run this gives:
10:04 $ ./idea
2019-03-01 10:04:34.248 idea[8789:198107] allVms required 1.8*,1.8+
2019-03-01 10:04:34.252 idea[8789:198114] Value of IDEA_VM_OPTIONS is (null)
2019-03-01 10:04:34.252 idea[8789:198114] Processing VMOptions file at /Users/jonesn/Library/Application Support/JetBrains/Toolbox/apps/IDEA-JDK11/ch-0/191.5849.21/IntelliJ IDEA 2019.1 EAP.app.vmoptions
2019-03-01 10:04:34.252 idea[8789:198114] Done
OpenJDK 64-Bit Server VM warning: Option UseConcMarkSweepGC was deprecated in version 9.0 and will likely be removed in a future release.
intx MaxJavaStackTraceDepth=-1 is outside the allowed range [ 0 ... 1073741823 ]
Improperly specified VM option 'MaxJavaStackTraceDepth=-1'
2019-03-01 10:04:34.260 idea[8789:198114] JNI_CreateJavaVM (/Users/jonesn/Library/Application Support/JetBrains/Toolbox/apps/IDEA-JDK11/ch-0/191.5849.21/IntelliJ IDEA 2019.1 EAP.app/Contents/jdk) failed: 4294967290
Options file is
-Xms128m
-Xmx1500m
-XX:ReservedCodeCacheSize=240m
-XX:+UseCompressedOops
-Dfile.encoding=UTF-8
-XX:+UseConcMarkSweepGC
-XX:SoftRefLRUPolicyMSPerMB=50
-ea
-Dsun.io.useCanonCaches=false
-Djava.net.preferIPv4Stack=true
-XX:+HeapDumpOnOutOfMemoryError
-XX:-OmitStackTraceInFastThrow
-XX:MaxJavaStackTraceDepth=-1
-Xverify:none
-XX:ErrorFile=$USER_HOME/java_error_in_idea_%p.log
-XX:HeapDumpPath=$USER_HOME/java_error_in_idea.hprof
-Dide.no.platform.update=true
Changing the -1 to 0 allows the IDE to come up.
I then had a storm of exceptions - though I'll have to try the same on the non JDK11 build -- plus many look to be from plugins rather than core.
Remove MaxJavaStackTraceDepth VM option from the custom VM options in the IDE config directory (https://intellij-support.jetbrains.com/hc/articles/206544519) or via Toolbox:
This option was probably migrated from the older version.
See https://youtrack.jetbrains.com/issue/TBX-3319 .
Without Toolbox IntelliJ IDEA should automatically fix it when migrating the settings: https://youtrack.jetbrains.com/issue/IDEA-206792 .