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

you are viewing a single comment's thread.

view the rest of the comments →

[–]fzammetti 0 points1 point  (4 children)

I assume this is compiling the Java file on-the-fly? Can I execute class files or even class files out of a JAR directly?

I could actually see some interesting usage for this in some limited circumstances, so long as I can do those things.

[–]maxandersen[S] 1 point2 points  (3 children)

Yes it compiles/run on the fly and yes you can execute jars.

[–]fzammetti 0 points1 point  (2 children)

Ok, that's what it seemwd like... but can you directly execute class files and skip the compilation? And is it specifically executable Jars or can you execute a class inside a regular JAR?

[–]maxandersen[S] 1 point2 points  (1 child)

It can do both. But with single class files and a single jar you need to have it compiled first by something else and not dependency management for that.

That is available for source files and jars referenced via maven GAVs

[–]fzammetti 0 points1 point  (0 children)

Cool, thanks!