Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium


EAR file

Posted on 2006-06-01
Medium Priority
Last Modified: 2008-02-07
Is it possible to covert a EAR file into a workspace so I can open it up in my Ecliplse or WSAD IDE. If it is possible please let me know how.

Question by:suketu9
  • 2
LVL 14

Expert Comment

ID: 16809404
Sure You do, You simply have to decompress it first. See here:


Author Comment

ID: 16809781
Above link does not show how to convert ear to workspace so i can just open it in Eclipse or WSAD. What if ear file only have .class file that how can i open it in ide and work on it. please explain
LVL 14

Expert Comment

ID: 16810209
You won't get much benefit from opening a class file, You still need the source of it. And Yes, usually ear's contains already compiled bytecodes, so there is no easy way to simply edit them with eclipse or any other IDE.

Accepted Solution

phuocnh earned 1500 total points
ID: 16812414
If you want to regenerates the code from class file I am using Cavaj Java Decompiler
Some more tool I list below but Cavaj is the best:
Decafe java decompiler: http://decafe.hypermart.net
DJ Java Decompiler : http://members.fortunecity.com/neshkov/dj.html or  http://neshkov.hit.bg/dj.html
FrontEnd Plus: http://www.simtel.net/pub/pd/61887.html
Hbd: http://pdr.cx/hbd/
JadAlign: http://www.geocities.com/kpdus/jad.html
Jad: http://www.geocities.com/kpdus/jad.html
Java-Split: http://decafe.hypermart.net
Nmi's Java Code Viewer: http://njcv.htmlplanet.com
Howerver, decompiling doesn't help you so much but it is better than nothing.
Try it if you like.


Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java had always been an easily readable and understandable language.  Some relatively recent changes in the language seem to be changing this pretty fast, and anyone that had not seen any Java code for the last 5 years will possibly have issues unde…
In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Viewers will learn about basic arrays, how to declare them, and how to use them. Introduction and definition: Declare an array and cover the syntax of declaring them: Initialize every index in the created array: Example/Features of a basic arr…
Suggested Courses
Course of the Month15 days, 5 hours left to enroll

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question