Reputation: 7204
I have files named xxx.java.i
,xxx.java.d
,xxx.jar.i
. I know that these file are somehow related to Java. What does this extension mean and for what is it used? Is it same type as the .class
extension?
Upvotes: 1
Views: 757
Reputation: 1388
I think they are created by someone to serve his own purpose and unless we ask the author or see the content we won't know what it the purpose is.
If you see garbled characters, it's probably java bytecode and you can use some decompiler to see the code (see: How do I "decompile" Java class files?).
Upvotes: 0
Reputation: 95569
You should look at your build system for more information. It is possible that these are intermediate files that get transformed and renamed to ".java". For example, I've seen various build systems that use the ".i" suffix to mean "input", and perform various forms of variable substitution (e.g. changing something like "{VERSION_NUMBER}" to the version number of the library being compiled).
Upvotes: 1