在Linux上安装Eclipse - GtkWindow的屏幕未设置 [英] Installing Eclipse on Linux - Screen for GtkWindow not set
问题描述
异常:
(Eclipse: 22632):Gtk-WARNING **:GtkWindow未设置的屏幕;在使用窗口之前,您必须始终为GtkWindow设置
a屏幕
eclipse.ini文件:
-startup
plugins / org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--launcher.library
plugins / org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20110505
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
/ opt / bin / java
-vmargs
-Dosgi.requiredJavaVersion = 1.5
-XX:MaxPermSize = 256m
-Xms40m
-Xmx512m
(Eclipse: 22632):Gtk-WARNING **:GtkWindow未设置的屏幕;在使用窗口之前,您必须始终为GtkWindow设置
a屏幕
您需要运行X Server远程机器。您还需要具有转发X权限并在SSH连接中使用它。例如,请参见文章,或通过SSH搜索转发X11 Linux发行版
I installed the 32 bit Linux version of Eclipse for Java EE Developers on a Linux server (http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/indigosr1) and I'm having issues launching eclipse from the linux machine. I've edited my eclipse.ini and added the vm java path (see below):
Exception: (Eclipse:22632): Gtk-WARNING **: Screen for GtkWindow not set; you must always set a screen for a GtkWindow before using the window
eclipse.ini file: -startup plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar --launcher.library plugins/org.eclipse.equinox.launcher.gtk.linux.x86_1.1.100.v20110505 -product org.eclipse.epp.package.jee.product --launcher.defaultAction openFile -showsplash org.eclipse.platform --launcher.XXMaxPermSize 256m --launcher.defaultAction openFile -vm /opt/bin/java -vmargs -Dosgi.requiredJavaVersion=1.5 -XX:MaxPermSize=256m -Xms40m -Xmx512m
(Eclipse:22632): Gtk-WARNING **: Screen for GtkWindow not set; you must always set a screen for a GtkWindow before using the window
you need to have an X Server running on the remote machine. You also need to have permissions to forward X and use it in your SSH connection. See this article for example, or search for forwarding X11 via SSH for your Linux distribution
这篇关于在Linux上安装Eclipse - GtkWindow的屏幕未设置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!