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

create a java project using an existing jar file.

 
Ryan Webb
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Ranchers,

I have an old Jar File but we need to update it.
decompilers I find doesn't generate folder structures which I can import to an IDE.

Any advice out there?

Thanks!

Ryan Webb
 
vicky chauhan
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
what happens when you try importing the jar directly in IDE say eclipse ?
 
Ryan Webb
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The jar file is imported, but no java source codes.
we need the java source codes for us to edit it, we tried using decompilers but none generates the source files. If it does generate, then that means we can import/create new project using Eclipse.

The Jar file is so old, non of the team has the source code. =(

anyways, we managed to fix that damn thing...=) so thanks for the response.

Thanks,
Ryan Webb
 
Rob Spoor
Sheriff
Pie
Posts: 20667
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You are using the incorrect decompiler flags. JAD allows you to recreate the package folder structure with one of its flags.
 
Ryan Webb
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Oh?!?!?! Can you show me?
 
Rob Spoor
Sheriff
Pie
Posts: 20667
65
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try "jad -h" to see all options.
 
Ryan Webb
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Gee thanks a lot! Cool!

-Ryan Webb
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic