Compile-time v/s Run-time

I have an servlet based application that is compiled in JDK 1.1.7 and for running it, my application server (Tomcat) used JRE 1.3.1 (JIT enabled).
The question is if I compile my application in JDK 1.3.1 (using a new IDE) would my application performance in terms of speed be faster.
Thanks in advance.
TP

If you change some implementations, such as
replacing Vectors with ArrayLists, you will see
(perhaps) a marginal improvement, but do so only if
you need no synchronization.If you try to execute a java app that uses the Java 1.2 Collections API in a Java 1.1 VM, you will certainly get java.lang.NoClassDefFoundErrors thrown.
The Collections API is downloadable for Java 1.1

Similar Messages

  • File Adapter - WinXP at compile time, Unix at run time

    Regarding File Adapter - WinXP at compile time, Unix at run time
    I want to specify polling of a directory using Unix type directory notation but this doesn't compile under windows. (I'll read up re. logical directories)
    Has anyone done polling of a unix directory using BPEL (but compiled this under windows JDeveloper)?
    thanks,
    Allan

    Using a logical directory should help you with this problem.

  • Crystal Report looks the design time xml at run time

    Hi,
    I have a question about crystal report. I am using VS 2008. My PC is Windows XP SP2.
    The reporst was using xml datasource. At design time, I specifiy the datasource as a xml file (D:\Report\myReport.xml). At run time, on a different pc where the design time xml file does not exist, I prepare the datasource like:
    DataSet data = new DataSet();
    XmlTextReader reader = new XmlTextReader(xml, XmlNodeType.Document, context);
    data.ReadXml(reader);
    and then
    report.Load("myReport.rpt");
    report.SetDataSource(data);
    report.Refresh();
    Edited by: Don Williams on Aug 7, 2010 10:02 AM

    Hi Bhushan,
    No it's still not working.               
    Following is what my code looks like after applying your fix. Is it correct? Does the ConnectionInfo.ServerName have to be my report xml or any xml file will work?
    Please let me know if my code is correct or wrong and how to fix it if it's wrong.
    Thanks for your help.
    report.Load(reportFile);
    foreach (Table t in report.Database.Tables)
                        ConnectionInfo crConnectionInfo = t.LogOnInfo.ConnectionInfo;
                        crConnectionInfo.ServerName = "D:
    UpdateConfig.xml";
                        crConnectionInfo.DatabaseName = "D:
    UpdateConfig.xsd";
                        TableLogOnInfo crTableLogOnInfo = t.LogOnInfo;
                        crTableLogOnInfo.ConnectionInfo = crConnectionInfo;
                        t.ApplyLogOnInfo(crTableLogOnInfo);
    report.SetDataSource(data);
    report.Refresh();

  • How to keep the font in the design time appear in run time with forms 10g

    hi guys
    did anyone know if we can keep the font we choose at
    design time in form 10g r2
    appear in runtime cuz the java applet transformer it to
    fonts that it recognise and the original font disappear

    You need to map the font you are using for development to one of the proper Java fonts that is used by the server by editing the related lines in the Registry.dat file located under the BI installation (of the iAS server) The file is located under the BI_HOME/forms/java/oracle/forms/registry/ subdirectory.
    Here is an example from my Registry.dat file. I am using Helvetica when developing (I am on Linux for both iDS and iAS) and mapping it to Dialog (Java font). You can search this form and OTN white papers, I am sure you can find similar mappings for your font (for development) and deployment. I simply used trial and see method to find a solution for my case.
    # Default Font Face mapping.
    # appFontname represents a comma delimited list of Application Font Names.
    # javaFontname represents a comma delimited list of Java Font Names.
    # The number of entries in the appFontname list should match the number in
    # the javaFontname list. The elements of the list are comma separated and
    # all characters are taken literally, leading and trailing spaces are
    # stripped from Face names.
    # Note that this file uses the Java 1.1 Font names in order to be able to
    # handle the NLS Plane (BUG #431051)
    default.fontMap.appFontnames=Courier New,Courier,courier,System,Terminal,Fixed,Fixedsys,Times,Times New Roman,MS Sans Serif,Arial,Helvetica
    default.fontMap.javaFontnames=MonoSpaced,MonoSpaced,MonoSpaced,Dialog,MonoSpaced,Dialog,Dialog,Serif,Serif,Dialog,SansSerif,Dialog
    Hope this proves useful.
    R/ Zaf

  • Throws Run time error at runtime.

    Hi freinds,
    I've downloaded special jar file and placed in "C:\j2sdk1.4.2_11\jre\lib\ext".
    I've used one of the IO class from this jar file in my Candies.java class.
    When i going to compile it from command prompt it compiles dine but at run time while running following command ,
    D:\TP>javac Candies.java
    D:\TP>java Candies
    Exception in thread "main" java.lang.NoClassDefFoundError: ncst/pgdst/IOException
    When i compile and run this code with IDE 'JCreator' it works fine.
    Why the same application throws run time error at command prompt?
    How could i resolve this issue ?
    Note:I've also set classpath to "C:\j2sdk1.4.2_11\jre\lib\ext\." .
    Regards,
    Sachin Warang.

    If i placed the jar file some where else how could
    used it in my source file?To use a class in your source code, you just import its package and make sure the jar is on the classpath, nothing else is necessary.
    I'm stick to command prompt as i want include the
    input file(which contains big input) at run time
    using the command
    D:\TP>java Candies < input
    Is it possible with any IDE to include such text file
    at run time , if so how could i do this?All IDEs let their users specify parameters for programs they start from within the IDE. See doc of your IDE. (But people here don't recommend IDEs for beginners ;)
    But why it compiles fine and giving me Error at run
    time if it is not set in the classpath?Looks like it is because that class is not used directly in your code but your code calls another class that uses that missing class.
    I've also change the classpath to
    "C:\j2sdk1.4.2_11\jre\lib\ext\pgdst.jar\." still the
    problem exist , why is it so as i'm giving the actual
    path now?You still don't specify the exact jar! E.g: C:\j2sdk1.4.2_11\jre\lib\ext\pgdst.jar\aa.jar
    Hope it helps...

  • ORA-06502: PL/SQL: numeric or value error(Run Time Error)

    Hi,
    Intially the table structure goes something like this.
    CREATE TABLE CLARITY_RESPONSE_LOG
      REQUEST_CODE   NUMBER,
      RESPONSE_FILE  BLOB,
      DATE_CRATED    DATE                           NOT NULL,
      CREATED_BY     NUMBER                         NOT NULL,
      UPDATED_BY     NUMBER                         DEFAULT 1,
    )The content of the RESPONSE_FILE column which is a BLOB data type has some XML content(XML file).
    The compiled proc which uses the above table is as follows.
    CREATE OR REPLACE PROCEDURE "MWF_ONLINE_RESPONSE_XML"
    AS
       v_file            UTL_FILE.FILE_TYPE;
       v_text            VARCHAR2 (20);
       v_filename        VARCHAR2 (200);
       v_delimitedchar   CHAR (1);
    ----log
      v_process_name  VARCHAR2(100) := 'MWF_ONLINE_RESPONSE_XML';
      v_sqlerrorcd          VARCHAR2(10);
      v_sqlerrormsg         VARCHAR2(255);
      v_seq_auto_email_job  NUMBER;
      v_cnt                 NUMBER := 0;
      v_user_name    VARCHAR2(30);
    BEGIN
      --- for log use
      SELECT sys_context('USERENV','OS_USER') INTO  v_user_name  FROM dual;
      INSERT INTO PROCESS_ERROR_LOG
                 (seq_num,
                  process_name,
                  status,
                  process_date,
                  user_name)
      VALUES     (seq_dataxprocesslog.NEXTVAL,
                  v_process_name,
                  'STA',
                  SYSDATE,
                  v_user_name);
       v_delimitedchar := CHR (124);
       v_filename := 'online_response_xml.txt';
       v_file := UTL_FILE.FOPEN ('MWF_DATA_EXTRACTS', v_filename, 'W');
       UTL_FILE.PUT_LINE
         (v_file,
           'online_response_xml'
       FOR online_response IN
          (SELECT XMLTYPE (response_file, NLS_CHARSET_ID ('char_cs')).getclobval () AS Online_Respone_xml
          FROM CLARITY_RESPONSE_LOG
          WHERE TRUNC(date_crated ) = TRUNC(SYSDATE-1)
          LOOP
          UTL_FILE.PUT_LINE (v_file, online_response.Online_Respone_xml);
        v_cnt := v_cnt + 1;
      END LOOP;
      UTL_FILE.FCLOSE(v_file);
      INSERT INTO PROCESS_ERROR_LOG
                 (seq_num,
                  process_name,
                  status,
                  process_date,
                  cnt,
                  user_name)
      VALUES     (seq_dataxprocesslog.NEXTVAL,
                  v_process_name,
                  'COM',
                  SYSDATE,
                  v_cnt,
                  v_user_name);
      COMMIT;
    EXCEPTION
      WHEN OTHERS THEN
        v_sqlerrorcd := SQLCODE;
        v_sqlerrormsg := SUBSTR(SQLERRM,1,255);
        INSERT INTO PROCESS_ERROR_LOG
                   (seq_num,
                    process_name,
                    status,
                    process_date,
                    error_msg,
                    error_id,
                    user_name)
        VALUES     (seq_dataxprocesslog.NEXTVAL,
                    v_process_name,
                    'ERR',
                    SYSDATE,
                    v_sqlerrormsg,
                    v_sqlerrorcd,
                    v_user_name);
        COMMIT;
    END;The above code has been compiled without any compilation errors but at run time I am getting the error:
    ORA-06502: PL/SQL: numeric or value error.
    Is it because of below statement in the above proc:
    SELECT XMLTYPE (response_file, NLS_CHARSET_ID ('char_cs')).getclobval () AS Online_Respone_xml
          FROM CLARITY_RESPONSE_LOG
          WHERE TRUNC(date_crated ) = TRUNC(SYSDATE-1)Please advice

    vine wrote:
    Is it because of below statement in the above proc:
    SELECT XMLTYPE (response_file, NLS_CHARSET_ID ('char_cs')).getclobval () AS Online_Respone_xml
    FROM CLARITY_RESPONSE_LOG
    WHERE TRUNC(date_crated ) = TRUNC(SYSDATE-1)Please adviceto see where the line code that gets the error try using dbms_output.put_line() and before you run your procedure use the SQL*Plus command set serveroutput on. see this example below using the dbms_output.put_line().
    CREATE OR REPLACE PROCEDURE "MWF_ONLINE_RESPONSE_XML" AS
       v_file            UTL_FILE.FILE_TYPE;
       v_text            VARCHAR2 (20);
       v_filename        VARCHAR2 (200);
       v_delimitedchar   CHAR (1);
    ----log
      v_process_name  VARCHAR2(100) := 'MWF_ONLINE_RESPONSE_XML';
      v_sqlerrorcd          VARCHAR2(10);
      v_sqlerrormsg         VARCHAR2(255);
      v_seq_auto_email_job  NUMBER;
      v_cnt                 NUMBER := 0;
      v_user_name    VARCHAR2(30);
    BEGIN
      --- for log use
      SELECT sys_context('USERENV','OS_USER') INTO  v_user_name  FROM dual;
    dbms_output.put_line('1');
      INSERT INTO PROCESS_ERROR_LOG
                 (seq_num,
                  process_name,
                  status,
                  process_date,
                  user_name)
      VALUES     (seq_dataxprocesslog.NEXTVAL,
                  v_process_name,
                  'STA',
                  SYSDATE,
                  v_user_name);
    dbms_output.put_line('2');
       v_delimitedchar := CHR (124);
       v_filename := 'online_response_xml.txt';
       v_file := UTL_FILE.FOPEN ('MWF_DATA_EXTRACTS', v_filename, 'W');
       UTL_FILE.PUT_LINE(v_file,'online_response_xml');
    dbms_output.put_line('3');
       FOR online_response IN
          (SELECT XMLTYPE (response_file, NLS_CHARSET_ID ('char_cs')).getclobval () AS Online_Respone_xml
             FROM CLARITY_RESPONSE_LOG
            WHERE TRUNC(date_crated ) = TRUNC(SYSDATE-1)) LOOP
          UTL_FILE.PUT_LINE (v_file, online_response.Online_Respone_xml);                                                  
          v_cnt := v_cnt + 1;
    dbms_output.put_line('4');
       END LOOP;
      UTL_FILE.FCLOSE(v_file);
    dbms_output.put_line('5');
      INSERT INTO PROCESS_ERROR_LOG
                 (seq_num,
                  process_name,
                  status,
                  process_date,
                  cnt,
                  user_name)
      VALUES     (seq_dataxprocesslog.NEXTVAL,
                  v_process_name,
                  'COM',
                  SYSDATE,
                  v_cnt,
                  v_user_name);
      COMMIT;
    dbms_output.put_line('6');
    EXCEPTION
      WHEN OTHERS THEN
        v_sqlerrorcd := SQLCODE;
        v_sqlerrormsg := SUBSTR(SQLERRM,1,255);
        INSERT INTO PROCESS_ERROR_LOG
                   (seq_num,
                    process_name,
                    status,
                    process_date,
                    error_msg,
                    error_id,
                    user_name)
        VALUES     (seq_dataxprocesslog.NEXTVAL,
                    v_process_name,
                    'ERR',
                    SYSDATE,
                    v_sqlerrormsg,
                    v_sqlerrorcd,
                    v_user_name);
        COMMIT; 
    END;

  • Getting LabVIEW load error code 59 using LabVIEW 2010 with a Run Time Engine.

    I use a vi compiled with a run time engine to run separate vi’s in my application directory. Once a file association is made with this exe file any Vi in my application directory is available to be loaded as needed. This is a process that has been very successful for me over the years and would prefer to continue using this process. Most of my applications are running in LabVIEW 8.6 and have moved them to 2009. First indications are in 2009 this process is still working. However, I plan to go on to 2010 before upgrading my test stations.
    In 2010 I get the error 59: “The source file’s compiled code has been separated, and this version of LabVIEW does not have access to separated compiled code.”
    The same dialog box also presents, (Hex 0x626)  “Cannot open a VI with separated compiled code in a Run Time Engine that has no access to the VIObjCache.”
    What can I do in the build that will get around this error?
    Thank you

    Thank you for the solution. I am sure this works until the next vi in the vi library gets this option selected.
     The bigger issue is I was doing something that National Instruments did not support. When I started in the days of LV 4.0 it was recommended to me that I use this method as virtually all my applications were for in house projects. This is still my preference because it gives the most versatility and allows modifications of single files rather than compiling the entire application.
    The final solution I ended up with for those who may be having the same issues. My recommendation for what it is worth, is to compile the application as an executable. This is from what I can tell the only acceptable and supported method. Using this method the problem is solved.
    I have accepted this as the solution. I still don't like it. I could list the reasons why but it is a mute point.
    Thanks again for taking the time to respond to this issue and offer the solution you found.

  • When creating an application installer in LV, what run-time engine or driver must be installed to install the VISA interactive control?

    I've created an application installer using LabVIEW's application builder and use it to install NI MAX.  However, after running the installer, the VISA interactive control is disabled in NI MAX.
    The installer installs the following NI components:  NI LabVIEW Run-Time 2014 SP-1(64-bit), NI LabWindows/CVI Shared Run-Time Engine 2013 SP2, NI Measurement & Automation Explorer 14.5, NI-488.2 Application Development Support (includes run-time), NI-VISA Configuration Support 14.0.1, NI-VISA Runtime 14.0.1, NI-VISA Server 14.0, NI Systems Configuration Runtime 14.5.0, vision run-time, dc-power run-time.
    If I download and run the 488.2 installer, the VISA interactive control is enabled in NI MAX.  But, the installer created with the application builder does not seem to install the necessary components.
    What needs to be added to the installer to enable  the VISA interactive control (VISAIC)?
    Thanks.
    Solved!
    Go to Solution.

    From Pedro Munoz, Applications Engineer, National Instruments
    Sorry for the confusion with the forum post that Jon sent you. I did some research on our internal database and I found out the component will not be installed by any of the components added from the additional installers section on the configuration of the installer. As you have already found out you need to install the full installer in order to enable this feature.
    I know that this might be an inconvenient for you because you wanted to have one installer to run. On this case may I suggest using the NI Batch Installer Builder.
    The NI Batch Installer Builder allows building installers that contain National Instruments software from several products. That way you can create an installer for you application in LabVIEW (and not include the drivers in the additional installer section), then use NI Batch Installer Builder to include the installer for your application and the full version of the drivers that you mentioned.
    Here is the download link:
    http://www.ni.com/download/ni-batch-installer-builder-14.5/5193/en/
    And in here you can find instructions on how to get started with it:
    http://zone.ni.com/reference/en-XX/help/374206A-01/
    Let me know if you have any question.
    Regards
    Pedro Munoz
    Applications Engineer
    National Instruments
    http://www.ni.com/support

  • Run time is more for processing MIRO transaction

    Dear SAP Gurus,
    At our client, when they are doing MIRO, it is taking much time to open the first screen after entering invoice date & PO no. The client was telling this is happening only for certain materials. I could not understand the relation between material master and MIRO transaction time. When run time analysis is done by t. code se30 for that transaction. The Abap element is taking 20% time where as database access is taking 80% time.
    Kindly guide me on the same isuue to sort it out.
    With Warm and Regards
    Bhikshapathi

    Hi,
    Index table 'MSEG'. Then the database access time will be reduced. The indexing will take time depending upon your database volume, but once completed, time required for various transactions will be drastically reduced.
    Regards,
    Prashant

  • Run-time connection load balancing

    Hello!
    I'm using jdbc thin client (10g) and I'm trying to improve connection pool management. I would like to enable run-time connection load balancing. Is this option
    available with Fast Connection failover?
    Basically when a a client requests a connection from the connection cache by calling the getConnection method on the DataSource object, I want that the connection selected
    is the connection that belongs to the best instance from the connection cache. The client receives the connection that would process the work request with the
    best response time.
    With run-time connection load balancing ebabled what's happen when new connection is requested? The same algorithm?
    Other question:
    Is it possible create a manually process to distribute new connections? Having the following connection string:
    url="jdbc:oracle:thin:@
    (DESCRIPTION=
    (ADDRESS=(protocol=tcp)(host=192.168.12.17)(port=1521))
    (ADDRESS=(protocol=tcp)(host=192.168.12.18)(port=1521))
    (load_balance=on)
    (connect_data=(service_name=EHR)))"
    In a specific moment I want that new connections only will be created in a specific instance... How can I do this? P.e.
    Connection POOL has 10 connections (5 in each instance). All sessions are active and a new session needs to be created. At this moment I want to decide wich instance
    is the best to attend the request...
    Thanks a lot
    Best Regards

    Hi, there are several questions here. So, let me try to answer some, and I could address more if you have further questions. I am also presuming you are using JDBC driver's
    colocated Implicit connection cache.
    1) Yes, you need to enable FCF on the pool to leverage RCLB. Note, there are
    no specific knobs for RCLB on the client side, only the RAC / DB side which requires
    LBA to be enabled (this is documented in the RAC clusterware admin guide)
    2) When LBA is enabled on RAC/DB, RAC starts posting FaN events to the pool.
    This enables the pool to pick the best connection to an instance with the best
    service response time or throughput -- depending on how LBA was enabled.
    3) When new connections are created, the pool relies on the DB listener to place/create
    the connections on the appropriate RAC instance -- this depends on the LBA goal you
    set, and is required to be set to "short"
    4) The pool currently does not have the ability to create a conn to a named instance.
    What's the requirement or use case for this? If we understand this better, perhaps
    we could address this. How do "you" decide which is the best instance to connect?

  • Run time binding.....

    tell the real time example of run time binding....?
    dis s a HCL-CISCO interview question.,

    tell the real time example of run time binding....?
    dis s a HCL-CISCO interview question.,Mr Milton sir, step away from that keyboard, nice and easy.

  • Run time error in TestStand

    Hi ,
    I am getting run time error in teststand can any one suggest me how to use the #NoValidation directive in the expression?
    I was executing the same seq before but now i am getting error and it is getting strack when it comes to Action step( VI call) . 
    Thanks in advance 
    Manasa 

    http://zone.ni.com/reference/en-XX/help/370052N-01/tsfundamentals/infotopics/novalidation/
    #NoValidation only applies to edit time.  Not Run Time.  You will still get the error.  #NoValidation is great for runstate variables that don't exist during edit time but will exist during run time.  This way the sequence analyzer will not report these as errors.
    Hope this helps!
    Regards,
    jigg
    CTA, CLA
    teststandhelp.com
    ~Will work for kudos and/or BBQ~

  • Database Manager 7.4 run-time error 308

    It the Db Manager running fine.  Then all of a sudden, something I did I'm sure, I can not get past the initial splash screen prior to the program actually opening I get the following run-time error.
    Run-time Error '308' - Invaled property value.
    I even uninstalled and re-installed the program which didn't change anything.
    Any help or direction would be greatly appreciated.
    Bob

    This issue was resolved by uninstalling 7.4 and then installing DB Manager 7.6.03.
    Works fine now.  Of course the old DB Manager 7.4 work for seveal weeks before breaking.
    Thanks,
    Bob

  • Check Scan for NI435X and elapsed time doesn't run in loop

    Dear all Labview Experts
    i have 2 questions
    (1) i written program with Check Scan for NI435X (input to no of scan to NI 435X read ) and one with only NI435X read( to read in voltage) with constant input to no of  scan,
    the data i obtained is attached in 2 doucments; With Check Scan and without check scan ( the left column is temperature read in ( a formula is used to convert volt to temperature, right column is time)
    strangely the program with check scan shows values in negative ==> Voltage read in is 0, strange, why is this so??? and why is there a diff?? Hope u understand my question
    (2) For elapsed time, i want to find the total elapsed time for the whole program as well as individual cases,  there is no "running"  elapsed time or individual running time,
    what happen is that when the each case end, the time will jump (e.g. from 0 at start, it will change to 5.35 at end of case) , is there any where to make the time run, i need it because some case required
    c
    ondition such as case will move to next after 5 seconds, but if above case happen, the vi will only stop if i put >= 5 rather than just place = 5
    hope u understand,
    does it help if i placed the condition as another loop , will it mean the same things
    Attach are vi and some doucments, however as my vi contains PID tool kit as will as ni435x ni DC power which cannot be opened if you do
    not have these kits.......however mayb u can help to look at the portion of timing as this is the main problem i faced now.........
    Hope it is not too confusing for you to understand me...........
    i can only attach max 3, the next post i will attach 2 vis...........
    Attachments:
    Picture of check scan and without.rtf ‏15 KB
    With Check Scan.txt ‏4 KB
    Without Check Scan.txt ‏1 KB

    Thks Brian
    Attached are 3 VIs
    1.the first vi is the one with the check scan
    2. the next two vi the only diff is the placement of the where i put the elapsed time and time of each case.........(without check scan)--the first
    one is within the big loop, the other outside  big loop -- the purpose i did this is because when i run the vi with the timing in the big loop, the timing does not run continuously but "skip". for e.g. Denature time: from 0 . it jump to 5.15s without showing the running.............
    i will attached another 2 vi s in my next attachment
    Hope this clarifies a bit
    your help is really appreciated
    thks
    Attachments:
    PCR Control_State Machine_4 channel_Timing within Loop.vi ‏438 KB
    PCR Control_State Machine_4 channel_with_check scan.vi ‏443 KB
    PCR Control_State Machine_4 channel_Timing outside of loop.vi ‏442 KB

  • Find out run time

    Hi;
    I try to find the run time for Fibonnaci on number 50, but the result cause me confuse, because the 5 times results are very differnt, could anyone tell me why? Thanks
    The following is the report of the 5 times of the run times on the 50
    Execute recursiveBigFib: 12586269025
    In the (1) time, It takes 11 to run the number of 50
    Execute recursiveBigFib: 12586269025
    In the (2) time, It takes 1 to run the number of 50
    Execute recursiveBigFib: 12586269025
    In the (3) time, It takes 0 to run the number of 50
    Execute recursiveBigFib: 12586269025
    In the (4) time, It takes 0 to run the number of 50
    Execute recursiveBigFib: 12586269025
    In the (5) time, It takes 1 to run the number of 50
    import java.math.BigInteger;
    import java.util.*;
    import java.math.*;
    class Fibber{
         class BIPair{
            BigInteger fibn;
            BigInteger fibnminus;
        BIPair recursiveBigFib(int n){
            BIPair ret = new BIPair();
            BIPair nminusret = null;
            if(n <=2){
                ret.fibn =  BigInteger.ONE;
                ret.fibnminus = BigInteger.ONE;
            }else{
                nminusret = recursiveBigFib(n-1);
                ret.fibn = nminusret.fibn.add( nminusret.fibnminus);
                ret.fibnminus = nminusret.fibn;
            return ret;
        void execute(int n)
            BIPair bip = recursiveBigFib(n);
            System.out.println("\t Execute recursiveBigFib: " + bip.fibn);
    class SlowFib {        
            public static void main(String[] args) {
                Fibber fibber=new Fibber();
                  int n = 50;
                  long startTime;
                  long endTime;
                  long totalTime;
                  System.out.println("\t The following is the report of the 5 times of the run times on the 50");
                  System.out.println("\t ----------------------------------------------------------------------");
                   for(int i=0; i<5; i++){
                      startTime=System.currentTimeMillis();
                      fibber.execute(n);
                      endTime=System.currentTimeMillis();
                      totalTime=endTime-startTime;
                      System.out.println("\t In the (" + (i+1) + ") time," +" It takes " + totalTime +" to run the number of " + n);
                      System.out.println();

    You're missing the point. Telling it to pause between runs isn't going to help. You need whatever happens between the starting call to currentTimeMillis and the ending call to currentTimeMillis to take at least 1-10 seconds.
    Imagine you're watching a the seconds tick over on a digital clock:
    3:15:01
    3:15:02
    3:15:03
    etc.
    Your friend says, "time how long it takes me to do this shot of tequila". He says "GO", drinks the shot, says "STOP". Let's say it takes him about a second to drink the shot.
    You might se zero seconds tick over (if he starts at 3:15:01.001 and ends at 3:15:01.999)
    Or you might see one second tick over (3:15:01.000 - 3:15:02.000)
    Or you might see two seconds tick over (3:15:01.999 - 3:15:03.001)
    The actual times were 0.998 sec., 1.000 sec., and 1.002 sec, but you'd record it as 0 sec., 1 sec., and 2 sec. You're only accurate to +/- 1 sec., so if what he's doing takes about 1 sec., you have a margin of error of 100%. You can't make your measurements anymore precise than 1 sec., so to reduce the relative margin of error, you need to increase the total time measured.
    So your buddy says "GO" drinks 10 shots of tequila, and then stays "STOP". It maybe takes him 10.7 seconds, and you maybe measuer 9.9 or 11.2 or something. You get more accurate numbers than before, plus you get to watch your buddy make an ass of himself hitting on the cute bartender.
    GO and STOP are currentTimeMillis, and your buddy drinking shots is fibber.execute(). Timing your buddy for one shot, having him wait a while, then timing him for one more shot isn't going to make your 1-shot measurements any more accurate--they're still limited by the fact that each one takes about a second, and you can only measure to the nearest second.

Maybe you are looking for