alpine-pkg-glibc icon indicating copy to clipboard operation
alpine-pkg-glibc copied to clipboard

Cant run eclipse

Open ghost opened this issue 6 years ago • 4 comments

Hello, I would like run eclipse on alpine. I have this error when I launch eclipse executable. GLib (gthread-posix.c): Unexpected error from C library during 'pthread_cond_init': Invalid argument. Aborting. tested with Oracle and OpenJDK javas. Error when launching eclipse executable and when java ... launcher.jar ... Any idea ? Philippe

ghost avatar Apr 10 '18 15:04 ghost

@everteam: Thank you for filing this issue. Note that trying to run a binary which has been compiled against the GNU C library on an operating system which uses a different C library will not be a straight forward exercise.

Before I can be of any assistance, I need you to provide answers to the following questions:

  • What version of Alpine are you using?
  • What distribution and version of Eclipse are you trying to run?
  • What version of the Oracle JDK are you using and how have you installed it?
  • How are you trying to run Eclipse? A command snippet would help me.

sgerrand avatar Apr 14 '18 11:04 sgerrand

Hi, we have come across the same problem. Maybe I can provide the required info. We are trying to run KNIME (which is an Eclipse RCP application) in a Docker container.

What version of Alpine are you using? We are using frolvlad/alpine-oraclejre8 as a base image, which in turn uses frolvlad/alpine-glibc, which is based on Alpine 3.7.

What distribution and version of Eclipse are you trying to run? We are trying to run version 3.5.3 of KNIME, which builds upon Eclipse 4.6.1.

What version of the Oracle JDK are you using and how have you installed it? We are using the Oracle JDK provided by the frolvlad/alpine-oraclejre8 image, which at the moment has the following in the Dockerfile:

ENV JAVA_VERSION=8 \
JAVA_UPDATE=171 \
JAVA_BUILD=11 \

How are you trying to run Eclipse? A command snippet would help me. Simply launching the executable from the terminal (>> ./knime) causes this error.

I hope this information is sufficient, but feel free to ask for more! Thank you in advance for your help! Alexander

PS: For completeness here is a minimal Dockerfile we are trying to build and in which calling the KNIME executable fails:

FROM frolvlad/alpine-oraclejre8

ENV DOWNLOAD_URL http://download.knime.org/analytics-platform/linux/knime-latest35-linux.gtk.x86_64.tar.gz

ENV INSTALLATION_DIR /usr/local
ENV KNIME_DIR $INSTALLATION_DIR/knime_3.5.3
ENV HOME_DIR /home/knime

RUN apk --no-cache --update add \
    openjdk8-jre \
    curl \
    gcc \
    g++
RUN curl -L "$DOWNLOAD_URL" | tar vxz -C $INSTALLATION_DIR
RUN apk del curl

ENTRYPOINT $KNIME_DIR/knime

AlexanderFillbrunn avatar May 28 '18 12:05 AlexanderFillbrunn

Has anybody been able to run Eclipse on Alpine yet? Could you please share exact steps?

Thanks.

mavwolverine avatar Sep 15 '18 01:09 mavwolverine

I really would like to run eclipse and android studio to prepare a environment to classes at my schooll in Brazil. I've already been used alpine linux pendrive for some another classes as a common environment for students. Can someone help us, please? Thanks

wagnermarques avatar Feb 15 '23 01:02 wagnermarques