Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No Ceylon runnable element

Tags:

eclipse

ceylon

I try to use Ceylon, with Eclipse. I have installed the JDK. I have in my computer Java version 7 and 8.

The configuration of Eclipse looks good, I can see the Ceylon perspective, create project, I have a Ceylon file with

void hello() {
    print("hello world");
}

...but if i launch a program, I have a window error with "No ceylon runnable element"

To run I click on Run as > Ceylon Java application

I don't understand this error. What is the problem?

like image 355
Mary Avatar asked Nov 24 '14 21:11

Mary


1 Answers

Annotate it shared:

shared void hello() {
    print("hello world");
}

Your run configuration (Run → Run Configurations...) should look like this:

run configuration

Substitute your project/module/version/package.

like image 163
gdejohn Avatar answered Nov 10 '22 00:11

gdejohn