Unable to run java console app using codenvy SDK

591 views Asked by At

I installed codenvy SDK in my linux machine from github: https://github.com/codenvy/sdk

After starting the server localhost:8080

I tried to run the simple hello java console application.

But when I run this app, I am getting the following error. Can someone please help?

"Runner environment 'system:/java/standalone/simple/cli' is not available for workspace '1q2w3e' on infra 'community'."

2

There are 2 answers

1
gaal On

AFAIK Codenvy SDK does not support console app, only web-apps. To support different types of applications in the SDK docker can be used. But I don't know how to use it in SDK. By the way you can use hosted version of Codenvy which support console apps (will be started in the docker.) You should not configure docker to use it, but custom receipts are supported too. Here is console hello world app created in my workspace with Codenvy wizard. This URL is factory - feature that allow to share projects easily. To copy this project to your workspace click "Persist" button on the top of IDE. Or create your own with a project wizard.

0
Paul Verest On

Console apps already supported in cloud version, while there are some problems with Eclipse plugin and as you ran into with Codenvy SDK (Eclipse Che)

Raise an issue at codenvy SDK and/or ask on forum https://groups.google.com/a/codenvy.com/forum/#!forum/codenvy

Don't forget to reference this question.