my dog learned polymorphism*
The moose likes IDEs, Version Control and other tools and the fly likes New project in eclipse with a Jar file Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "New project in eclipse with a Jar file" Watch "New project in eclipse with a Jar file" New topic
Author

New project in eclipse with a Jar file

Mario Gimenez
Ranch Hand

Joined: Mar 23, 2010
Posts: 38
Hi!.
this is my problem.
I have a .jar file, I need to create a new java proyect (eclipse) whit this jar. I need to convert .class to .java and create the proyect to obtein the code.
For convert .class to .java I have JAD. but, I don't know how can I create a proyect whit packages etc.
help please.

Maneesh Godbole
Saloon Keeper

Joined: Jul 26, 2007
Posts: 10451
    
    8

Packages are nothing but directories into which your source files are organized. After you de-compiled, did you get the directories with source files?
PS. If you are going to de-compile, it might be a very good idea to see if you are allowed to do so. The license agreement/file will have information about this.


[How to ask questions] [Donate a pint, save a life!] [Onff-turn it on!]
 
 
subject: New project in eclipse with a Jar file