Any program that tells the classes not used in a package ?

Hi,
I would like to know if there is any program that tells you (given an application) which classes (from the packages) are used and which are not used. I�m building an applet (for web start) and I need the applet to be as small as posible.
Thanks !

Well, you might look at JarSpy: http://www.jarspy.org

Similar Messages

  • Hi gurus is there any program that shows the history material

    hi there gurus,
    is there any report or porgram that shows the history of the material for the past 12 months.
    hope to hear from you guyz as soon as possible, since this is kind of very urgent.
    thanks,
    vasan

    hi gurus,
    i want a report something shows this things in it,
    Materials No
    MBEW-matnr
    makt-maktx
    MBEW-LBKUM
    UOM
    MARA-MEINS
    Total value (MYR)
    MBEW-SALK3
    Consumed Past 12 months      Consumed Past 12 months
    qty                                          value (MYR)
    Consumption(Qty) MB51 sub cond mvt 543 Consumption
    DAYS SINCE CONSUMPTION
    i try to create a program but having some problem with it,
    if its possible for u to have a look into my coding,and giveme some advice with it.
    thanks.

  • Is there any program that can read handwritten notes/documents for searching puposes?

    Appreciate any information provided.

    You could "try" to use Adobe Acrobat but in general, handwritten documents don't convert very well.

  • How do I make a batch file if the .class file uses a foreign package?

    I am trying to make an MS-DOS batch file using the bytecode file from the Java source file, called AddFields.java. This program uses the package BreezySwing; which is not standard with the JDK. I had to download it seperately. I will come back to this batch file later.
    But first, in order to prove the concept, I created a Java file called Soap.java in JCreator. It is a very simple GUI program that uses the javax.swing package; which does come with the JDK. The JDK is currently stored in the following directory: C:\Program Files\Java\jdk1.6.0_07. I have the PATH environment variable set to the 'bin' folder of the JDK. I believe that it is important that this variable stay this way because C:\Program Files\Java\jdk1.6.0_07\bin is where the file 'java.exe' and 'javac.exe' are stored. Here is my batch file so far for Soap:
    @echo off
    cd \acorn
    set path=C:\Program Files\Java\jdk1.6.0_07\bin
    set classpath=.
    java Soap
    pause
    Before I ran this file, I compiled Soap.java in my IDE and then ran it successfully. Then I moved the .class file to the directory C:\acorn. I put NOTHING ELSE in this folder. then I told the computer where to find the file 'java.exe' which I know is needed for execution of the .class file. I put the above text in Notepad and then saved it as Soap.bat onto my desktop. When I double click on it, the command prompt comes up in a little green box for a few seconds, and then the GUI opens and says "It Works!". Now that I know the concept of batch files, I tried creating another one that used the BreezySwing package.
    After I installed my JDK, I installed BreezySwing and TerminalIO which are two foreign packages that make building code much easier. I downloaded the .zip file from Lambert and Osborne called BreezySwingAndTerminalIO.zip. I extracted the files to the 'bin' folder of my JDK. Once I did this, and set the PATH environment variable to the 'bin' folder of my JDK, all BreezySwing and TerminalIO programs that I made worked. Now I wanted to make a batch file from the program AddFields.java. It is a GUI program that imports two packages, the traditional GUI javax.swing package and the foreign package BreezySwing. The user enters two numbers in two DoubleField objects and then selects one of four buttons; one for each arithmetic operation (add, subtract, multiply, or divide). Then the program displays the solution in a third DoubleField object. This program both compiles and runs successfully in JCreator. So, next I moved the .class file from the MyProjects folder that JCreator uses to C:\acorn. I put nothing else in this folder. The file Soap.class was still in there, but I did not think it would matter. Then I created the batch file:
    @echo off
    cd \acorn
    set path=C:\Program Files\Java\jdk1.6.0_07\bin
    set classpath=.
    java AddFields
    pause
    As you can see, it is exactly the same as the one for Soap. I made this file in Notepad and called it AddFields.bat. Upon double clicking on the file, I got this error message from command prompt:
    Exception in thread "main" java.lang.NoClassDefFoundError: BreezySwing/GBFrame
    at java.lang.ClassLoader.defineClass1(Native Method)
    at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
    at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12
    4)
    at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
    at java.net.URLClassLoader.access$000(URLClassLoader.java:56)
    at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    Caused by: java.lang.ClassNotFoundException: BreezySwing.GBFrame
    at java.net.URLClassLoader$1.run(URLClassLoader.java:200)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
    at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:276)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
    at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
    ... 12 more
    Press any key to continue . . .
    I know that most of this makes no sense; but that it only means that it cannot find the class BreezySwing or GBFrame (which AddFields extends). Notice, however that it does not give an error for javax.swing. If I change the "set path..." command to anything other than the 'bin' folder of my JDK, I get this error:
    'java' is not recognized as an internal or external command,
    operable program or batch file.
    Press any key to continue . . .
    I know this means that the computer cannot find the file 'java.exe' which I believe holds all of the java.x.y.z style packages (native packages); but not BreezySwing or any other foreign packages. Remember, I do not get this error for any of the native Java packages. I decided to compare the java.x.y.z packages with BreezySwing:
    I see that all of the native packages are not actually visible in the JDK's bin folder. I think that they are all stored in one of the .exe files in there because there are no .class files in the JDK's bin folder.
    However, BreezySwing is different, there is no such file called "BreezySwing.exe"; there are just about 20 .class files all with names like "GBFrame.class", and "GBActionListener.class". As a last effort, I moved all of these .class files directly into the bin folder (they were originally in a seperate folder called BreezySwingAndTerminalIO). This did nothing; even with all of the files in the same folder as java.exe.
    So my question is: What do I need to do to get the BreezySwing package recognized on my computer? Is there possibly a download for a file called "BreezySwing.exe" somewhere that would be similar to "java.exe" and contain all of the BreezySwing packages?

    There is a lot of detail in your posts. I won't properly quote everything you put (too laborious). Instead I'll just put your words inside quotes (").
    "..there are some things about the interface that I do not like."
    Like +what?+ This is not a help desk, and I would appreciate you participating in this discussion by providing details of what it is about the 'interface' of webstart that you 'do not like'. They are probably misunderstandings on your part.
    "Some of the .jar files I made were so dangerously corrupt, that I had to restart my computer before I could delete them."
    Corrupt?! I have never once had the Java tools produce a corrupt Jar. OTOH, the 'cannot delete' problem might relate to the JRE gaining a file lock on the archive at run-time. If the file lock persisted after ending the app., it suggests that the JRE was not properly shut down. This is a bug in the code and should be fixed. Deploying as .class files will only 'hide' the problem (from casual inspection - though the Task Manager should show the orphaned 'java' process).
    "I then turned to batch files for their simple structure and portability (I managed to successfully transport a java.util containing batch file from my computer to another). This was what I did:
    - I created a folder called Task
    - Then I copied three things into this folder: 1. The file "java.exe" from my JDK. 2. The program's .class file (Count.class). and 3. The original batch file.
    - Then I moved the folder from a removable disk to the second computer's C drive (C:\Task).
    - Last, I changed the code in the batch file...:"
    That is the +funniest+ thing I've heard on the forums in the last 72 hours. You say that is easy?! Some points.
    - editing batch files is not scalable to 100+ machines, let alone 10000+.
    - The fact that Java worked on the target machine was because it was +already installed.+ Dragging the 'java.exe' onto a Windows PC which has no Java will not magically make it 'Java enabled'.
    And speaking of Java on the client machine. Webstart has in-built mechanisms to ensure that the end user has the minimum required Java version to run the app. - we can also use the [deployJava.js|http://java.sun.com/javase/6/docs/technotes/guides/jweb/deployment_advice.html#deplToolkit] on the original web page, to check for minimum Java before it puts the link to download/install the app. - if the user does not have the required Java, the script should guide them through installing it.
    Those nice features in deployJava.js are available to applets and apps. launched using webstart, but they are not available for (plain) Jar's or loose class files. So if 'ensuring the user has Java' is one of the requirements for your launch, you are barking up the wrong tree by deploying loose class files.
    Note also that if you abandon webstart, but have your app. set up to work from a Jar, the installation process would be similar to above (though it would not need a .bat file, or editing it). This basic strategy is one way that I provide [Appleteer (as a downloadable ZIP archive)|http://pscode.org/appleteer/#download]. Though I side-step your part 1 by putting the stuff into a Jar with the path Appleteer/ - when the user expands the ZIP, the parts of the app. are already in the Appleteer directory.
    Appleteer is also provided as a webstart launched application (and as an applet). Either of those are 'easier' to use than the downloadable ZIP, but I thought I would provide it in case the end user wants to save it to disk and transport the app. to a machine with no internet connection, but with Java (why they would be testing applets on a PC with no internet connection, I am not sure - but the option is there).
    "I know that .jar and .exe files are out because I always get errors and I do not like their interfaces. "
    What on earth are you talking about? Once the app. is on-screen, the end user would not be able to distinguish between
    1) A Jar launched using a manifest.
    2) A Jar launched using webstart.
    3) Loose class files.
    Your fixation on .bat files sounds much like the adage that 'If the only tool you have is a hammer, every job starts to look like a nail'.
    Get over them, will you? +Using .bat files is not a practical way to provide a Java app. to the end user+ (and launching an app. from a .bat looks quite crappy and 'second hand' to +this+ user).
    Edit 1:
    The instructions for running Appleteer as a Jar are further up the page, in the [Running Appleteer: Application|http://pscode.org/appleteer/#application] section.
    Edited by: AndrewThompson64 on May 19, 2009 12:06 PM

  • Create a program that recognizes the human face , any API or idea?

    Hi , I try to create a program that recognizes the human faces, taking images from a webcam , but i don´t know how do it , any API or idea?

    shays wrote:
    sabre150 wrote:
    malcolmmc wrote:
    Don't be so negative.I can never understand why negative realism should be so looked down upon. I also can't understand why verbal abuse is looked down on when it can be taken so constructively. In fact I feel the same about physical abuse, why do people shy away from it when it clearly shows how we really feel. Who needs courtesy, it doesn't do anyone any good. And lets take off the turn signal on cars, I don't need some light to tell you that I am about to cut you off. And we should definitely use the car horn more often. Any time I see an ugly car I get right behind them and lay on the horn. What's wrong with that. ; )So you want me to be unrealistic? So you want me to be upbeat about the OP's chance of creating a face recognition program? So if I see you about to jump off a cliff you want me to say - go for it, it won't hurt much, you will gain much from the experience?
    And where was this verbal abuse? In reply #4 I was sarcastic (as you are in your post) but to my mind not abusive. In reply #6 I was critical of the OP's approach but to my mind not abusive.
    Get real.

  • Is there any tablet that will allow you to use Adobe XI (the latest version)?

    Is there any tablet that will allow you to use Adobe XI (the latest version)?

    Any tablet based on Windows 8 - that is the ones using the "real" Win 8, not Win RT. Asus Yoga and that....
    Mylenium

  • HT5312 algokar Dec 26, 2013 2:11 AM Forgot Answer Questions safety tried to re-send a lot of email did not reach any messages to re-ask safety   I can not buy any program that I forgot to ask him answer safety   Please help and send me a re-liquefaction a

    Forgot Answer Questions safety tried to re-send a lot of email did not reach any messages to re-ask safety
    I can not buy any program that I forgot to ask him answer safety
    Please help and send me a re-liquefaction answer to the same email

    1)  Apple ID: All about Apple ID security questions
    If necessary
    2)  See Here... ask to speak with the Account Security Team...
    Apple ID: Contacting Apple for help with Apple ID account security
    3)  Or Email Here  >  Apple  Support  iTunes Store  Contact

  • HT1310 do you have any programs that can hold the start up manager everytime when I turn on the computer?

    Do you have any programs that can hold the start up manager everytime when I turn on the computer?

    I am not sure but if they do have the way to do it, I would like to try. But I prefered the easy way  ^_^
    I do have intel iMac and the version of OS X is 10.9.1 .
    Thank you  so much

  • I have a problem with elements 8. When ever I start a new project, the program searches for the old, latest used filmmaterial, I have used before. That means, if I use a different DVD, it take so much time, until the program starts. So how can I stopp the

    I have a problem with elements 8. When ever I start a new project, the program searches for the old, latest used filmmaterial, I have used before. That means, if I use a different DVD, it take so much time, until the program starts. So how can I stopp the automatically uploading of old material?
    Thanks

    You have 2 unreachable statements in this method.
    public static int eval(String s2, String op, String s3) {
    return lookup(s2);
    return lookup(op);
    return lookup(s3);
    } You're missing a } at the end of this method:
    public static int lookup(String s) {
        for(int k = 0; k < symbols.length; k++){
            String symbol = symbols[k];
            if(s.equals(symbol))
                return k;
        }You have some loose } and ; at the end of the file:
    public static void main(String args[])
    commandline();
    }

  • HT3702 Is there any option that if I did not like the app. Could I delete it and get my money back?

    Is there any option that if I did not like the app. Could I delete it and get my money back?

    No that is not an option.

  • HT4623 everytime I open my setting,safari or any app that needs the internet my ipad blinks out and does not allow access

    Everytime I open my setting, safari or any app that needs the internet my ipad blinks out and does not allow me access.

    1. Double-click the Home button to reveal the Task Bar
    2. Hold the Safari app down for a second or two until you see the minus sign
    3. Tap the minus sign to close Safari
    4. Re-launch and test Safari

  • Is there any calendar /contact program that has the depth of power-on Now up-to-date that will run on Lion?

    is there any calendar /contact program that has the depth of power-on Now up-to-date that will run on Lion?

    This can be done easily with ethernet.
    Please follow the instructions strictly.
    To make it easier I want you to do this overnight so you can turn off all your current connection to the internet.
    Just go to the airport fan in to the top right and turn airport off.
    Get ethernet cable and connect the laptop to the TC lan port.. ie <-> ones.
    Press and hold the reset on the TC for about 10sec. until the front led flashes rapidly.
    Open the airport utility.. go to manual setup and change the wireless to off. (so other people around you cannot join your network of one).
    Ignore all the errors.. they won't stop the backup working.
    Go to the TM and reselect the backup target disk as the TC.
    It should start after 2min and run through to completion.
    That is it.. for a backup of many GB it might take a few hours.. so make sure the laptop has power plugged in and the sleep is off.. (on early ones I think this is needed but I am a late arrival to the scene).. sleep doesn't affect later OS.

  • Installation problem any program that requires Adobe Air

    Installation problem
    I just purchased a new HP Pavilion Laptop running windows 8
    If I try to install any program that requires Adobe Air I get a failure message that says
    "Sorry an error has occured
    The applcation could not be installed because the installer file is damaged.  Try obtaining a new installer  file for the applciation author"
    I have version 14.0.0.110 of Adobe Air Installed.  
    I have installed all widows updates.
    I have removed and re installed Adobe Air but the problem persists
    Very frustrating problem, any help or direction is appreciated

    I have a similar problem and a possible workaround. Take a look at my reply: Installing air applications returns error

  • Any Report that updates the GR document number of R/3 to SRM

    Hi  Experts
    Can any one tell me is there any reoprt that updated the GR numbers of R/3 to SRM
    Because I have done the confirmations in SRM ( 4.0) it created a confirmation number but  the shoppingc art history is not updated with the GR document number .
    Similiar to like CLEAN_REQREQ_UP is there any report that updates the GR document number in the frontend. And also any table for this like BBP_DOCUMENT_TAB for watching the GR entry till the time it gets cleared.
    Please suggest
    Regards
    Srujan K

    Hi Muthu,
    Thanks for your reply.
    My concern is when I do the confirmations in the SRM the shopping cart history is updated with Confirmations number and i can see the status as approved but I am not able to find the GR number besides the confirmations number in the shopping cart history.
    ours is SRM ver 4.0. what could be the problem. when I do the GR from backend and wait for some time the GR document number is getting updated.
    But once after i do the confirmation in the frontend it should automatically post a GR is the backend and
    update the shopping cart history with GR document number which is not happening
    Do I need to check the idoc for this? if so where do i need to check in SRM or in R/3?  because this is in quality system as i doing the testing part.
    So please provide me some solution for this.
    Regards
    Srujan K

  • Why do I have to connect my ipad(4th gen) to my laptop to download apps? I downloaded some yesterday, but now they just say waiting. If I connect to ITunes, I can get them through that. I am not using cellular data, just through wifi.

    Why do I have to connect my ipad(4th gen) to my laptop to download apps? I downloaded some yesterday, but now they just say waiting. If I connect to ITunes, I can get them through that. I am not using cellular data, just through wifi.
    Any ideas greatly appreciated, it will save me a journey to the apple store

    I have now solved it. I signed out of my iTunes account and then held down both the power buttons until the apple appeared. When I signed back in it started downloading.

Maybe you are looking for

  • How to get the specified serarch term from the complete url? - Help

    Hello, I have a table in which some columns. One of the column is storing the complete url for the search given by the user. For Example: 1. I give search like "oracle" on the Google, the column will store the complete url as "http://www.google.com/s

  • BW Trials

    I need to use BW to integrate it with business objects so I decided to download SAP NetWeaver 7.01 SR1 SP3 ABAP Developer Edition from SDN I don't know if this will provide me with the access to BW from SAP NerWeaver Thanks a lot

  • Movies are disappearing from iMovie 10.0.5

    I recently downloaded a video to iMovie from my video camera.  It was there yesterday and I viewed it many times (I did not use it to create a project), but today the movie is now gone. I have searched everywhere.  In addition, the movies that ARE di

  • Transferring HFM data to Planning

    What is the best method for transferring data from (Classic) HFM to (EPMA) Planning (when both are on different environments) using a pre-configured and pre-scheduled process? From my investigations so far it seems to be to use Extended Analyltics?

  • Please Help - LR update wipes out my catalog.

    This seems an uncommon problem as I haven't found any other posts on it, but I'm having the issue that LR updates wipe out my catalog?! I've had LR4 for a couple years now. When the 4.4 update first came along awhile back, I accepted the download, an