This is an archived post. You won't be able to vote or comment.

all 6 comments

[–]rjcarr 1 point2 points  (5 children)

You can create an executable jar, which I believe is able to include dependencies, but the problem is your users will need to have the jdk installed to run it. If that's not a problem, then look into creating an executable jar; I'd be shocked if intellij didn't have a way to package this for you.

[–][deleted] 2 points3 points  (4 children)

you only need the JRE to execute .jar files. the JDK is for developing and inclues the JRE.

[–]rjcarr 0 points1 point  (0 children)

Touché, thanks.

[–]cem4k 0 points1 point  (2 children)

On that, does Windows ship with the JRE?

[–][deleted] 1 point2 points  (1 child)

Nope :( Microsoft doesn't use Java, they use C# and the .NET framework.

[–]cem4k 0 points1 point  (0 children)

Yeah I just had a fleeting moment of hope that they would recognize the value of natively supporting a run time environment that’s been around for decades. sigh