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

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

reactjs - React router and this.props.children - how to pass state to this.props.children -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -