Libing Chen

Results 186 comments of Libing Chen

@dsyer @helpermethod a question here. Now the default vendor is `oracle_open_jdk`, and it should be replaced by [temurin](https://adoptium.net/)? Some versions, such as 12, 13, 14, 15, 16 not available from...

I should add project's Java SDK as JAVA_HOME to run jbang command. ```kotlin ProcessExecutor().command(jbangCmd, "template", "list") .environment("NO_COLOR", "true") .readOutput(true) .execute() .outputUTF8() .lines() ```

@maxandersen I think JBang will download Java runtime automatically even no local JDK detected . I'm right?

Fixed. Now use `NAME=abcd` or `NAME="a b c d"` ![Snip20220508_118](https://user-images.githubusercontent.com/46711/167323208-7e5037c0-06ed-4849-95e8-2dfcb936b8e6.png)

@ledinscak @AdityaPadhy I added sdkman auto detection. Could you install attachment and have a test? [jbang-idea-plugin-0.23.1.zip](https://github.com/jbangdev/jbang-idea/files/10046128/jbang-idea-plugin-0.23.1.zip)

@AdityaPadhy Failed to execute `jbang init --template hello --force Demo.java`. Could you see the `Init from JBang templates` dialog? and what are your template name and Script name? Thanks.

Now the plugin supports JBANG_HOME env variable, and you can set up JBang install directory. Please refer https://github.com/jbangdev/jbang-idea/issues/66

@msangel I will take a look, maybe we can skip jbang script invoke and call java directly.

@maxandersen Is it possible to attach jbang.jar for the plugin? Now jbang.jar is just 7.3M

I think one `//DEPS ` just for one dependency. I will fix it. ``` //DEPS io.javalin:javalin:4.4.0 //DEPS org.slf4j:slf4j-simple:1.7.36 ```