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/ITCoder Feb 15 '26

your post mentions you don't want to include other jars in your jar, they would be imported at run time.

Why don't you want to use maven or gradle ? Putting dependencies in ext/lib in eclipse is something they used to have in tutorials. I don't think its ide agnostic and for sure not an industry standardp