Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

The compiler exited abnormally (2) due to a bug in the compiler #7464

Open
baberrehman opened this issue Jun 2, 2020 · 2 comments
Open

The compiler exited abnormally (2) due to a bug in the compiler #7464

baberrehman opened this issue Jun 2, 2020 · 2 comments

Comments

@baberrehman
Copy link

baberrehman commented Jun 2, 2020

I have been trying to compile the Ceylon program on my Ubuntu 18.04 machine. Unfortunately I have not been very successful in that. I am using JDK 1.8.0_252. The compiler is exiting with the following error:

Ceylon compile: invalid source release: 11
Usage: ceylon compile
use --help for a list of possible options
ceylon compile: Fatal error: The compiler exited abnormally (2) due to a bug in the compiler.
Please report it:
https://github.com/ceylon/ceylon/issues/new
Please include:

  • a description of what you were trying to compile.

Thank you!
com.redhat.ceylon.compiler.CompilerBugException: Bug
at com.redhat.ceylon.compiler.CeylonCompileTool.handleExitCode(CeylonCompileTool.java:933)
at com.redhat.ceylon.compiler.CeylonCompileTool.run(CeylonCompileTool.java:915)
at com.redhat.ceylon.common.tools.CeylonTool.run(CeylonTool.java:547)
at com.redhat.ceylon.common.tools.CeylonTool.execute(CeylonTool.java:423)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.redhat.ceylon.launcher.Launcher.runInJava7Checked(Launcher.java:108)
at com.redhat.ceylon.launcher.Launcher.run(Launcher.java:38)
at com.redhat.ceylon.launcher.Launcher.run(Launcher.java:31)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:566)
at com.redhat.ceylon.launcher.Bootstrap.runVersion(Bootstrap.java:162)
at com.redhat.ceylon.launcher.Bootstrap.runInternal(Bootstrap.java:117)
at com.redhat.ceylon.launcher.Bootstrap.run(Bootstrap.java:93)
at com.redhat.ceylon.launcher.Bootstrap.main(Bootstrap.java:85)

@Voiteh
Copy link
Contributor

Voiteh commented Jun 29, 2020

Use java 8 Ceylonis not copatibile with java 11

@l7rf1i82
Copy link

l7rf1i82 commented Oct 1, 2021

check this section:
https://github.com/eclipse/ceylon#systems-where-ceylon-is-known-to-work
i use:

  • Linux vagrant-ubuntu-trusty-64 3.13.0-170-generic #220-Ubuntu SMP Thu May 9 12:40:49 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
  • java version "1.7.0_201"
  • ceylon version 1.3.3 0d594b3 (Contents May Differ)

then try this steps:
https://github.com/eclipse/ceylon/blob/master/dist/README.md#running-the-sample-programs

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants