Eclipse for solaris 64bit (4.5+ mars)sparc [message #1719680] |
Mon, 11 January 2016 07:43  |
Eclipse User |
|
|
|
I have went through the following info:
https://www.eclipse.org/forums/index.php/bm/msg/836730/1/on/0/?SQ=39da5f2f331d3f877c261f653fee5958
https://bugs.eclipse.org/bugs/show_bug.cgi?id=429343
https://bugs.eclipse.org/bugs/show_bug.cgi?id=442266
And i found that eclipse Mars with Java 8 doesnt work for Solaris Sparc Arch. According to these links, it has been tested under 4.4.2 eclipse version, and i have been getting quite a lot of discomfort in getting the eclipse to start in 4.5 and 4.5.1 .
The following error pops up for Sparc arch:
!MESSAGE Application error
!STACK 1
java.lang.UnsatisfiedLinkError: Cannot load 32-bit SWT libraries on 64-bit JVM
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:259)
at org.eclipse.swt.internal.Library.loadLibrary(Library.java:236)
at org.eclipse.swt.internal.C.<clinit>(C.java:16)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:63)
at org.eclipse.swt.internal.Converter.wcsToMbcs(Converter.java:54)
at org.eclipse.swt.widgets.Display.<clinit>(Display.java:134)
at org.eclipse.ui.internal.Workbench.createDisplay(Workbench.java:734)
at org.eclipse.ui.PlatformUI.createDisplay(PlatformUI.java:162)
at org.eclipse.ui.internal.ide.application.IDEApplication.createDisplay(IDEApplication.java:169)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:111)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:669)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:608)
at org.eclipse.equinox.launcher.Main.run(Main.java:1515)
at org.eclipse.equinox.launcher.Main.main(Main.java:1488)
Also when changed the binaries(ie using x86 binaries on Sparc platform, will result in invalid argument ).
Please Help in providing proper install instructions for Eclipse for 64 bit Sparc Solaris 11 or there exists a solution for this.
Thanks.
|
|
|
|
Re: Eclipse for solaris 64bit (4.5+ mars)sparc [message #1719797 is a reply to message #1719757] |
Tue, 12 January 2016 01:47   |
Eclipse User |
|
|
|
No 32 bit jvms cannot be run on 64 bit platform of sparc arch, It results in following error in logs: "invalid argument,". I guess the binaries are platform specific binaries and dont run in sparc if 32 bit.
Answering my question i would like to help fellow users who face similar problem in future:
That eclipse mars could work on sparc platform by trying to set jdk as 1.7 and for this i got the following version:
jdk-7u80-solaris-sparc.tar.gz
from jdk download site,
The problem of starting eclipse with this is resolved temporarily however. The plugins and eclipse require java 8 or higher, and as soon as it open the eclipse, you get a prompt to point to a valid java 8 installation directory. The moment you give your jdk 1.8, it aceepts it and restarts eclipse with following argument added to vm in eclipse.ini(jdk path to java8, which you just pointed), the eclipse wont start now, as this is not correct, and our earlier issue. The eclipse Error that you get is same cannot run 32 bit swt libraries with 64bit jvm, and JVM is terminated with exit code 13.
So Using java1.7, you can open eclipse, but to get the plugins and features here to get to work you still require valid java8 installation, that doesnt run into problems.
Please provide a link to valid install to eclipse mars that works with compatible java jdk 1.8 packaged together... such as jdk1.7u80-solaris-sparc, so that we are temporarily unblocked, and can carry on further.
Thanks.
[Updated on: Mon, 18 January 2016 08:29] by Moderator
|
|
|
Re: Eclipse for solaris 64bit (4.5+ mars)sparc [message #1744037 is a reply to message #1719797] |
Wed, 21 September 2016 11:39  |
Eclipse User |
|
|
|
Use pkg install jdk-7 to install the correct jdk for Eclipse Mars 32 bit. There is a 64 bit Java 8 compatible version of Neon 4.6 but I get the following error when trying to run it
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0xffffffff2683df68, pid=5337, tid=2
#
# JRE version: Java(TM) SE Runtime Environment (8.0_60-b27) (build 1.8.0_60-b27)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.60-b23 mixed mode solaris-sparc compressed oops)
# Problematic frame:
# C [libgobject-2.0.so.0.2800.6+0x3df68] g_type_query+0x80
Andrew Glynn
|
|
|
Powered by
FUDForum. Page generated in 0.02850 seconds