jbang icon indicating copy to clipboard operation
jbang copied to clipboard

Unleash the power of Java - JBang Lets Students, Educators and Professional Developers create, edit and run self-contained source-only Java programs with unprecedented ease.

Results 271 jbang issues
Sort by recently updated
recently updated
newest added

copy this to clipboard: ``` ///usr/bin/env jbang "$0" "$@" ; exit $? //DEPS dev.jbang:devkitman:0.1.2 //JAVA 21+ //PREVIEW import dev.jbang.devkitman.*; void main(String[] args) { var jdkManager = JdkManager.create(); var jdk =...

bug

``` export GITHUB_TOKEN=notvalid jbang gavsearch@jbangdev ``` result in what seems like you made a mistake ``` [jbang] [ERROR] Could not download https://github.com/jbangdev/jbang-catalog/blob/HEAD/jbang-catalog.json [jbang] Run with --verbose for more details. The...

bug

**Is your feature request related to a problem? Please describe.** Current output: ``` [jbang] Trusting permanently: [https://github.com/koppor/ghprcomment/] jbang https://github.com/koppor/ghprcomment/blob/main/ghprcomment.java [jbang] Downloading JDK 21. Be patient, this can take several minutes......

ideas

We use `-source` and `-target` compiler options in several places (eg https://github.com/maxandersen/jbang/blob/main/src/main/java/dev/jbang/source/buildsteps/CompileBuildStep.java#L74), we should use `--release` whenever using JDKs 9 and newer.

I can install `myapp` with the following ``` curl -Ls https://sh.jbang.dev | bash -s - app install --fresh --force myapp@myappio ``` I would like to have a new feature called...

ideas

i'm not sure why it only affects this one test but java 8 is not installing when running `TestRun.testReadingNoAddExportsOnJava8` i think it is specific for github so for now disabled...

bug

seeing #1943 which fixes access to private github repos using headers on specfic named sites (github.com, githubusercontent.com, etc.) it probably would make sense we somehow enable to configure bearer token...

ideas

**Describe the bug** jbang is unable to download the js-community jar from maven central. **To Reproduce** Here is the code, just do `jbang Script.java` ```java ///usr/bin/env jbang "$0" "$@" ;...

bug

**Is your feature request related to a problem? Please describe.** I'm always frustrated when looking at the code 😄 **Describe the solution you'd like** Apply some "normal" code formatting, as...

ideas

Saw https://mill-build.org/blog/5-executable-jars.html and wondered if jbang export shouldn't have option to Exec jar this way using Java but also one using jbang to run and fetch deps using jbang.

ideas