How to encrypt jar files ? (please recommand tool to secure java class file

Dear All:
After release of our webstart application,I begin to worry about the source code -anti compiling if jars are extracted by un-knowen user.
Is there any tool to secure specified jars of a webstart application (wich is composed of lot jar files,I just only want to secure the "KEY" jar file)
I also heard that obfuscator hurts performance ,My boss does not allow such solution)
Besides,If I have to use obfuscator,Is there any setting in jnlp to noted?
Regards
john from Taiwan.

We're using Klassmaster: http://www.zelix.com/klassmaster/index.html
There are a lot of discussions about de-compiling, encrypting and so on on the web, but enctyption discussions allways end up in a catch-22 case, because you will have to supply the classloader with key to unlock your jar-files....
obfuscation is not perfect either, but it can make it really had to get anything usefull from the de-compiled code. We have not noted any preformance problems with obfuscation, only some reflection issues :-)
There are also some special compilers for java which creates linux / windows executables: http://www.excelsior-usa.com/jet.html but I have not tried this myself...
Message was edited by:
AsbjornAarrestad

Similar Messages

  • How to make Jar files in JBuilder

    I would like to know how to make jar files using JBulider. I have a problem with a project that I am working with in Swing. I have made the project on JBuilder and when I make a jar file it will not run upon clicking.
    Any body with an answer, please help
    Abhi

    It sounds like your Main-Class is not set properly in your manifest. To set your Main-Class, please follow these directions:
    http://java.sun.com/docs/books/tutorial/jar/basics/run.html

  • Help! How to create Jar file for a packaged class?

    Hi!
    I am new in jar complexities. I made a swing frame that just prompts a JOptionPane when executed. I accomplished the same using jar without packaging my class SwingTest.
    But when i package it, it doesn't run. Can any one tell me how to make jar file of packaged classes and include images in the jar files too!
    Really Thanx!

    Call the Jar from the commandline to see the exceptions thrown.
    java -jar <jarFileName> <className>

  • How to include .jar files in coldfusion code 

    To Integrate our cfm code with paypal jar files we do the
    following steps with our local coldfusion server ,and to run and
    integrate the paypal Java SDK jar files, I think we need to do the
    same process on the server, can you suggest any thing to do the
    following setting for my domain on the server, without setting the
    class path in coldfusion administrator.
    The ColdFusion application server must be configured to know
    the location of the PayPal JAR
    files, and your ColdFusion Markup (CFM) pages must be
    configured with the absolute path to
    the PayPal API certificate for the PayPal API user on whose
    behalf the calls are made.
    1. Install the PayPal Java SDK “Installing the
    SDK”.
    2. Copy a subset of the Java SDK JAR files to a location
    accessible by the ColdFusion
    application server. The JAR files are in SDK_root\lib and
    their exact names are as
    follows:
    – bcmail-jdk14-128.jar
    – bcprov-jdk14-128.jar
    – paypal_base.jar
    – paypal_stubs.jar
    sax2.jar
    – xerces.jar
    – xpp3-1.1.3.4d_b4_min.jar
    – xstream.jar-1.1.3.jar
    3. With the ColdFusion Application Server Administrator, add
    the absolute path of the
    location you determined in Step 2 to the Java and JVM
    CLASSPATH environment variable.
    4. Restart the ColdFusion Application Server.
    Suggest me how to include .jar files without setting
    classpath.

    > Suggest me how to include .jar files without setting
    classpath.
    Copy them to {CF_HOME}\lib, where {CF_HOME} is, for example,
    C:\CFusionMX7. Restart Coldfusion.

  • How TO DEPLOY JAR FILES INTO XI Server using SDM

    Hi XI Gurus,
       im working on adapter development. we have created jar file in NWDS.
       now going ahead to deploy into XI server through SDM.
       can we deploy jar files directly into xiserver through SDM. or it needs to convert to any other formate like EAR, SDA. then how would i convert to SDA.
      i any have clear idea on this... pls throw the ways how to convert........
               JAR File to EAR format
               JAR file to SDA format
               EAR file to SDA format         
       can any one explain the procedure step by step how to convert jar file into deployment archive file in order to succesfully into XI server.
              thanks  i advance. points will be rewarded.
      Regards
      Rajesh

    Hi Rajesh,
    JAR file in itself in not deployable.
    So v need to envelop this jar file into an EAR file and then v deploy this EAR file on SDM.
    Creating Jar
    Inside NWDS --> Windows --> Open perspective --> J2EE Development --> right click on ur proj --> Build EJB Archive
    Converting .EAR file to .SDA
    Converting .EAR file to .SDA
    Regards,
    Prateek

  • How to add jar files which point to project

    when i create project in jse8 i added jar files form system.
    then when i move that project to another system it is asking for jar files.it is pointing to location from where we added.
    how to make jar files available locally so that i can move anywhere.

    This might be a CRUDE solution, but it helps :-)
    1. Create a new folder (e.g. lib) under your project
    2. Copy the interested Jars to the folder. ( I am not sure how to do from within the IDE, I just copied the jars using Explorer.
    3. Right-Click on the Libraries Node to add the Jars and Add them from the folder created in step 1.
    This works... :-)

  • How to make jar files availabe for deployed EJBs

    Hi,
    I'm interested on how to make jar files availabe for deployed EJBs.
    My EJB is packed in an ear. It uses a util jar. I now just add the jar to the
    classpath, but I think that shouldn't be the way. Is there somthing in the admin
    console to make jars available or do I have to insert it in the ear file? And
    if so, where do I hve to place it?
    Thanks
    Claudia

    Put the util.jar in the ear with your ejb jars - at the same level (i.e. in
    the root) - but do not include them in the manifest.xml.
    Also each ejb jar that refers to util.jar must have util.jar on its internal
    classpath in the manifest.
    "Claudia" <[email protected]> wrote in message
    news:3d537db5$[email protected]..
    >
    Hi,
    I'm interested on how to make jar files availabe for deployed EJBs.
    My EJB is packed in an ear. It uses a util jar. I now just add the jar tothe
    classpath, but I think that shouldn't be the way. Is there somthing in theadmin
    console to make jars available or do I have to insert it in the ear file?And
    if so, where do I hve to place it?
    Thanks
    Claudia

  • How to load jar file in oracle 9i???

    Hi Friends,
    Can you help me, how to load jar file oracle 9i? I have to tried to load in 10g using loadjava command but it's not working in oracle 9i because the loadjava batch file itself is not there in oralce 9i.
    Is there any other way then pls let me know.
    - Hiren Modi

    Hi,
    I have oracle version : Release 2 (9.2.0.1.0) for Windows. I have tried to execute the loadjava command from SQL prompt but its giving as below.
    H:\>loadjava
    The system cannot find the path specified.
    Do you know why its giving error like this. I have checked in dir : C:\oracle\ora92\bin but loadjava executable file is not there in it.
    - Hiren Modi

  • How many Ways jar files from ear file on a jboss can be downloaded on clien

    Aoa
    How many Ways jar files from ear file on a jboss can be downloaded on client side
    like jnlp etc..
    Regards
    M Fazal Ur Rehman

    First, you need to be able to boot from the Recovery HD:
    Boot Using Command+R keys:
      1. Restart the computer.
      2. Immediately after the chime press and hold down the
          "COMMAND" and the "R" keys together.
      3. Release the keys when the Utilities Menu appears.
    Once at the Utilities Menu select Terminal from the Utilities menu in the screen's menubar. Now, you need to know where these new files are located. You move to any location using the 'cd' command such as cd /Users/user_name/Documents, then press RETURN. Replace user_name with your actual username. Next you need to do a directory listing to see if your files are in that location, Documents. Use ls -al to do a directory listing of the files and folders in Documents. If you find your new files there, then connect an external drive or flash drive. You will need to know the name you have assigned to this drive. It needs to be already formatted. Copy your files using cp /Documents/filename /Volumes/volname/filename. Replace volname and filename with those that apply. Press RETURN.
    Or take it to your local Apple Store and see if they can do the chore for you.

  • How to run .jar on linux & how to create .jar file using java?

    hi, may i know how to run .jar on linux & how to create .jar file using java? Can u provide the steps on doing it.
    thanks in advance.

    Look at the manual page for jar:
    # man jar
    Also you can run them by doing:
    # java -jar Prog.jar

  • How to make jar file for this compilation method ?

    can any one tell me how to make jar file for this compilation
    D:\java\browser\IEInJava>javac -classpath jdic.jar;. IEInJava.java
    D:\java\browser\IEInJava>java -cp jdic.jar;. IEInJava
    *this is a compile code:-*
    D:\java\browser\IEInJava>javac -classpath jdic.jar;. IEInJava.java
    *and this is a run code:-*
    D:\java\browser\IEInJava>java -cp jdic.jar;. IEInJavanow how make JAR file ?

    Assuming IEInJava only uses classes inside the jdic jar, this is one way. D:\java\browser\IEInJava> jar cf yourjar.jar IEInJava.classThen to run it you would use D:\java\browser\IEInJava> java -cp jdic.jar;yourjar.jar IEInJavaAnother way would use the jar manifest file to specify the Main-Class and Class-Path.

  • XJC Tool - For building Java classes from Schema

    Hi all,
    I am using XJC tool for Building java classes from Schema.
    Can we have any other tool for generating java classes from Schema?
    Thanks in advance,
    typurohit

    Solved my own problem and forgot to post the answer: the "xsd:import" is also considered as a targetNamespace, so each xsd:import needs a package specified as well when using oracg. It would be helpful if the Oracle documentation had stated that, but it does not point this out.

  • How to run jar files on pocket pc

    hi,
    I have developed a .jar file on my desktop using jdk 1.4. Now i wnat to put that one on my pocket pc(compaq iPAQ)and make it run.What are the prerequisites i need and how can i get them.Please let me know in steps as i dont know any thing about pocket pc

    Hi,
    following steps are to be done:
    1. First of all, you must download the PersonalJava Compatibility classes, that are to be used in your classpath when compiling your application. You can do that under the following url:
    http://java.sun.com/products/personaljava/pj-cc.html
    2. PersonalJava classes are based on JDK 1.1.x and therefore some classes in JDK 1.4 are not compatible for our purpose. Download the PersonalJava Emulation Environment to be able to test on your desktop before running on your Pocket PC. (Another tool of interest here is JavaCheck, which allows you to check if your code is PersonalJava compatible) You find links to downloads under:
    http://wwws.sun.com/software/communitysource/personaljava/download.html
    3. Now you are ready to install a JVM on your PocketPC. You will surely find one on your Compaq-CD (JeodeVM).
    4. Write a .lnk file to be able to execute your app by only clicking once in a file on your Pocket PC. Example: your jar file is named demo.jar and is placed on your PDA under "My Documents". You main class within the JAR fie is called MyDemo. Now here is the content for the corresponding example.lnk:
    18#"\Windows\evm.exe" -cp "\My Documents\demo.jar" MyDemo
    Place the .lnk file whereever you want on your PDA (observe that we use absolute paths).
    Hope that helps.
    Have a nice day.

  • How to make .jar file for a multiple class program

    I have a code for a chat room that contains two folders , one for Server and one for Client
    What I need is to create a jar file for the server and a jar file for the clients
    but here the first problem , I have a file that named (SocketMessengerConstants.class) that is located outside the two folders and is being read by the two projects .
    I mean the server uses it while running and the client uses it too .
    the second problem is : I don't know how to create a jar file at all !
    please tell me how to do it in detail
    Thank you

    ChuckBing wrote:[Packaging Programs in JAR Files|http://java.sun.com/docs/books/tutorial/deployment/jar/index.html]
    I tried to read this tutorials before I come here but I couldn't understand it
    can you please tell me a specific steps to follow instead of the explaining .. because I understand the explanation but I can't apply it

  • How to open .jar files in nokia 6300

    hi,
    Recntly i downloaded few games to my nokia 6300, its in the jar format, when i tried to open it, i get a promt as file format not supported, Please guide how to access n open a .jar file in my mobile ? ? ? ?
    keer

    you can try to install it via pc suite.
    .jar file usually come along with a .jad file which describe the installation info. If the phone support java application, the installation should start when the download is complete.
    What's the law of the jungle?

Maybe you are looking for

  • Kann Adobe Photoshop Lightroom 4  nicht öffnen

    Hallo zusammen, kann das Programm nicht öffnen und den Cod eingeben damit ich es benutzen kann. Kann mir jemand helfen? Freundliche Grüsse jpm95

  • Itunes wont launch, though it says its running

    So heres the deal, got a new comp a few weeks ago and installed itunes on it. I'm running windows XP pro (same as on old one) and when I try to run itunes it wont launch. It says its running in my task manager though. I've tried reinstalling it, but

  • Entering textual data in Hyperion Financial Reports on client side

    Our comapny is using Financial Reporting studio tool for reports. Reports are made by the Hyperion administrator and users only can view/read reports through Workspace service. Currently we need that users can put some text into the reports themselve

  • How to map this condition in XI

    Hi all, Please can any one tell how to proceed this condition in XI map : Please any one provide some solution, bcoz its hamppering my development. EITHER(                                                    EXTRACT(                                   

  • HT1657 I rented a movie, it was downloading slow , I left it (it was indicating a 2 hour time for the loading) .

    So when I next look for the movie I rented , there was no sign if it in the movie download section. I looked in "Account" section and saw where it existed under "recent" . So , I don't see where I can watch it. I am at this time using my pc laptop, I