-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to run a single Java file or a Java test from the UI? #105
Comments
Hi. Right now, you have to create an arbitrary command that runs your java Here is an example:
You will need to provide the path to the JAR file. It should be something In a near release, we'll have the terminal on the main screen, and we'll Tyler Jewell | CEO | tyler@codenvy.com | 978.884.5355 On Thu, Dec 3, 2015 at 10:36 PM, freewind notifications@github.com wrote:
|
Hello, Take a look - https://github.com/vparfonov/executable_jar_sample/blob/master/pom.xml#L17 We package the project into a JAR, and run java -jar application.jar command. So, adding Main class reference to your pom.xml will fix it. It's not flexible. This is resolved in 4.0 version where you can create custom commands and pass main class as an argument in a command. Further Maven integration is definitely on the roadmap, smth like running test for a chosen class or a method. |
I installed the latest eclipse-che and created a simple maven java project. It contains a very simple Java application:
And a test:
I want to run the application or the test, and chose the
Java 7
runner. It works, but finally gives me an error:How to configure che to support running a specified Java file? Is there any plugin support it?
The text was updated successfully, but these errors were encountered: