[OpenIndiana-discuss] Fwd: Re: The last version of Eclipse and SWT for Solaris

Hung Nguyen Gia gh_origin at zohomail.com
Mon Jan 11 07:27:33 UTC 2021


============ Forwarded message ============
From: Peter Tribble <tribblix at gmail.com>
To: "Hung Nguyen Gia"<gh_origin at zohomail.com>
Date: Thu, 31 Dec 2020 21:44:15 +0700
Subject: Re: The last version of Eclipse and SWT for Solaris
============ Forwarded message ============


On Wed, Dec 30, 2020 at 3:19 PM Hung Nguyen Gia <mailto:gh_origin at zohomail.com> wrote:

http://archive.eclipse.org/eclipse/downloads/drops4/R-4.6.3-201703010400/is the last version of Eclipse and SWT have support for Solaris. After that, Solaris support was completely removed.



I tried to run some small apps with the last SWT 4.6.3 for Solaris 10 x86_64 and luckily it worked without any problems.






Yes; I have OpenJFX running (sometimes), and that uses SWT 4.6.3.
 



But I didn't have much luck with Eclipse. The last Eclipse 4.6.3 for Solaris 10 x86_64 failed to run on both OI and Tribblix (all variants).






Presumably current versions? Anyway, see below:

 



Sir, you are a Java developer. Maybe you could debug the problem?



Try to run it and you will see the error log.






Assuming you are getting the same error I do, edit eclipse.ini so that it says:

 -startup
plugins/org.eclipse.equinox.launcher_1.3.201.v20161025-1711.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.gtk.solaris.x86_64_1.1.401.v20161122-1740
-showsplash
org.eclipse.platform
--launcher.defaultAction
openFile
--launcher.GTK_version
2
--launcher.appendVmargs
-vmargs
-Dosgi.requiredJavaVersion=1.8
-Xms256m
-Xmx1024m


The important thing is the

--launcher.GTK_version
2


lines. Otherwise, it tries to use both GTK2 and GTK3, gets confused,
and that appears to cause the crash.


-Peter


More information about the openindiana-discuss mailing list