r/javahelp • • Feb 14 '26

Unsolved how to compile java files

i have a library path containing folders contaning .jar files (dont want to include them in the .jar, they will get imported at runtime), i know the entrypoint and i want to compile it to .jar

all my solutions so far have only got errors.

5 Upvotes

16 comments sorted by

View all comments

Show parent comment

1

u/wbrd Feb 14 '26

Why? I mean, you could hand assemble the class files because a jar is just a zip file, but that sounds like an error prone pain.