Bug#935842: jh_buld: Make java source version configurable

darkdragon darkdragon-001 at web.de
Mon Aug 26 23:02:34 BST 2019


Thanks for your help!

If I could create an account for the wiki, I had updated it -.-
The Debian development workflow is just so complicated and time
consuming! If you would use github/gitlab, I would send a lot more
patches directly!

On Mon, Aug 26, 2019 at 11:35 PM Markus Koschany <apo at debian.org> wrote:
>
>
> Am 26.08.19 um 22:51 schrieb darkdragon:
> > If you would also tell me HOW or even better add this to the tutorial
> > (https://people.debian.org/~apo/java/tutorial.html), I would be really
> > happy!
>
> Compiling Java source files to a specific release is not Debian
> specific. Take a look at man javac for example to learn more about the
> -source and -target parameters. You would just pass them to jh_build.
> The tutorial can't answer every question. In my opinion it would be
> better when you asked concrete questions about Debian Java packaging on
> debian-java at lists.debian.org or in #debian-java on irc.debian.org or if
> you help to improve the wiki page about Java packaging.
>
> The relevant option in jh_build is javacopts, see also man jh_build
>
> override_dh_auto_build:
>     jh_build --javacopts="-source 1.8 -target 1.8" test.jar src
>
>
>
>



More information about the pkg-java-maintainers mailing list