linux - Arch Linux 上的 Intellij Idea 14 打开灰屏

标签 linux intellij-idea java-8 archlinux intellij-14

我正在尝试在装有 Arch Linux 的 Macbook 上运行 Intellij Idea 14。我已经安装了 Idea 和从 AUR 安装的 Oracle JDK8。

当我运行 idea.sh 时,启动画面出现,加载完成后打开 this screen .

这是idea.log:

2015-10-29 17:02:33,298 [      0]   INFO -        #com.intellij.idea.Main - ------------------------------------------------------ IDE STARTED ------------------------------------------------------ 
2015-10-29 17:02:33,312 [     14]   INFO -        #com.intellij.idea.Main - IDE: IntelliJ IDEA (build #IC-141.2735.5, 22 Sep 2015 00:00) 
2015-10-29 17:02:33,312 [     14]   INFO -        #com.intellij.idea.Main - OS: Linux (4.2.3-1-arch, amd64) 
2015-10-29 17:02:33,312 [     14]   INFO -        #com.intellij.idea.Main - JRE: 1.8.0_66-b17 (Oracle Corporation) 
2015-10-29 17:02:33,312 [     14]   INFO -        #com.intellij.idea.Main - JVM: 25.66-b17 (Java HotSpot(TM) 64-Bit Server VM) 
2015-10-29 17:02:33,314 [     16]   INFO -        #com.intellij.idea.Main - JVM Args: -Xbootclasspath/a:./../lib/boot.jar -Xms128m -Xmx750m -XX:MaxPermSize=350m -XX:ReservedCodeCacheSize=225m -XX:+UseConcMarkSweepGC -XX:SoftRefLRUPolicyMSPerMB=50 -ea -Dsun.io.useCanonCaches=false -Djava.net.preferIPv4Stack=true -Dawt.useSystemAAFontSettings=on -Djb.vmOptionsFile=./idea64.vmoptions -XX:ErrorFile=/home/noah/java_error_in_IDEA_%p.log -Djb.restart.code=88 -Didea.paths.selector=IdeaIC14 -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Dswing.defaultlaf=com.sun.java.swing.plaf.gtk.GTKLookAndFeel 
2015-10-29 17:02:33,341 [     43]   INFO -        #com.intellij.idea.Main - JNA library loaded (64-bit) in 27 ms 
2015-10-29 17:02:33,424 [    126]   INFO - .intellij.idea.IdeaApplication - WM detected: bspwm 
2015-10-29 17:02:34,174 [    876]   INFO - llij.ide.plugins.PluginManager - 29 plugins initialized in 612 ms 
2015-10-29 17:02:34,174 [    876]   INFO - llij.ide.plugins.PluginManager - Loaded bundled plugins: Android Support (10.1.1.0), Ant Support (1.0), Bytecode Viewer (0.1), CVS Integration (11), Copyright (8.1), Coverage, Eclipse Integration (3.0), EditorConfig (1.0), Git Integration (8.1), GitHub, Gradle, Groovy (9.0), I18n for Java, IDEA CORE, IntelliLang (8.0), JUnit (1.0), Java Bytecode Decompiler (0.1), JavaFX (1.0), Maven Integration, Plugin DevKit (1.0), Properties Support, Subversion Integration (1.1), Task Management (1.0), Terminal (0.1), TestNG-J (8.0), UI Designer, XPathView + XSLT Support (4), XSLT-Debugger (1.4), hg4idea (10.0) 
2015-10-29 17:02:34,790 [   1492]   INFO - ellij.util.io.PagedFileStorage - lower=100; upper=200; buffer=10; max=739246080 
2015-10-29 17:02:34,814 [   1516]   INFO - api.vfs.impl.local.FileWatcher - Starting file watcher: /usr/share/intellijidea-ce/bin/fsnotifier64 
2015-10-29 17:02:34,822 [   1524]   INFO - api.vfs.impl.local.FileWatcher - Native file watcher is operational. 
2015-10-29 17:02:35,539 [   2241]   INFO - lij.diagnostic.DebugLogManager - Set DEBUG for the following categories: [] 
2015-10-29 17:02:35,977 [   2679]   INFO - rains.ide.BuiltInServerManager - built-in server started, port 63342 
2015-10-29 17:02:36,557 [   3259]   INFO -                  TestNG Runner - Create TestNG Template Configuration 
2015-10-29 17:02:36,622 [   3324]   INFO - ellij.project.impl.ProjectImpl - 20 project components initialized in 409 ms 
2015-10-29 17:02:36,622 [   3324]   INFO - le.impl.ModuleManagerComponent - 0 module(s) loaded in 0 ms 
2015-10-29 17:02:36,865 [   3567]   INFO - pl.stores.ApplicationStoreImpl - 83 application components initialized in 2621 ms 
2015-10-29 17:02:36,870 [   3572]   INFO - .intellij.idea.IdeaApplication - App initialization took 4204 ms 
2015-10-29 17:06:05,892 [ 212594]   INFO - org.jetbrains.io.BuiltInServer - web server stopped 
2015-10-29 17:06:05,893 [ 212595]   INFO - Types.impl.FileTypeManagerImpl - FileTypeManager: 0 auto-detected files
Elapsed time on auto-detect: 0 ms 
2015-10-29 17:06:05,907 [ 212609]   INFO - dea.ddms.adb.AdbService$Ddmlib - DDMLib terminated 
2015-10-29 17:06:05,907 [ 212609]   INFO - il.indexing.FileBasedIndexImpl - START INDEX SHUTDOWN 
2015-10-29 17:06:05,927 [ 212629]   INFO - il.indexing.FileBasedIndexImpl - END INDEX SHUTDOWN 
2015-10-29 17:06:05,927 [ 212629]   INFO - stubs.SerializationManagerImpl - START StubSerializationManager SHUTDOWN 
2015-10-29 17:06:05,927 [ 212629]   INFO - stubs.SerializationManagerImpl - END StubSerializationManager SHUTDOWN 
2015-10-29 17:06:06,002 [ 212704]   WARN - api.vfs.impl.local.FileWatcher - Watcher terminated with exit code 0 
2015-10-29 17:06:06,003 [ 212705]   INFO - newvfs.persistent.PersistentFS - VFS dispose started 
2015-10-29 17:06:06,003 [ 212705]   INFO - newvfs.persistent.PersistentFS - VFS dispose completed 
2015-10-29 17:06:06,007 [ 212709]   INFO -        #com.intellij.idea.Main - ------------------------------------------------------ IDE SHUTDOWN ------------------------------------------------------ 

如有任何帮助,我们将不胜感激。

最佳答案

这很可能是因为您的窗口管理器 bspwm。如果您在启动 IntelliJ 之前设置以下环境变量,它应该可以工作。

_JAVA_AWT_WM_NONREPARENTING=1

关于linux - Arch Linux 上的 Intellij Idea 14 打开灰屏,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/33424736/

相关文章:

c - 守护进程如何在启动时自动运行

c - 如何从 C 程序为接口(interface)设置 ipv6 地址

java - 为 IntelliJ Cassandra Database Viewer 设置时区

intellij-idea - IntelliJ Spring Boot : How to create an executable jar

java - 我不能映射/flatMap 一个 OptionalInt 吗?

java - 使用泛型类时 lambda 使用者参数的类型未知

java - 在 Action Bean 中使用 Java 8 ParallelStream 时出现随机 Hibernate 异常

php - 防止 IP 在服务器上多次下载文件

linux - 以 ubuntu 标准用户身份连接到 postgres

android - 将 IntelliJ 设置传输到 Android Studio