diff options
author | Scott Rifenbark <srifenbark@gmail.com> | 2016-11-29 15:57:35 -0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-12-08 16:36:40 +0000 |
commit | dae00fbb913c24b6bab00d5b99bd61f3455b4728 (patch) | |
tree | 826e56d1028d4b086f2c168ecee2425cdd51eb36 /documentation/sdk-manual/sdk-appendix-mars.xml | |
parent | 4775af4650f389e0a294e88acde04827946c0931 (diff) | |
download | poky-dae00fbb913c24b6bab00d5b99bd61f3455b4728.tar.gz |
sdk-manual: Added note about nullpointer error for launch eclipse
Fixes [YOCTO #10714]
Apparently there is some issues with GTK3 libraries for the Mars
Eclipse version. The note provides a workaround that requires
editing the eclipse.ini file.
(From yocto-docs rev: f940d5d3f7bf446af8f3c7cec5958c8395425a69)
Signed-off-by: Scott Rifenbark <srifenbark@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'documentation/sdk-manual/sdk-appendix-mars.xml')
-rw-r--r-- | documentation/sdk-manual/sdk-appendix-mars.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/documentation/sdk-manual/sdk-appendix-mars.xml b/documentation/sdk-manual/sdk-appendix-mars.xml index 144e0720ae..521f682634 100644 --- a/documentation/sdk-manual/sdk-appendix-mars.xml +++ b/documentation/sdk-manual/sdk-appendix-mars.xml | |||
@@ -72,6 +72,24 @@ | |||
72 | <listitem><para><emphasis>Launch Eclipse:</emphasis> | 72 | <listitem><para><emphasis>Launch Eclipse:</emphasis> |
73 | Double click the "Eclipse" file in the folder to | 73 | Double click the "Eclipse" file in the folder to |
74 | launch Eclipse. | 74 | launch Eclipse. |
75 | <note> | ||
76 | If you experience a NullPointer Exception after | ||
77 | launch Eclipse or the debugger from within Eclipse, | ||
78 | try adding the following | ||
79 | to your <filename>eclipse.ini</filename> file, | ||
80 | which is located in the directory in which you | ||
81 | unpacked the Eclipse tar file: | ||
82 | <literallayout class='monospaced'> | ||
83 | --launcher.GTK_version | ||
84 | 2 | ||
85 | </literallayout> | ||
86 | Alternatively, you can export the | ||
87 | <filename>SWT_GTK</filename> variable in your | ||
88 | shell as follows: | ||
89 | <literallayout class='monospaced'> | ||
90 | $ export SWT_GTK3=0 | ||
91 | </literallayout> | ||
92 | </note> | ||
75 | </para></listitem> | 93 | </para></listitem> |
76 | </orderedlist> | 94 | </orderedlist> |
77 | </para> | 95 | </para> |