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.
MIT License
Bot releases are visible (Hide)
Published by github-actions[bot] over 4 years ago
breaking change: Now using shrinkwrap resolvers instead of old aether. This means optional dependencies are no longer included by default. This should give shorter startup times and more deterministic dependency resolution. If you relied on optional dependencies then now you need explicitly add the missing dependencies.
Custom repositories now supported - you can use //REPOS id=reporef
or @GrabResolver(...)
to declare a Maven repository. There are shorthands available to refer to popular repositories such as mavencentral
, jcenter
and goggle
.
and now with a logo:
Published by github-actions[bot] over 4 years ago
Added --insecure
option to trust all SSL certificates - thanks @quintesse (ab5c0ab)
Now handles HTTP redirects - thanks @quintesse (c336b0b), closes #75
Adding devfile and 'Developer Workspace' button in readme for trying the project on Hosted Che / che (8b72c75)
Addded gitpod config (2a17489)
add shield badge for workspace (971052c)
Published by github-actions[bot] over 4 years ago
-D<key>=<value>
, for both java
and jshell
. java
is done natively by passing -D
and jshell
which does not have system property feature has it done similar to how argument passing implemented: generating pre-script that jshell will execute before the main script.Published by github-actions[bot] over 4 years ago
--edit-live
which will open your editor and monitor the files for change to auto generate project on dependency changes.Published by github-actions[bot] over 4 years ago
Published by github-actions[bot] over 4 years ago
--edit
would edit then shadow copy rather than the real file when using extension-less files.--init=
is now used to indicate default template allowing you to do jbang --init= kubectl-example
which before failed as it thought "kubectl-example" was the template name.Published by github-actions[bot] over 4 years ago
All about making non-extension files just work - useful for writing git
, kubectl
, etc. plugins.
helloworld
as if it was a .java
file.kubectl-myplugin
then its assumed the class inside it is called KubectlMyPlugin
#!
the first line will be removed before compiling.Published by github-actions[bot] over 4 years ago
jbang --edit
would not expand properties making dependency resolution fail, especially for JavaFX.Published by github-actions[bot] over 4 years ago
https://raw.githubusercontent.com/maxandersen/jbang/master/examples/helloworld.java
you can now just do jbang https://github.com/maxandersen/jbang/blob/master/examples/helloworld.java
${[env.]myproperty:[<defaultvalue>]}
os.detected.name
and added custom one to help with javafx: os.detected.jfxname
Published by github-actions[bot] over 4 years ago
Published by github-actions[bot] over 4 years ago
Published by github-actions[bot] over 4 years ago
Published by github-actions[bot] over 4 years ago
Published by github-actions[bot] over 4 years ago
Published by github-actions[bot] over 4 years ago
Published by github-actions[bot] over 4 years ago
scoop
on WindowsPublished by github-actions[bot] over 4 years ago
chmod +x
) on file generated by --init
Published by github-actions[bot] over 4 years ago
choco install jbang
(latest version might be delayed due to manual review still in-effect)Published by github-actions[bot] over 4 years ago
Published by github-actions[bot] over 4 years ago
--init[=templatename]
. Default is named hello
and used if none specified and cli
to create a picocli based helloworld, i.e. jbang --init=cli hello.java