java - How to compile a .jar without errors concerning libraries? -


i decompile .jar jd-gui edit file error. problem when open eclipse project recompile same classes, has lot of errors concerning libraries. therefore, compiling .jar again use in project, doesn't work.

shouldn't libraries in original .jar? how original .jar work without libraries? how can fix without having find , add libraries?

java compiler doesn't include external libraries in jar. should use build tools maven or gradle deal it. or place jar dependencies in /lib dir next jar , add dir classpath in jar's manifest file


Comments

Popular posts from this blog

How to check data type in C++? -

javascript - Is getTimezoneOffset() stable during daylight saving transition? -

formula - R: how to pass in a reference to the variable in glm or lm? -