Skip to main content



      Home
Home » Newcomers » Newcomers » How do I edit a jar file?
How do I edit a jar file? [message #1827090] Wed, 06 May 2020 20:33
Eclipse UserFriend
Hi, I just recently downloaded eclipse because I had a jar file that I wanted to edit. However now I have no clue how to do that. How do you develop a jar file in eclipse?

What I've tried so far:

Just decompiling the file: gives me tons of errors because the file is quite big.

Decompiling the folder that I want to edit as well as the main class, then making a new jar file with everything else, and adding that as an external library. This got close, but when I try to run the program it says
java.lang.module.FindException: Unable to derive module descriptor for [filepath] 
Caused by: java.lang.module.InvalidModuleDescriptorException: bhn$a.class found in top-level directory (unnamed package not allowed in module)

So at the moment I'm pretty stuck, and I have no idea if I'm even headed down the right path. What other things should I try to be able to edit this jar file?
Previous Topic:Which Version of Eclipse to Choose for RCP Application Developement?
Next Topic:How to use tinylog in Eclipse plugin
Goto Forum:
  


Current Time: Mon Jul 07 14:44:08 EDT 2025

Powered by FUDForum. Page generated in 0.15240 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top