Unused Ceylon Element

I am trying to use Ceylon with Eclipse. I installed JDK. I have Java versions 7 and 8 in my computer.

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

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

... but if I run the program, I have a window error with "No ceylon executable"

To run, click Run As> Ceylon Java Application

I do not understand this error. What is the problem?

+8
eclipse ceylon
source share
1 answer

Annotate its shared :

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

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

run configuration

Replace your project / module / version / package.

+13
source share

All Articles