Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法在运行时更改java的代码?我需要从jar中读取java文件,更改代码,重新编译并放入jar。所有这些都应该在运行时完成。我不知道的部分是如何从 jar 文件中读取 java 文件作为 java 文件并更改代码