Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [platform-swt-dev] SWT 4.8 and CentOS 6.10

That's really weird. The function in question is just:
JNIEXPORT void JNICALL OS_NATIVE(_1cachejvmptr)
    (JNIEnv *env, jclass that)
{
    /* cache the JavaVM pointer */
    if (cached_jvm == NULL) (*env)->GetJavaVM(env, &cached_jvm);
}

Which java version is that ?

On Wed, Jul 11, 2018 at 9:57 AM, Thomas Singer <ts-swt@xxxxxxxxxxx> wrote:
Hi,

When launching SmartGit 18.2 which uses SWT 4.8 on a CentOS 6.10 64-bit, I'm getting following exception:

java.lang.UnsatisfiedLinkError:
org.eclipse.swt.internal.gtk.OS._cachejvmptr()V
        at org.eclipse.swt.internal.gtk.OS._cachejvmptr(Native Method)
        at org.eclipse.swt.internal.gtk.OS.cachejvmptr(OS.java:481)
        at org.eclipse.swt.internal.gtk.OS.<clinit>(OS.java:92)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:134)
        at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:80)
        at org.eclipse.swt.widgets.Display.<clinit>(Display.java:142)
        at smartgit.XX.a(SourceFile:62)
        at smartgit.asa.a(SourceFile:108)
        at com.syntevo.smartgit.q.a(SourceFile:301)
        at com.syntevo.smartgit.q.a(SourceFile:246)
        at smartgit.asx.a(SourceFile:68)
        at com.syntevo.smartgit.SmartGit.main(SourceFile:11)

SmartGit 18.1 uses SWT 4.7 and this works fine.
 
Is CentOS 6 not supported any more by SWT 4.8?

As CentOS 6 is GTK 2.x based it's in a "if it works" state. And ability to even start on systems that don't have GTK 3 will be dropped in 4.10 release (Dec) - announced yesterday on cross-project mailing list and at https://wiki.eclipse.org/Eclipse/PMC .
 
Is there a list of officially supported Linux versions?

Due to the crazy amount of different distributions and etc. there is a a list of "target environments" - aka environments that someone stated an intent to test and work on bugs for. It's available at https://www.eclipse.org/eclipse/development/plans/eclipse_project_plan_4_8.xml#target_environments . This is by no means an exclusive list and IMHO any not too old (aka has GTK 3) Linux distribution that doesn't deviate too much from upstream projects should be working fine.

 
Thanks in advance.

--
Best regards,
Thomas Singer
=============
syntevo GmbH
https://www.syntevo.com
https://www.syntevo.com/blog
_______________________________________________
platform-swt-dev mailing list
platform-swt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/platform-swt-dev



--
Alexander Kurtakov
Red Hat Eclipse Team

Back to the top