• Post Reply Bookmark Topic Watch Topic
  • New Topic

Error: expected abstract interface package-info {}

 
Mehar Hassan Raza
Greenhorn
Posts: 3
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
We are working on java classes in order to customize it. Before this customization, we just want to check compile/decompile process of existing java jar file (MMC.jar).

We collected all java class file under MMC.jar using jd-gui tool

So when we were compiling the existing MMC.jar (without customization) it is giving attached 6 errors


This is the content of package-info java file

 
Stephan van Hulst
Bartender
Posts: 6583
84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It looks like your decompiler doesn't know how to deal with package-info.java. This file is used to document a package. It normally only consists of a package declaration, and nothing more. The decompiler shouldn't be adding an interface declaration.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!