Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

converting JAR to .java file

 
sanju gajera
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi!!!
i want to know how i can converting the JA executable file formate to the .java file formate.............?
please give me the solution.........

as soon as possible.......
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A JAR file is a collection of resources, typically multiple Class files but could also be other file types too.

The format for JAR files can be read by (typically) any archive managing tool like Winzip, WinRar etc, or it can be 'unjarred' using the command line.

There are decompilers available to convert the .class files into .java files, such as JAD
 
Kaydell Leavitt
Ranch Hand
Posts: 690
Eclipse IDE Firefox Browser Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi sanju,

I think that the easiest way to see what is in a .jar file is to first make a copy of it (so you don't mess anything up) and then change the ".jar" extension to be ".zip" and then open it.

This works for both Mac OS X and for Microsoft XP and up.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic