Hide classes while using jar tool.

I have a set of API classes which I need to ship using jar.
But even if I use jar utility to archive the classes, one can easily extract and decompile the classes.
Is there any way this can be avoided?
Regards

Not really. You can use an obfuscator to make the code harder to decompile in a way that's easy to read. I'm told some obfuscators can generate class file code that breaks decompilers, but the code could still be disassembled or the next version of decompilers will be able to defeat it.
By the way, this is an issue with any language.

Similar Messages

  • Problem with InDesign CC redrawing the screen too slow while using Zoom tool

    Hello. I got a problem with InDesign CC redrawing the screen too slow while using Zoom tool. Sometimes it takes more than a secong to zoom in or out. However InDesign CS6, Photoshop CC, Illustrator CC works just fine. What could be the problem, videocard or something else? Below is my PC configuration: OS Windows 8 Pro (x64); processor Intel Core i7 2600k CPU 3,40GHz; video adapter NVIDIA GeForse GTS 450; monitor NEC PA271W (2560x1440).

    Yes it’s a bug. The trick is to select the tool and then left click the photo information strip and hold for a few seconds until you see the windows bar at the top of the screen (not responding)
    The lasso tool should then work normally.

  • I have noticed while using pen tool that I have to wait before the small square appears.

    I have noticed while using pen tool that I have to wait before the small square appears. Tenth of a second, but this is disturbing on a daily basis. Is there any solution?

    It seems that in your version of InDesign, the image preview is grayed out while you are editing the picture frame with the pen tool. Not the case with my version of CS5 for macintosh.
    But I think this is a bad way to work. If you want the path only to affect text wrap, then edit the text wrap path. This is more versatile than editing the frame because you can have text appear over part of the image visible below text. This of a bird in flight in a light sky. The text wrap can surround the bird so text can appear in the sky. Your method does not permit this.
    If you are editing the frame’s path because you also want to crop the image, then you’d be better off doing that in Photoshop by adding either a clipping path in the Paths panel or a mask in the Layers panel. If it’s an Illustrator file then add a clipping mask.
    I find InDesign’s pen tool and general path editing to be significantly inferior to Illustrator’s. If I need to have an editable path in InDesign that I would draw much more easily in Illustrator, then I do that and copy the path back. It comes in as a simple unassigned frame, which I can then convert to a picture frame or a text frame and copy/paste the contents into the new frame. That may suit you if the above suggestions are inappropriate.

  • Error while using .jar file instead of class file.

    Hello friends,
    I created a java class which are referred and called from other jsp\xml and java files. I compiled this java class and everything is working properly. However, I do not want to use class files but want to use jar files instead. So, I created a jar file of this class file by using the command "jar -cvf jarfilename.jar".I kept the jar file in its respective folder .Also, I removed the class file from its path, just to see that the jar file will work automatically.
    Unfortunately, I am getting an error:
    java.lang.RuntimeException: Component.createComponent(...) Component class not found: <java class path>. I also tried giving the path of this jar file in the classpath. This also does not seem working.
    How to solve this problem?
    Thanks,
    Ranjith M.V
    Edited by: RanjithM.V on May 11, 2008 10:34 PM

    You probably populated the jar file incorrectly.
    A common mistake is to include the path that you had on the classpath, in the jar file.
    So a person will have a classpath like this: /foo/
    And a class in a package bar, like this:
    package bar;So that other classes would include the file like this:
    import bar.TheClass;And the class file is on the filesystem like this:
    .../foo/bar/TheClass.classThen they'll create the jar file including the foo directory, so if they list the jar's contents, they'll see the above (/foo/bar/TheClass.class). But this is wrong. It should start off so that the jar entries start with the top-level package names (like /bar/TheClass.class).
    Maybe you've done that.

  • While using marquee tool to cut and past section to new layer, outline stays transparent

    Hello,
    I am testing the trial version of Photoshop CS5.5 and I am experiencing a weird issue while using the marquee tool while selecting a portion of an image, cutting that section and pasting it to a new layer.
    First off I am running Windows 7 Ultimate 64 bit, 2.8Ghz Dual Core Processor, 4 Gigs Memory, 2 Gig Video card and current on updates with a fresh vanilla install of CS5.5.  Not filters or plugin installed.
    Step by step of issue is as follows,
    I take an image on layer 1 and while using the marquee tool select and area on that image.  I want to cut and Past In Place that selection on a new layer, layer 3. 
    This will allow me to insert another layer, layer 2, in between layer 1 and layer 3 and show what ever I place on layer 2 but still have a complete background if the image does not fill the entire transparent section.
    A good example is a wanted poster.  You have your picture frame with the Wanted letters and reward.  In the center you have a transparent square.  In the back you have a black background.  In between the frame and the background you place a face.  The face will not fill the entire sqaure so you will see some of the black back ground.
    Now the problem appears to be that the dotted line of the marquee selection makes so you can see your selection stays transparent or deletes the ares directly unter it when you cut and past to a new layer.  The transparent outline looks to be the same size of the dotted line when that selection is selected.  I have looked and searched for this promblem and resolution but can not see one. 
    The picture below is the result after I deselect the area.  You can see just above another section that I tried to cover up but did not get it all.  
    This is driving me nuts and I just can not figure out what is causing this behavior.  If I try and stretch the section, it skews the contents out of proportion.
    An suggestions or information would be greatly appreciated!
                                    Marquee Selection, Animated Lines                                                                Cut And Past In Place And Selection Deselected
    Thanks

    Instead of cut, one way is to duplicate the layer and add a layer mask from the selection. Alt click on the layer mask icon at the bottom of the layers panel to add a Layer Mask>Hide Selection.
    Then you can put a layer in the middle.
    The reason your seeing what's in your screenshot is the selection is anti-aliased,

  • Could not find Main Class while executing JAR

    Hello all,
    I am having a simple Jar file that contains one java class that merely displays a window. I am using NetBeans IDE to create the JAR file. When i execute this JAR file by double clicking on the file, it works fine on the machine. However, if i try to execute this same file on any other windows computer, it gives an error "Could not find the main class. Program will exit."
    In other words, the JAR file is only working on the computer that has NetBeans and JDK installed on. Not on any other machine. Although the other machines have the JAVA Virtual Machine installed.
    I would appreciated any help on this topic.

    I had the same problem (i.e. Message-Box with "Could not find the main class. Program will exit.")
    After insuring that the manifest contained a Main-Class: argument and that the argument pointed to the right class, I started the jar via java -jar myjar.jar and read the stacktrace, which is much better than the popup-window.
    In my case the error was, that the Main-Class could not be loaded due to another referenced class, which was not on the classpath. (i.e. it was not in the same jar-File and the manifest didn't include a Class-Path: argument.)
    After adding the correct Class-Path: argument in the manifest, the problem went away.
    I now have the following setup:
    myjar.jar and somethirdparty.jar in the same directory.
    myjar.jar contains a manifest which includes the lines
    Class-Path: somethirdparty.jar
    Main-Class: my.package.and.MainClassafter the normal Manifest-header.

  • Error while using Test tool -WE19

    Hi All,
    When I am trying to use Test tool for IDOC processing ( WE19) in R/3 System for any  Basic Type ,for example: PEXR2002 and select the Standard Outbound Processing, I am getting the message as “Port does not exist in the table of port descriptions.”
    Is this error something where port configuration is missing or some standard error.
    Please provide your inputs.
    Regards
    Pragya Dubey

    Hello Dubey,
    Check it once u r configaration..
    Step by Step Procedure..
    Create the tRFC port definition
    Refer to the following steps to create the tRFC port definition.
    1. SAP transaction code: WE21 – Type /nwe21 on the SAP input window and press the
    Enter key.
    2. Highlight Transactional RFC.
    3. Click the Port pull-down menu, which is located in the upper left corner of the SAP
    screen. Click Create (or press F7).
    4. Select the own port name radio button.
    5. Type a port name such as ALEport. If you use a port name different from this, update
    Table 2 at the beginning of this chapter for future reference.
    6. Click the green check icon to continue.
    7. Fill in the description field with tRFC port (You are free to write anything you want here).
    8. Fill in the RFC destination field with ALESERVER. This must match the name you used on the previous RFC Destination step. If the name you enter here does not exist, the
    system will flag an error and you will need to provide an existing RFC destination.
    9. Make sure that IDoc record types SAP Release 4.x is selected.
    10. Click on save.
    Thanks,
    Satya Kumar
    Reward points if it is useful..

  • How do i set up to use the spacebar to navigate within an image while using another tool

    when using a tool (such as eraser, clone etc.) i used to be able to navigate within an image by using the spacebar. for some reason, this option is not working any longer and i'd like to know how to set it up again.

    You don't need the background image -- you supply THAT in FCPX. Just work the text effect and publish it.

  • Step backward hotkey not working while using brush tool? - Photoshop CC 2014

    Hi,
    I'm using Photoshop CC 2014 in Mavericks. I've tried using the step backward hotkey (command+option+z) and it seems to work fine. Then I use the brush tool and it stops working until I switch to another tool. I'm a digital artist, so I move very quickly while painting, and switching out of the brush tool to step backward on something slows me down terribly. I'll switch and the hotkey works as intended. I've tried changing it to a different set of keys (for example command+z) with the same results. Is this a bug or a feature?

    Usually it turns out for tablets that aren't mainstream that they just haven't updated their drivers to work with photoshop cc.
    For example, most people don't have problems with wacom tablets in photoshop cc.
    One other thing that could possibly be the cause besides the tablet driver is your graphics card driver.
    If in photoshop cc you go to Edit>Preferences>Performance and turn off Use Graphics Processor and then restart photoshop cc, does that make a difference?
    If it does then perhaps your graphics card driver needs to be updated from the maker of the card.
    (not through windows updates)

  • Exporting using JAR tool

    Hi,
    I've created a Java Project in Eclipse, wich makes use of several external classes in the classpath. When viewing in the applet viewer, it works without trouble.
    But now I want to export it and test it from (a simple) html site. It gives a "ClassNotFoundException" by every included class, probably because the classpath is not included when exporting from eclipse.
    So I thought, no problem. I'll export it using the jar command in java. This is the command I use (when having the DOS cursor in the folder where the .class files and packages are stored) :
    jar cfm my_unsigned.jar manifest.txt applet downloadManager extra uploadManager
    <html>
    <head><title>Videobank</title></head>
    <body>
    <applet archive="my_signed.jar" width="300" height="200" code="applet.Uploader.class">
    </applet>
    </body>
    </html>manifest.txt is off couse my manifest, applet downloadManager extra and uploadManager are the folders where the classes are in. "Jar"-ing and signing (after I jarred the files, i sign them, and call the signed file my_signed.jar) doesn't give any troubles, but when I try to run this one, it al ready gives a "ClassNotFoundException" because the Uploader class is not found (the one I'm trying to open using the applet tag.)
    Does anyone know what I'm doing wrong?
    Jan
    Edited by: Zwaaikom on Oct 1, 2008 11:28 PM
    Edited by: Zwaaikom on Oct 2, 2008 12:26 AM

    Post the content of the manifest file AND the whole error message please.
    Take a look at the Java tutorial jar lesson here and especially the entry point setting here .

  • Error while using kinit tool

    I am using jdk1.6.0_12
    When issuing the following command with right windows password I get the below error:
    kinit username@REALM
    Exception: krb_error 14 KDC has no support for encryption type (14) KDC has no s
    upport for encryption type
    KrbException: KDC has no support for encryption type (14)
    at sun.security.krb5.KrbAsRep.<init>(KrbAsRep.java:66)
    at sun.security.krb5.KrbAsReq.getReply(KrbAsReq.java:449)
    at sun.security.krb5.KrbAsReq.getReply(KrbAsReq.java:407)
    at sun.security.krb5.internal.tools.Kinit.sendASRequest(Kinit.java:308)
    at sun.security.krb5.internal.tools.Kinit.<init>(Kinit.java:257)
    at sun.security.krb5.internal.tools.Kinit.main(Kinit.java:107)
    Caused by: KrbException: Identifier doesn't match expected value (906)
    at sun.security.krb5.internal.KDCRep.init(KDCRep.java:133)
    at sun.security.krb5.internal.ASRep.init(ASRep.java:58)
    at sun.security.krb5.internal.ASRep.<init>(ASRep.java:53)
    at sun.security.krb5.KrbAsRep.<init>(KrbAsRep.java:50)
    ... 5 more
    When typing wrong password I get the below error:
    Exception: krb_error 24 Pre-authentication information was invalid (24) Pre-auth
    entication information was invalid
    KrbException: Pre-authentication information was invalid (24)
    at sun.security.krb5.KrbAsRep.<init>(KrbAsRep.java:66)
    at sun.security.krb5.KrbAsReq.getReply(KrbAsReq.java:449)
    at sun.security.krb5.KrbAsReq.getReply(KrbAsReq.java:407)
    at sun.security.krb5.internal.tools.Kinit.sendASRequest(Kinit.java:308)
    at sun.security.krb5.internal.tools.Kinit.<init>(Kinit.java:257)
    at sun.security.krb5.internal.tools.Kinit.main(Kinit.java:107)
    Caused by: KrbException: Identifier doesn't match expected value (906)
    at sun.security.krb5.internal.KDCRep.init(KDCRep.java:133)
    at sun.security.krb5.internal.ASRep.init(ASRep.java:58)
    at sun.security.krb5.internal.ASRep.<init>(ASRep.java:53)
    at sun.security.krb5.KrbAsRep.<init>(KrbAsRep.java:50)
    ... 5 more
    The above difference indicates that my krb5.ini setting is correct.
    krb5.ini content
    [libdefaults]
    default_realm = DOMIAN-NAME
    [realms]
    DOMAIN-NAME = {
    kdc = 192.168.168.0
    admin_server = 192.168.168.0
    kpasswd_server = 192.168.168.0
    [logging]
    default = CONSOLE
    While googling it seems I am missing some encryption algorithm setting.
    Can you guys help to pass through this issue?
    Thanks,
    Venkat

    After the below change encryption issue doesn't occur anymore.
    open Active Directory Users and Computers, right-click the user account, select Properties, click Account tab, select the check box Use DES encryption types for this account under Account options.
    Now new error is occurring:_
    Exception: krb_error 41 Message stream modified (41) Message stream modified
    KrbException: Message stream modified (41)
    at sun.security.krb5.KrbKdcRep.check(KrbKdcRep.java:53)
    at sun.security.krb5.KrbAsRep.<init>(KrbAsRep.java:96)
    at sun.security.krb5.KrbAsReq.getReply(KrbAsReq.java:449)
    at sun.security.krb5.KrbAsReq.getReply(KrbAsReq.java:407)
    at sun.security.krb5.internal.tools.Kinit.sendASRequest(Kinit.java:316)
    at sun.security.krb5.internal.tools.Kinit.<init>(Kinit.java:257)
    at sun.security.krb5.internal.tools.Kinit.main(Kinit.java:107)
    Any help is appreciated. Thanks.

  • Aperture shuts down while using crop tool

    My wife is having problem with Aperture. Narrowed down to that it occurs when cropping a photo. Aperture just shuts down and asks if you want a restart. If restart or say no and launch, it recycles to shut down again. If you are fast and change projects as it starts, it will open and operate OK until you go back to that project that caused the shut down. It is not consistent to only one project (equal opportunity) so it appears it has something to do with the cropping tool. Work around (getting old)... delete image that was cropped from library or rebuild all from vault. Neither causes extended remediation.
    Have run disk warrior. Asking before I uninstall and reinstall Aperture.
    Thanks

    I use Aperture several hours each day, and Aperture would sometimes crash while I'm trying to crop and also browsing through images. When this happens, I usually have to restart my machine to get Aperture working again without crashing, I've yet to find any permanent solution.
    I think it happens more often when I'm working with large files (the images that have been edited in Photoshop and saved back to Aperture, 72MP files), but I have seen it happen to my plain RAW images as well (12MP files), but it doesn't happen as often as it would with the Photoshop files.
    I really hope they resolve these issues soon...

  • Mouse randomly jumping while using most tools in Photoshop CS4 and CS5.

    Hi,
    I have recently been using my photoshop cs5 when all of a sudden the mouse has began to jump and move randomly when I am using some of the tools. For example, when I use the eraser tool it will not always, but frequently erase something in a random position on the page, and this is becoming a pain as I can be editing something zoomed right in and zoom out to find random areas of my drawing gone which can be very frustrating, but this problem is not restricted to the eraser tool, when I transform shapes with the transform tool occassional it will stretch the shape 4000pixels wide when I only go to increase it by 5, or when i try to move it, it just disappears and I find it outside of the drawing canvas.
    This is really causing alot of issues for me, so how can I resolve this issue?
    Thanks,
    Ben.

    Ok I am going to toss some thing out, they may sound silly or redundant but these are things we simply do not know that could cause issues.
    What type of mouse pad do you have?
    Highly reflective or worn smooth mouse pads or using desktop surfaces rather then a mouse pad can cause light distortion and cause jumppy behavior uneven survaces or highly reflective survfaces are bad too. the same can be said about overly light absorbent surfaces. as they can spread the light. Like if you are like me and have a wide arm cloth chair, you still need a mouse pad on the arm of the chair or your mouse pointer will jump as it travels accross the uneven surface.
    Do you have any other usb devices installed?
    Are you plugged into a USB hub and not the computer directly?
    Is it possable its your keyboard thats causing the issue. Unplug the KB then see if the mouse still jumps.
    let me know if any of this helpped.

  • How to register for class while using ActiveX

    Hi
    I am trying to use ActiveX to send an email with Microsoft Outlook. I have found an example Vi. but i was getting an error with code "-2147221164" (Class not registered in Outlook_Mail-1.vi). How to register for that class and what are the files required for that registration.
    Attachments:
    Outlook_Mail-1.vi ‏31 KB

    Here is a picture of the Photosmart eStation:
    Don't forgot to say thanks by giving "Kudos" if I helped solve your problem.
    When a solution is found please mark the post that solves your issue.
    Every problem has a solution!

  • Need clarification while using WE19 tool

    Dear All,
    I have gone through the forums and Blogs but still I am not convinced and need your inputs.
    Scenario is IDOC to File .
    In we19,We have Sender and Recipient  information to be filled in EDIDC record.
    1.The sender Partner # and Partner Type is mandatory. Why sender port information is not mandatory? If not mandatory will the system take any default value?
    2.If it takes the default value,the Port information will be taken from R/3 or XI system?
    2. In Receiver Information for the  Port, Partner# and Partner Type, We need to give the configured names from  R/3 or XI system and need clarifiaction for the same for Sender Information also.
    Please provide your inputs.
    Regards
    B.Dheepa

    Hi Dheepa,
    1. I wanted to know how the system recognizes and from where it is taking the information even though I did not configure the port.
    > It will use the existing default port, to send the information to XI. You need to specify the receiver port while sedning the IDOC, from that system identifies the default sender port and process the IDOC to push to XI.
    2. For maintaining the Prot definations, its standard format followed as SAP <SID>, for e.g. IDE800 , this indicates the port is of  SAP landscape IDE and the client is 800. If the organization have multiple SAP landscapes this convention is easy to maintain.
    You use the port maintenance in the IDoc adapter to establish an RFC connection to the system that contains the metadata that the IDoc adapter requires to convert IDocs (Intermediate Documents) that have been sent to it to IDoc XML format. This system is defined by the sender port and the client in the IDoc control record. It is either the sender SAP system or an SAP reference system.
    You will get all your calrifications at
    http://help.sap.com/saphelp_nw04/helpdata/en/43/3464ec8b631c1ce10000000a1553f7/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/dc/6b80f643d711d1893e0000e8323c4f/frameset.htm
    Thanks
    Swarup

Maybe you are looking for

  • Multiple cloud with one iTunes account

    My wife and I share an iTunes account so our iPhones just show up as separate devices.  Can we set up two iCloud accounts withing this one iTunes account so that we can back up our iPhones to the cloud independent of each other?

  • I got a replacement iPhone 4s, and now it keeps losing service

    My last phone dropped in the toilet, so I got a replacement phone cause i had apple care. When I got this phone i was having problems, but i got help and i fixed it, but now.... It keeps losing service ALL THE TIME... it goes from Verizon 3g to no ba

  • Display style of JTree

    Can we display JTree in top-down form rather than left-right (explorer) form?

  • MAX memory 8GB

    Hi i have one problem i canot understand why compay HP block support max memory for notebook. Configuration write max 8GB but hardware support 16GB. Chipset support 16GB processors support 16GB and mother board support 16GB. But BIOS BLOCK max memory

  • HT203128 how to download song in itune

    hi