Urgent : how to make customised jre  by removing unwanted classes

dear all,
We have developed a application in java , we want to provide this as a
downloadable application so we want it to be of less size.To run this java application we need jre.As the jre size is more and we are not using most of the classes , we want to customise it as per our requirement and bundle with our application.
We will be very happy if any body can suggest a solution for this problem.
regards
ramachandrarao

legally, you cannot distribute a custom JRE without permission from Sun. You have to talk to their legal department to do that. It's all in the license for the JRE.

Similar Messages

  • Very URGENT -- How to make keyboard print

    This is very urgent. How to make the keyboard print?

    Here is the code. It is supposed to make the keyboard type something.
    This is URGENT.
    public class KeyBoarder
         private int keyPressed;
         public KeyBoarder()
              System.out.println("Welcome to keyboard");
         private void print()
              System.out.println("Keyboarder has printed");
         public static void main(String args[])
              KeyBoarder board = new KeyBoarder();
              board.print();

  • Urgent: how to make an iView show as the initial page

    A user in my team has only one role.
    Under this role, there is a folder.
    In the folder , there are some iViews.
    We want one iView to show up as the initial page immediately after
    the user logs into EP.
    We have tried to set "entry point", sort priority but the user still has to click
    the folder before the iView showing up.
    Is there anyway to avoid the click? (claim: the folder must be there and
    cannot be removed in order to achieve this).
    Points guaranteed. Thx!

    Greg,
    Make the Entry point of the Role as NO. Make the Folder as an Entry Point (select the Folder under the Role - click properties button - then set Entry Point=Yes there). This way the Folder will be shown as the top level tab. Then put your desired iView at the first position under the folder. So you are done. Also you can set the property Sort Priority=1 or something small for the Folder. So that that folder and in turn the iView will always be the first page for your portal.
    Regards,
    Shubho

  • Urgent: How to make transaction iVews check the connetion all time

    Hi!
    We have an EP7 connected to an ECC6.
    We find out the EP7's transaction iViews can communicate with the ECC6
    even the connection between them is cut off after the user logged into EP7.
    So seems EP7 session remembers the connection.
    We do not want this feature.
    Please advise how to do? Points guaranteed. Thanks!

    Check these two properties for your Transaction iView
    "Allow Client-Side Caching" set it to NO
    "Cache Level" set as None
    see if the connectivity is still held intact if connection broken.
    Regards,
    Shubhadip

  • In APP how to make customisation so that the APP pay only one currency invo

    Hi,
    Please let me know the settings:
    for  App has to pay only one currency invoices.
    ex. we have invoicess with 3 currencies like INR , USD and GBP  but the APP has to pay only GBP invoices.
    local currency is INR.
    please let me know the customisation for the same.
    Thanks
    Jagadeesh

    Hi,
    In T Code F110 , go to free selection screen,  select the "field name" - Currency (BKPF-WAERS) from "Document" and in the Values, you can enter the INR or any one or multiple currencies by putting , for seperator. Now you can run the program asusual.
    In this case, documents will be selected for payment only your currency mentioned in the field "Values"
    There is an exclude check box also.  This excludes the value mentioned over there.  In your case, do not check this box.
    Hope it helps
    Saravanan.A

  • URGENT:how to make adjustments while upgrading from 4.6c to ECC6.0

    Hi experts,
    I have few queries regarding technical upgrade project from 4.6c to ECC6.0 ; Can anyone clarify t he following doubts.
    After completion of SPDD & SPAU adjustments,we are adjusting custom objects to unicode compatible. while doing this
    1. How to take care about SCRIPTS,REPORT WRITERS  ABAPQUERIES and SAPQUERIES
    2. Can we start testing standard Tcodes after completion of SPDD & SPAU adjustments.
    thanks in advance.
    helpful answers will be rewarded.
    BR,
    Sastry.
    Edited by: prssastry on May 24, 2008 10:03 AM

    Thanks Geetha,
    Can anybody tell me the ABAPer role in the technical upgrade .
    After completion of SPDD & SPAU adjustments,we are adjusting custom objects to unicode compatible. while doing this
    1. How to take care about SCRIPTS,REPORT WRITERS ABAPQUERIES and SAPQUERIES
    2. Can we start testing standard Tcodes after completion of SPDD & SPAU adjustments.
    thanks in advance.
    helpful answers will be rewarded.
    sastry.

  • (urgent) How to make sumarize query against XMLType?

    Hello,
    i have xml document like this
    <List>
    <Item>
    <A>10</A>
    <B>554</B>
    <C>25.5.2005</C>
    </Item>
    <Item>
    <A>20</A>
    <B>49</B>
    <C>26.5.2005</C>
    </Item>
    <Item>
    <A>30</A>
    <B>184</B>
    <C>27.5.2005</C>
    </Item>
    </List>
    in xmltype variable (not table column) and i need e.g. sum (or count or something like that) values in xpath /List/Item/B in one document.
    Is there some quick and elegant way to do this?
    Thanks for quick help.

    Maybe the below will help.
    Did you look at building a view over the xmltype extracting the values into a relational type view, then using the view to sum up the values.
    Jonthan Gennick has an article on the Oracle OTN website with the below code.
    CREATE VIEW cd_master (Title, Artist, Website, Description) AS
    SELECT extractValue(value(x),'/CD/Title'),
    extractValue(value(x),'/CD/Artist'),
    extractValue(value(x),'/CD/Website'),
    extractValue(value(x),'/CD/Description')
    FROM CD331_TAB x;
    CREATE INDEX by_artist ON CD331_TAB x (
    extractValue(value(x),'/CD/Artist'));
    ANALYZE TABLE cd331_tab COMPUTE STATISTICS FOR TABLE;
    ANALYZE INDEX by_artist COMPUTE STATISTICS;

  • How to make sure 2 Variables of same class do not share internal variables?

    K, I am having trouble making a new instance of an object.
    I have a class call File_Class that have a public static attribute call File_Name.
    Now in another class, I have a linkedlist and each one of the element is supposely a File_Class object. The problem that I am having now is that whenever I create a new File_Class (File_Class New_Class = new File_Class (File_Name)), i am actually getting a reference to the old one so that anything that I change reflects on every element of my link list.
    My question now is
    1. how exactly do i enforce that a new instance of the object (File_Class) is created so i can make sure every element in my linked list is distinct.
    2. why is this happening at all
    thanks for your help in advance.
    Hung-Hsun Su

    Here is a simple example that i wrote just to demonstrate the point. it seems that i always get the same object no matter what. Thanks again.
    Result:
    AFTER 0 1 2
    1 2
    AFTER 1 10 20
    10 20
    10 20
    AFTER 2 99 999
    99 999
    99 999
    99 999
    Code:
    class T
              public static int A;
              public static int B;
    class Test
              static T TA[] = new T[5];
              private static void Set_Value (int i, int A, int B)
                        T t1 = new T ();
                        t1.A = A;
                        t1.B = B;
                        TA[i] = t1;
              private static void Print (int i)
                        for (int k = 0; k <= i; k++)
                                  System.out.println (TA[k].A + " " + TA[k].B);
              public static void main (String args[])
                        System.out.println ("AFTER 0 1 2");
                        Set_Value (0, 1, 2);
                        Print (0);
                        System.out.println ("AFTER 1 10 20");
                        Set_Value (1, 10, 20);
                        Print (1);
                        System.out.println ("AFTER 2 99 999");
                        Set_Value (2, 99, 999);
                        Print (2);
         }

  • 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 make a .exe from a java .class

    Hi All,
    I want to write a scheduler program in Java and that class file I want to install as a service in windows scheduler. So for that purposr I need an executale right?
    How can I convert a java class to a .exe program.
    Thanks and Regards
    KK

    No need to create exe file. U can covert into .bat file. With help of windows scheduler u can run the file as per ur required.

  • How to make a callback from a separate class

    Hi guys!
    I've got a class that I'm trying to instantiate in downloadButton, which handles a bunch of NSURLConnection/authentication stuff, and I want it to make a callback to setWebView after it's finished. I don't think I can use the delegates built into NSURLConnection because then all the events will have to be handled by my base class, and I really just want to be notified when the connection and download has been completed and be given back the saved filename.
    Thanks!
    #import "Controller.h"
    #import "fetch.h"
    @implementation Controller
    - (IBAction)downloadButton {
    fetch *downloader = \[\[fetch alloc\] init\];
    \[downloader setAuth:Username.text password:Password.text saveName:@"test.html"\];
    \[downloader download:@"http://google.com"\];
    -(void)setWebView:(NSString *)file
    }

    True, that works. I thought there might be a way to do it with a pointer to the controller function but this works great. Thanks a lot!

  • How to make Rules work to delete unwanted emails on 10.5.8?

    I tried to delete the rules and reinstating them but still, I get the emails.  How can I stop them as they're all from the same person/company?  Any suggestions?  Please?

    Marie, Bounce doesn't work, in fact it let's them know it's a working address for somebody on the other end.
    You might also start training Mail to learn it's Junk, by marking it so in Mail rather than moving it, & of course enabling it in Preferences>Junk Mail.
    Not certain, but this can fix myriad Mail problems...
    Safe Boot from the HD, (holding Shift key down at bootup),  it will try to repair your Disk Directory while the spinning radian is happening, so let it go, run Disk Utility in Applications>Utilities, then highlight your drive, click on Repair Permissions, then move this folder & file to the Desktop.
    Move this Folder to the Desktop...
    /Users/YourUserName/Library/Caches/Mail/
    Move this file to the Desktop...
    /Users/YourUserName/Library/Mail/Envelope Index
    Reboot.
    If that doesn't do it and you can afford to redo all your Rules, try these & reboot...
    /Users/YourUserName/Library/Mail/MessageRules.plist
    /Users/YourUserName/Library/Mail/MessageRules.plist.backup
    Note, in 10.5 & up /Users/YourUserName/Library/Caches/Mail/ may or may not exist.

  • How to make an Object common to all classes

    I am building an application.
    I need that one object (defined in the main class) be accesible to all other objects (classes). Also I need that any other object can change it.
    How can I do that without passing the object's reference around? Actually I pass the reference through a SET method in each object. This is tedious!
    Thanks a lot :)
    iCamps

    You could also create the Object using the singleton pattern. This way there is only one instance of the object, and every object that access it gets a reference to the same object.
    public class SingletonObject {
        private SingletonObject instance;
        static {
            instance = new SingletonObject();
        public SingletonObject getInstance() {
            return instance;
        private SingletonObject() {
            // Constructor
        public synchronized method1() {}
        public synchronized method2() {}
    }Then in your code access the SingletonObject like below. You can put a reference to the object in your constructor for each object that uses the SingletonObject, or jsut access it in the neccessary methods with SingletonObject.getInstance().
    public class YourClass {
        public void someMethod() {
            SingletonObject so = SingletonObject.getInstance();
            so.method1();
            so.method2();
    }

  • How to make a 2nd player in this racing game.

    I'm using this tutorial to learn how to make games in Flash for a class, but it doesn't say how to make a 2nd player.
    If somebody can show me the code to make alternative controls (W,S,A,D) for a 2nd car that'd be fantastic!
    Thanks a lot,
    Dd
    http://www.emanueleferonato.com/2007/05/15/create-a-flash-racing-game-tutorial/

    if (_root["car"+who].code == "player") {           
    if (Key.isDown(Key.DOWN)) {
                   this["speed"+who] -= _root.backSpeed;
              //steer left - well, we could simply add or subtract a fixed angle (in degrees) to/from the car's rotation, but that's not good enough. In order to simulate a natural movement, steering must depend on speed, otherwise you will be able to rotate your car even if it's almost stopped and it will look like a propeller
              if (Key.isDown(Key.LEFT) && this["speed"+who]>0.3) {
                   _root["car"+who]._rotation -= _root.rotationStep*(this["speed"+who]/_root.maxSpeed);
              //steer right - you already know what happens here
              if (Key.isDown(Key.RIGHT) && this["speed"+who]>0.3) {
                   _root["car"+who]._rotation += _root.rotationStep*(this["speed"+who]/_root.maxSpeed);
    You basically have to make a second conditional clause that starts:
    if (_root["car"+who].code == "player2") {           
    if (Key.isDown(/*Insert KeyCodeValue of the Key you want to use*/)) {....
    The AS2 keycodes can be found here:
    http://www.adobe.com/livedocs/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00001136.html

  • How to make the ERP orders visible in the interaction history????

    Hi All
    I am working on CRM 7.0, I am not able to find the ERP Orders created for business partners under the interaction history assignment block.  How to make it visible
    Regards
    Jacopo Francoise

    Check class CL_CRM_IC_IHISTSEARCH_IMPL (the view controller's class), method SET_ALLOWED_BT_OBJECT_TYPES, you'll see these values hard-coded.
    Allowed Business object types:
    gc_object_type-businessactivity TO me->gt_object_type, " BUS2000126
    gc_object_type-service TO me->gt_object_type, " BUS2000116
    gc_object_type-lead TO me->gt_object_type, " BUS2000108
    gc_object_type-sales TO me->gt_object_type, " BUS2000115
    gc_object_type-complaint TO me->gt_object_type, " BUS2000120
    gc_object_type-task TO me->gt_object_type, " BUS2000125
    New from CRM 7.0
    gc_object_type-opportunity TO me->gt_object_type, " BUS2000111
    gc_object_type-incident TO me->gt_object_type, " BUS2000223
    gc_object_type-problem TO me->gt_object_type, " BUS2000224
    gc_object_type-contract_sales TO me->gt_object_type, " BUS2000121
    gc_object_type-contract_service TO me->gt_object_type. " BUS2000112
    Rupesh

Maybe you are looking for