Cannot compile outside /bin.

I have set the CLASSPATH to C:\jdk1.3.1_02\bin;.C:\jdk1.3.1_02\myclasses;.C:\jdk1.3.1_02\ but I cannot compile outside the bin/ directory, I can type java and run a program anywhere on my system (WinXP) but not compile. Help.

Try type this in your command line:
c:\>path
It will list out your paths, see whether your $JDK\bin is there, if not you got to append it to your path, nevertheless, the path you set now will be gone after you reset your computer(if I never remember wrongly). To set it to automatic, you can try edit your autoexec.bat file and add in the $JDK\bin path.

Similar Messages

  • PLS-00304: cannot compile body of package without its specification

    Hi all,
    While compiling the below pasted package , I got the following error msg.
    PL/SQL: Compilation unit analysis terminated
    PLS-00304: cannot compile body of 'EDR_RPT_CLASS_BY_TAWT_PACKAGE'
    without its specification
    PLS-00905: object HDOT.EDR_RPT_CLASS_BY_TAWT_PACKAGE is invalidBut I believe that have declared package and ppackage body specification correctly. Please could anyone help me to find out the error
    CREATE OR REPLACE PACKAGE edr_rpt_class_by_tawt_package AS
    PROCEDURE edr_rpt_gen_class_by_tawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    PROCEDURE edr_rpt_gen_class_by_fawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    PROCEDURE edr_rpt_gen_class_by_sawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    PROCEDURE edr_rpt_gen_class_by_triawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    PROCEDURE edr_rpt_gen_class_by_qawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    FUNCTION  class_count
      in_lane_id                  edr_rpt_by_ranges_output.lane_id%TYPE,
      in_direction_id             edr_rpt_by_ranges_output.direction_id%TYPE,
      in_interval_start_date_time edr_rpt_by_ranges_output.interval_start_date_time%TYPE,
      in_interval_end_date_time   edr_rpt_by_ranges_output.interval_start_date_time%TYPE,
      in_axle_wt_min              edr_cls_by_tawt_report_data.group_weight%TYPE,
      iin_axle_wt_max             edr_cls_by_tawt_report_data.group_weight%TYPE,
      in_class_min                edr_cls_by_tawt_report_data.vehicle_class%TYPE,
      in_class_max                edr_cls_by_tawt_report_data.vehicle_class%TYPE
    RETURN VARCHAR2;
    END edr_rpt_class_by_tawt_package;
    CREATE OR REPLACE PACKAGE BODY edr_rpt_class_by_tawt_package AS
       c_front_axle_only         CONSTANT axle_class.group_type%TYPE := -1;
       c_axle_single_group_type  CONSTANT axle_class.group_type%TYPE := 1;
       c_axle_tandem_group_type  CONSTANT axle_class.group_type%TYPE := 2;
       c_axle_tridem_group_type  CONSTANT axle_class.group_type%TYPE := 3;
       c_axle_quadrem_group_type CONSTANT axle_class.group_type%TYPE := 4;
       c_kips_conversion_unit_id CONSTANT units.unit_id%TYPE         := 8;
       v_report_axle_group_type  axle_class.group_type%TYPE := 0;
    FUNCTION  class_count
      in_lane_id                  edr_rpt_by_ranges_output.lane_id%TYPE,
      in_direction_id             edr_rpt_by_ranges_output.direction_id%TYPE,
      in_interval_start_date_time edr_rpt_by_ranges_output.interval_start_date_time%TYPE,
      in_interval_end_date_time   edr_rpt_by_ranges_output.interval_start_date_time%TYPE,
      in_axle_wt_min              edr_cls_by_tawt_report_data.group_weight%TYPE,
      in_axle_wt_max              edr_cls_by_tawt_report_data.group_weight%TYPE,
      in_class_min                edr_cls_by_tawt_report_data.vehicle_class%TYPE,
      in_class_max                edr_cls_by_tawt_report_data.vehicle_class%TYPE
    RETURN NUMBER
    IS
      my_count_result NUMBER(18);
    BEGIN
       SELECT NVL(SUM(vehicle_count), 0 )
       INTO my_count_result
       FROM
            SELECT site_lane_id
            FROM   edr_rpt_tmp_report_lanes
            WHERE  edr_rpt_tmp_report_lanes.output_lane_id        = in_lane_id
              AND  edr_rpt_tmp_report_lanes.output_direction_id   = in_direction_id
           ) report_lanes
       JOIN edr_cls_by_tawt_report_data
         ON edr_cls_by_tawt_report_data.site_lane_id          = report_lanes.site_lane_id
       WHERE edr_cls_by_tawt_report_data.bin_start_date_time >= in_interval_start_date_time
         AND edr_cls_by_tawt_report_data.bin_start_date_time <  in_interval_end_date_time
         AND edr_cls_by_tawt_report_data.group_weight >= in_axle_wt_min
         AND edr_cls_by_tawt_report_data.group_weight  < in_axle_wt_max 
         AND edr_cls_by_tawt_report_data.vehicle_class >= in_class_min
         AND edr_cls_by_tawt_report_data.vehicle_class <= in_class_max
       RETURN my_count_result;
    END;
    FUNCTION get_row_class_counts_text
    RETURN VARCHAR2
    IS
       my_row_counts_text  VARCHAR2(10000);
       my_row_counts_entry  VARCHAR2(10000);
       CURSOR row_counts_text IS
         SELECT 'edr_rpt_class_by_tawt_package.class_count('
                           ||'lane_id, '
                           ||'direction_id, '
                           ||'interval_start_date_time, '
                           ||'interval_end_date_time, '
                           ||'range_low, '
                           ||'range_high, '
                           || class_id || ', '
                           || class_id || ') "'|| class_id || '"'
         FROM edr_rpt_tmp_report_classes
         ORDER BY class_id;
    BEGIN
      my_row_counts_text   := '';
      my_row_counts_entry  := '';
      -- generate the speed ranges function calls
      OPEN row_counts_text;
      LOOP
        FETCH row_counts_text INTO my_row_counts_entry;
        EXIT WHEN row_counts_text%NOTFOUND;
        my_row_counts_text := my_row_counts_text || ', ' || my_row_counts_entry;
      END LOOP;
      CLOSE row_counts_text;
      RETURN my_row_counts_text;
    END;
    FUNCTION get_row_totals_text
    RETURN VARCHAR2
    IS
       my_row_count_total_text  VARCHAR2(10000);
    BEGIN
      my_row_count_total_text := '';
      -- generate the 'total' column function call
      SELECT 'edr_rpt_class_by_tawt_package.class_count('
                           ||'lane_id, '
                           ||'direction_id, '
                           ||'interval_start_date_time, '
                           ||'interval_end_date_time, '
                           ||'range_low, '
                           ||'range_high, '
                           || MIN(class_id) || ', '
                           || MAX(class_id) || ') " "'
      INTO my_row_count_total_text
      FROM edr_rpt_tmp_report_classes;
      RETURN ', ' || my_row_count_total_text;
    END;
    PROCEDURE apply_default_awt_ranges(in_report_parameter_id   IN   NUMBER)
    IS
      my_awt_ranges_count NUMBER(4);
    BEGIN
    SELECT nvl(count(1),0)
    INTO my_awt_ranges_count
    FROM report_range_parameters
    WHERE REPORT_PARAMETER_ID = in_report_parameter_id
       AND REPORT_PARAMETER_GROUP = 'AXLE_GROUP'
       AND REPORT_PARAMETER_NAME = 'AXLE_NAME';
    IF  ( my_awt_ranges_count = 0 )
    THEN
      INSERT INTO report_range_parameters (REPORT_PARAMETER_ID, REPORT_PARAMETER_GROUP, REPORT_PARAMETER_NAME, REPORT_PARAMETER_MIN_VALUE, REPORT_PARAMETER_MAX_VALUE)
        VALUES (in_report_parameter_id, 'AXLE_GROUP', 'AXLE_NAME', '0', '2');
        VALUES (in_report_parameter_id, 'AXLE_GROUP', 'AXLE_NAME', '30', '32');
    END IF;
    END;
    PROCEDURE edr_class_by_tawt_use_per_veh
       in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
       in_good_status_mask      IN      NUMBER
    IS
    max_axle_group_value NUMBER(12);
    BEGIN
      DELETE FROM edr_cls_by_tawt_report_data;
      COMMIT;
      INSERT INTO edr_cls_by_tawt_report_data
                      site_id,
                      site_lane_id,
                      site_direction_id,
                      site_direction_name,
                      bin_start_date_time,
                      group_weight,
                      bin_id,
                      bin_value
      SELECT site_id,
             site_lane_id,
             site_direction_id,
             site_direction_name,
             date_time,
             group_weight,
             vehicle_class,
             COUNT(vehicle_class)
      FROM
               SELECT edr_cls_by_tawt_per_veh_data.*
                 FROM edr_cls_by_tawt_per_veh_data          
         GROUP BY date_time,
               site_lane_id,
               group_weight,
               vehicle_class,
               site_id,
               site_direction_id,
               site_direction_name;
    END edr_class_by_tawt_use_per_veh;
    PROCEDURE edr_class_by_tawt_data_type
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      in_good_status_mask      IN      NUMBER,
      in_data_type             IN      VARCHAR2,
      out_data_type_used          OUT  VARCHAR2
    IS
      my_bin_entry_count   NUMBER(12,0);
      my_veh_entry_count   NUMBER(12,0);
    BEGIN
      IF(UPPER(in_data_type) = 'BINNED') THEN
        --  Axle information can only be read from Per Vehicle data records
        --   - using bins-only is not a supported option
        RAISE_APPLICATION_ERROR(-20101,'Binned data cannot be used for this report.');
      ELSIF    (UPPER(in_data_type) = 'PERVEHICLE')
            OR (UPPER(in_data_type) = 'COMBINED')
      THEN
        out_data_type_used := 'Per Vehicle (All Vehicles)';
        edr_class_by_tawt_use_per_veh( in_report_parameter_id, in_good_status_mask );
      ELSE
         RAISE_APPLICATION_ERROR(-20101,'The data type specified is not recognized.');
      END IF;
    END edr_class_by_tawt_data_type;
    PROCEDURE edr_class_by_tawt_get_veh_data
      in_report_parameter_id   IN   NUMBER,
      in_site_id               IN   NUMBER,
      in_start_date_time       IN   TIMESTAMP,
      in_end_date_time         IN   TIMESTAMP,
      in_report_level_min      IN   NUMBER,
      in_report_level_max      IN   NUMBER
    IS
    BEGIN
      DELETE FROM edr_cls_by_tawt_per_veh_data;
      INSERT INTO edr_cls_by_tawt_per_veh_data
              site_id,
              site_lane_id,
              site_direction_id,
              site_direction_name,
              record_id,
              date_time,
              group_weight,
              vehicle_class,
              group_number,
              vehicle_status,
              vehicle_error_count,
              axle_violations_count,
              group_type         
      SELECT axle_info.site_id,
             axle_info.site_lane_id,
             axle_info.site_direction_id,
             axle_info.site_direction_name,
             axle_info.record_id,
             axle_info.datetime,
             axle_info.group_weight,
             axle_info.v_class,
             axle_info.group_number,
             NVL((SELECT SUM(status_code)
                    FROM traffic_status
                   WHERE traffic_status.record_id = axle_info.record_id), 0) vehicle_status,
             NVL((SELECT COUNT(error_code)
                    FROM traffic_error
                   WHERE traffic_error.record_id = axle_info.record_id), 0) vehicle_error_count,
             NVL((SELECT COUNT(1)
                    FROM axle_weight_violation
                   WHERE axle_weight_violation.record_id = axle_info.record_id), 0) axle_violations_count,
             axle_info.group_type           
        FROM (SELECT site_to_data_source_lane_v.site_id,
                     site_to_data_source_lane_v.site_lane_id,
                     site_to_data_source_lane_v.site_direction_id,
                     site_to_data_source_lane_v.site_direction_name,
                     traffic_record.record_id,
                     traffic_record.datetime,
                     NVL(traffic_class.v_class, 0)   v_class,
                     NVL(axle_class.group_type, 0)   group_type,
                     NVL(axle_class.group_number, 0) group_number,               
                     NVL(TRUNC(sum(convert_units(axle.weight_unit_id,
                                             c_kips_conversion_unit_id,
                                             axle.axle_weight
                           0
                         ) group_weight
               FROM  traffic_record
               JOIN  site_to_data_source_lane_v
                 ON  traffic_record.data_source_id = site_to_data_source_lane_v.data_source_id
                AND  traffic_record.lane = site_to_data_source_lane_v.data_source_lane_id                   
           GROUP BY site_to_data_source_lane_v.site_id,
                     site_to_data_source_lane_v.site_lane_id,
                     site_to_data_source_lane_v.site_direction_id,
                     site_to_data_source_lane_v.site_direction_name,
                     traffic_record.record_id,
                     traffic_record.datetime,
                     traffic_class.v_class,                
                     axle_class.group_type,
                     axle_class.group_number
            ) axle_info
    END edr_class_by_tawt_get_veh_data;
    PROCEDURE gen_class_by_axle_type
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    AS
    BEGIN
      apply_default_awt_ranges(in_report_parameter_id);
      my_date_format_mask   := edr_rpt_generic_package.edr_rpt_get_date_format_mask(in_report_parameter_id);
      my_start_date_time    := edr_rpt_generic_package.edr_rpt_get_start_date_time(in_report_parameter_id, my_date_format_mask);
      my_end_date_time      := edr_rpt_generic_package.edr_rpt_get_end_date_time(in_report_parameter_id, my_date_format_mask);
      my_lane_grouping      := edr_rpt_generic_package.edr_rpt_get_lane_grouping(in_report_parameter_id);
      my_site_id            := edr_rpt_generic_package.edr_rpt_get_site_id(in_report_parameter_id);
      my_selected_data_type := edr_rpt_generic_package.edr_rpt_get_data_type(in_report_parameter_id);
      -- ensure selected classes and lanes temp tables have been populated
      edr_rpt_generic_package.edr_rpt_gen_tmp_lanes(in_report_parameter_id);
      edr_rpt_generic_package.edr_rpt_gen_tmp_classes(in_report_parameter_id);
      edr_rpt_generic_package.edr_rpt_gen_tmp_speed_ranges(in_report_parameter_id);
      my_good_weight_statuses_mask   := edr_rpt_generic_package.get_good_weight_status_mask(in_report_parameter_id);
      edr_rpt_generic_package.edr_rpt_gen_inclusion_table
        in_report_parameter_id,
        my_date_format_mask,
        my_start_date_time,
        my_end_date_time
      edr_rpt_generic_package.edr_rpt_gen_grouping_table
        in_report_parameter_id,
        my_date_format_mask,
        my_start_date_time,
        my_end_date_time
      edr_class_by_tawt_get_veh_data
        in_report_parameter_id,
        my_site_id,
        my_start_date_time,
        my_end_date_time,
        0,                          --Hardcoded until reclassification is supported.
        0                           --Hardcoded until reclassification is supported.
      edr_class_by_tawt_data_type
        in_report_parameter_id,
        my_good_weight_statuses_mask,
        my_selected_data_type,
        my_used_data_type
      edr_rpt_generic_package.gen_rpt_by_ranges_output_table
        in_report_parameter_id,
        'AXLE_GROUP',
        'AXLE_NAME'
      COMMIT;
      my_report_data_statement :=
          ' SELECT rank "Rank", '
        ||       ' row_type "Row Type", '
        ||       ' interval_start_date_time "Date", '
        ||       ' interval_start_date_time, '
        ||       ' range_label "Chart X-Axis", '
        ||       ' lane_id "Group Id" , '
        ||       ' ''None'' "Group Name", '
        ||       ' range_label "Speed (mph)" '
        ||         get_row_class_counts_text
        ||         get_row_totals_text
        ||       ' FROM edr_rpt_by_ranges_output '
        ||       ' ORDER BY lane_id, '
        ||                ' direction_id, '
        ||                ' interval_start_date_time, '
        ||                ' range_high, '
        ||                ' rank, '
        ||                ' range_low'
      dbms_output.put_line('SQL start------------------------');
      dbms_output.put_line(my_report_data_statement);
      dbms_output.put_line('SQL end--------------------------');
      my_chart_data_statement :=
           ' SELECT range_low "X Axis", '
        ||        ' lane_id "Group" '
        ||         get_row_class_counts_text
        || ' FROM '
        || ' ( '
        || ' SELECT lane_id, '
        ||        ' direction_id, '
        ||        ' range_low, '
        ||        ' range_high, '
        ||        ' min(interval_start_date_time) interval_start_date_time, '
        ||        ' max(interval_end_date_time) interval_end_date_time '
        || ' FROM edr_rpt_by_ranges_output '
        || ' WHERE rank = 1 '
        || ' GROUP BY lane_id, direction_id, range_low,  range_high '
        || ' ) '
        || ' order by "Group", range_low '
      dbms_output.put_line('SQL start------------------------');
      dbms_output.put_line(my_chart_data_statement);
      dbms_output.put_line('SQL end--------------------------');
      SELECT my_used_data_type
        INTO my_data_type_used
        FROM SYS.DUAL;
      SELECT NVL(COUNT(DISTINCT record_id), 0)
        INTO my_per_vehicle_total
        FROM edr_cls_by_tawt_per_veh_data;
      SELECT NVL(COUNT(DISTINCT record_id), 0)
        INTO my_status_vehicle_total
        FROM edr_cls_by_tawt_per_veh_data
       WHERE vehicle_status > 0
         AND vehicle_error_count = 0;
      SELECT NVL(COUNT(DISTINCT record_id), 0)
        INTO my_error_vehicle_total
        FROM edr_cls_by_tawt_per_veh_data
       WHERE vehicle_error_count > 0;
      SELECT NVL(COUNT(DISTINCT record_id), 0)
        INTO my_status_clear_total
        FROM edr_cls_by_tawt_per_veh_data
       WHERE vehicle_status = 0
         AND vehicle_error_count = 0;
      SELECT NVL(COUNT(1), 0)
        INTO my_binned_vehicle_total
        FROM edr_cls_by_tawt_per_veh_data;
      SELECT NVL(COUNT(1), 0)
        INTO my_good_weight_total
        FROM edr_cls_by_tawt_per_veh_data
       WHERE vehicle_error_count = 0
         AND BITAND(vehicle_status, my_good_weight_statuses_mask) = 0;
      -- insert vehicle totals into the temporary table
      DELETE FROM edr_rpt_tmp_veh_totals_table;
      INSERT INTO edr_rpt_tmp_veh_totals_table
      SELECT my_data_type_used,
             my_per_vehicle_total,
             my_binned_vehicle_total,
             my_error_vehicle_total,
             my_status_vehicle_total,
             my_good_weight_total,
             my_status_clear_total
        FROM SYS.DUAL;
      -- execute the query into the output refcursor
      OPEN report_data FOR
        my_report_data_statement;
      OPEN chart_data FOR
        my_chart_data_statement;
      OPEN footer_data FOR
        SELECT data_type_used,
               per_vehicle_total,
               binned_vehicle_total,
               error_vehicle_total,
               status_vehicle_total,
               good_weight_total,
               status_clear_total
          FROM edr_rpt_tmp_veh_totals_table;
    END gen_class_by_axle_type;
    PROCEDURE edr_rpt_gen_class_by_sawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    AS
    BEGIN
      v_report_axle_group_type := c_axle_single_group_type;
      gen_class_by_axle_type(in_report_parameter_id, report_data, chart_data, footer_data);
    END;
    PROCEDURE edr_rpt_gen_class_by_fawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    AS
    BEGIN
      v_report_axle_group_type := c_front_axle_only ;
      gen_class_by_axle_type(in_report_parameter_id, report_data, chart_data, footer_data);
    END;
    PROCEDURE edr_rpt_gen_class_by_tawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    AS
    BEGIN
      v_report_axle_group_type := c_axle_tandem_group_type;
      gen_class_by_axle_type(in_report_parameter_id, report_data, chart_data, footer_data);
    END;
    PROCEDURE edr_rpt_gen_class_by_triawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    AS
    BEGIN
      v_report_axle_group_type := c_axle_tridem_group_type;
      gen_class_by_axle_type(in_report_parameter_id, report_data, chart_data, footer_data);
    END;
    PROCEDURE edr_rpt_gen_class_by_qawt (
      in_report_parameter_id   IN      report_tasks.report_task_id%TYPE,
      report_data              OUT     SYS_REFCURSOR,
      chart_data               OUT     SYS_REFCURSOR,
      footer_data              OUT     SYS_REFCURSOR
    AS
    BEGIN
      v_report_axle_group_type :=  c_axle_quadrem_group_type;
      gen_class_by_axle_type(in_report_parameter_id, report_data, chart_data, footer_data);
    END;
    END edr_rpt_class_by_tawt_package;
    LIST
    SHOW ERROR

    Hi,
    PLS-00304: cannot compile body of 'EDR_RPT_CLASS_BY_TAWT_PACKAGE'
    without its specificationThis error usually indicates an issue with used datatypes in a package spec. that differs from a package body.
    Check your spec:
    FUNCTION  class_count
      in_lane_id                  edr_rpt_by_ranges_output.lane_id%TYPE,
      in_direction_id             edr_rpt_by_ranges_output.direction_id%TYPE,
      in_interval_start_date_time edr_rpt_by_ranges_output.interval_start_date_time%TYPE,
      in_interval_end_date_time   edr_rpt_by_ranges_output.interval_start_date_time%TYPE,
      in_axle_wt_min              edr_cls_by_tawt_report_data.group_weight%TYPE,
      iin_axle_wt_max             edr_cls_by_tawt_report_data.group_weight%TYPE,
      in_class_min                edr_cls_by_tawt_report_data.vehicle_class%TYPE,
      in_class_max                edr_cls_by_tawt_report_data.vehicle_class%TYPE
    RETURN VARCHAR2; However in your package body:
    FUNCTION  class_count
      in_lane_id                  edr_rpt_by_ranges_output.lane_id%TYPE,
      in_direction_id             edr_rpt_by_ranges_output.direction_id%TYPE,
      in_interval_start_date_time edr_rpt_by_ranges_output.interval_start_date_time%TYPE,
      in_interval_end_date_time   edr_rpt_by_ranges_output.interval_start_date_time%TYPE,
      in_axle_wt_min              edr_cls_by_tawt_report_data.group_weight%TYPE,
      in_axle_wt_max              edr_cls_by_tawt_report_data.group_weight%TYPE,
      in_class_min                edr_cls_by_tawt_report_data.vehicle_class%TYPE,
      in_class_max                edr_cls_by_tawt_report_data.vehicle_class%TYPE
    RETURN NUMBERReturn number in spec. vs. return varchar2 in body..
    That won't compile, either return a number or a varchar2 in both. (spec and body).

  • Cannot compile arduino project

    Hi guys,
    I'm trying to work with arduino IDE, but I cannot compile even Blink example. I'm always seeing following error:
    /usr/share/arduino/hardware/tools/avr/bin/../lib/gcc/avr/4.3.2/../../../avr/bin/ld: cannot find -lm
    Any ideas how I can fix it?

    Worked also for my Asus laptop!
    CoolGenie wrote:
    This works for me too. Thanks!
    kircul wrote:
    Solution was found in discussion in package arduino.
    In short words:
    You need to install package avr-gcc
    Replace build-in avr-gcc compiler by same from package installed on previous step:
    # cd /usr/share/arduino/hardware/tools/avr/bin
    # mv ./avr-gcc ./avr-gcc-backup
    # ln -s /usr/bin/avr-gcc ./
    It works for me.

  • [SOLVED] Cannot compile taskview-git

    I cannot compile taskview-git. Here's my output:
    ==> Edit PKGBUILD ? [Y/n] ("A" to abort)
    ==> ------------------------------------
    ==> n
    ==> taskview-git dependencies:
    - glib2 (already installed)
    - git (already installed)
    ==> Continue building taskview-git ? [Y/n]
    ==> --------------------------------------
    ==>
    ==> Building and installing package
    ==> Determining latest git revision...
    -> Version found: 20110318
    ==> Making package: taskview-git 20110318-1 (Fri Mar 18 19:50:42 EET 2011)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
    ==> Extracting Sources...
    ==> Starting build()...
    ==> Connecting to the GIT server....
    Cloning into TaskView...
    remote: Counting objects: 1158, done.
    remote: Compressing objects: 100% (605/605), done.
    remote: Total 1158 (delta 801), reused 751 (delta 536)
    Receiving objects: 100% (1158/1158), 336.24 KiB | 121 KiB/s, done.
    Resolving deltas: 100% (801/801), done.
    ==> GIT checkout done.
    ==> Starting make for: taskview-git
    Cloning into /tmp/yaourt-tmp-alexandros/aur-taskview-git/src/TaskView-build...
    done.
    ==> Starting configure...
    ./autogen.sh: line 22: .: gnome-autogen.sh: file not found
    Aborting...
    ==> ERROR: Makepkg was unable to build taskview-git.
    Any ideas?
    Thanks in advance!
    Last edited by Aventinus (2011-03-18 19:22:06)

    I guess you're missing gnome-autogen.sh which is provided by gnome-common.
    # pacman -Qo gnome-autogen.sh
    /usr/bin/gnome-autogen.sh is owned by gnome-common 2.28.0-1
    Last edited by oliver (2011-03-18 18:07:05)

  • Cannot compile Lightspark, problem with llvm

    Hello,
    Lightspark is a new flash player for Flash 9 and more I would like to try. All is done for Ubuntu users, but for the others you have to compile the sources, that's what I am trying.
    During the compilation, here is what I got :
    [ 94%] Built target spark
    Scanning dependencies of target lightspark
    [ 97%] Building CXX object CMakeFiles/lightspark.dir/main.cpp.o
    Linking CXX executable lightspark
    /usr/bin/ld: cannot find -lLLVMLinker
    collect2: ld a retourné 1 code d'état d'exécution
    make[2]: *** [lightspark] Erreur 1
    make[1]: *** [CMakeFiles/lightspark.dir/all] Erreur 2
    make: *** [all] Erreur 2
    As far as I searched on Google, the problem should be easy to fix, there is one name file to change or one packet to download. If this is really the problem, which file/packet ?
    Lightspark wants the user to use cmake :
    [zarmakuizz@zarok objs]$ cmake -DCMAKE-BUILD-TYPE=Release ..
    -- The C compiler identification is GNU
    -- The CXX compiler identification is GNU
    -- Check for working C compiler: /usr/bin/gcc
    -- Check for working C compiler: /usr/bin/gcc -- works
    -- Detecting C compiler ABI info
    -- Detecting C compiler ABI info - done
    -- Check for working CXX compiler: /usr/bin/c++
    -- Check for working CXX compiler: /usr/bin/c++ -- works
    -- Detecting CXX compiler ABI info
    -- Detecting CXX compiler ABI info - done
    -- Found assembler: /usr/bin/nasm
    -- LLVM llvm-config found at: /usr/bin/llvm-config
    -- LLVM version: 2.7
    -- LLVM CXX flags: -I/usr/include  -DNDEBUG -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -O2 -fomit-frame-pointer -fno-exceptions -fno-rtti -fPIC -Woverloaded-virtual
    -- LLVM LD flags: -L/usr/lib/llvm  -lpthread -lffi -ldl -lm
    -- LLVM core libs: -lLLVMLinker -lLLVMArchive -lLLVMBitWriter -lLLVMBitReader -lLLVMInstrumentation -lLLVMipo -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMCore -lLLVMSupport -lLLVMSystem
    -- LLVM JIT libs: -lLLVMX86Disassembler -lLLVMX86AsmParser -lLLVMMCParser -lLLVMX86AsmPrinter -lLLVMX86CodeGen -lLLVMSelectionDAG -lLLVMAsmPrinter -lLLVMX86Info -lLLVMJIT -lLLVMExecutionEngine -lLLVMCodeGen -lLLVMScalarOpts -lLLVMInstCombine -lLLVMTransformUtils -lLLVMipa -lLLVMAnalysis -lLLVMTarget -lLLVMMC -lLLVMCore -lLLVMSupport -lLLVMSystem
    -- LLVM JIT objs:
    -- Found LLVM: /usr/include
    -- Looking for include files CMAKE_HAVE_PTHREAD_H
    -- Looking for include files CMAKE_HAVE_PTHREAD_H - found
    -- Looking for pthread_create in pthreads
    -- Looking for pthread_create in pthreads - not found
    -- Looking for pthread_create in pthread
    -- Looking for pthread_create in pthread - found
    -- Found Threads: TRUE
    -- Found CURL: /usr/lib/libcurl.so
    -- Found ZLIB: /usr/lib/libz.so
    -- checking for modules 'gl;libpcrecpp;libavcodec;libavutil;ftgl;x11'
    --   found gl, version 7.7.1
    --   found libpcrecpp, version 8.02
    --   found libavcodec, version 52.67.0
    --   found libavutil, version 50.15.2
    --   found ftgl, version 2.1.3~rc5
    --   found x11, version 1.3.3
    -- Loaded CMakeASM-NASMInformation - ASM-NASM support is still experimental, please report issues
    -- Configuring done
    -- Generating done
    -- Build files have been written to: /home/zarmakuizz/progra/lightspark-0.3.1/objs
    When compiling :
    [zarmakuizz@zarok objs]$ make
    Scanning dependencies of target spark
    [  2%] Building CXX object CMakeFiles/spark.dir/swf.cpp.o
    [  5%] Building CXX object CMakeFiles/spark.dir/swftypes.cpp.o
    /home/zarmakuizz/progra/lightspark-0.3.1/swftypes.cpp: In member function 'virtual void lightspark::FILLSTYLE::setFragmentProgram() const':
    /home/zarmakuizz/progra/lightspark-0.3.1/swftypes.cpp:1268:25: attention : unused variable 'buffer'
    /home/zarmakuizz/progra/lightspark-0.3.1/swftypes.cpp:1269:16: attention : unused variable 'grad_index'
    /home/zarmakuizz/progra/lightspark-0.3.1/swftypes.cpp:1271:7: attention : unused variable 'index_l'
    /home/zarmakuizz/progra/lightspark-0.3.1/swftypes.cpp:1273:7: attention : unused variable 'index_r'
    [  8%] Building CXX object CMakeFiles/spark.dir/tags.cpp.o
    [ 10%] Building CXX object CMakeFiles/spark.dir/geometry.cpp.o
    [ 13%] Building CXX object CMakeFiles/spark.dir/actions.cpp.o
    [ 16%] Building CXX object CMakeFiles/spark.dir/frame.cpp.o
    [ 18%] Building CXX object CMakeFiles/spark.dir/input.cpp.o
    [ 21%] Building CXX object CMakeFiles/spark.dir/streams.cpp.o
    [ 24%] Building CXX object CMakeFiles/spark.dir/tags_stub.cpp.o
    [ 27%] Building CXX object CMakeFiles/spark.dir/logger.cpp.o
    [ 29%] Building CXX object CMakeFiles/spark.dir/vm.cpp.o
    [ 32%] Building CXX object CMakeFiles/spark.dir/asobjects.cpp.o
    [ 35%] Building CXX object CMakeFiles/spark.dir/abc.cpp.o
    [ 37%] Building CXX object CMakeFiles/spark.dir/abc_codesynt.cpp.o
    /home/zarmakuizz/progra/lightspark-0.3.1/abc_codesynt.cpp: In member function 'lightspark::ASObject* (* lightspark::method_info::synt_method())(lightspark::call_context*)':
    /home/zarmakuizz/progra/lightspark-0.3.1/abc_codesynt.cpp:1611:53: attention : passing NULL to non-pointer argument 2 of 'static llvm::Constant* llvm::ConstantInt::get(const llvm::Type*, uint64_t, bool)'
    /home/zarmakuizz/progra/lightspark-0.3.1/abc_codesynt.cpp:2606:53: attention : passing NULL to non-pointer argument 2 of 'static llvm::Constant* llvm::ConstantInt::get(const llvm::Type*, uint64_t, bool)'
    [ 40%] Building CXX object CMakeFiles/spark.dir/abc_opcodes.cpp.o
    [ 43%] Building CXX object CMakeFiles/spark.dir/flashdisplay.cpp.o
    /home/zarmakuizz/progra/lightspark-0.3.1/flashdisplay.cpp: In static member function 'static lightspark::ASObject* lightspark::Graphics::lineTo(lightspark::ASObject*, lightspark::ASObject* const*, unsigned int)':
    /home/zarmakuizz/progra/lightspark-0.3.1/flashdisplay.cpp:1634:12: attention : unused variable 'th'
    /home/zarmakuizz/progra/lightspark-0.3.1/flashdisplay.cpp:1637:6: attention : unused variable 'x'
    /home/zarmakuizz/progra/lightspark-0.3.1/flashdisplay.cpp:1638:6: attention : unused variable 'y'
    /home/zarmakuizz/progra/lightspark-0.3.1/flashdisplay.cpp: In static member function 'static lightspark::ASObject* lightspark::Graphics::drawCircle(lightspark::ASObject*, lightspark::ASObject* const*, unsigned int)':
    /home/zarmakuizz/progra/lightspark-0.3.1/flashdisplay.cpp:1671:9: attention : unused variable 'x'
    /home/zarmakuizz/progra/lightspark-0.3.1/flashdisplay.cpp:1672:9: attention : unused variable 'y'
    /home/zarmakuizz/progra/lightspark-0.3.1/flashdisplay.cpp:1673:9: attention : unused variable 'radius'
    /home/zarmakuizz/progra/lightspark-0.3.1/flashdisplay.cpp: In static member function 'static lightspark::ASObject* lightspark::Graphics::drawRect(lightspark::ASObject*, lightspark::ASObject* const*, unsigned int)':
    /home/zarmakuizz/progra/lightspark-0.3.1/flashdisplay.cpp:1694:6: attention : unused variable 'x'
    /home/zarmakuizz/progra/lightspark-0.3.1/flashdisplay.cpp:1695:6: attention : unused variable 'y'
    /home/zarmakuizz/progra/lightspark-0.3.1/flashdisplay.cpp:1696:6: attention : unused variable 'width'
    /home/zarmakuizz/progra/lightspark-0.3.1/flashdisplay.cpp:1697:6: attention : unused variable 'height'
    [ 45%] Building CXX object CMakeFiles/spark.dir/flashevents.cpp.o
    [ 48%] Building CXX object CMakeFiles/spark.dir/textfile.cpp.o
    [ 51%] Building CXX object CMakeFiles/spark.dir/thread_pool.cpp.o
    [ 54%] Building CXX object CMakeFiles/spark.dir/flashgeom.cpp.o
    [ 56%] Building CXX object CMakeFiles/spark.dir/flashnet.cpp.o
    [ 59%] Building CXX object CMakeFiles/spark.dir/flashsystem.cpp.o
    [ 62%] Building CXX object CMakeFiles/spark.dir/flashutils.cpp.o
    [ 64%] Building CXX object CMakeFiles/spark.dir/compat.cpp.o
    [ 67%] Building CXX object CMakeFiles/spark.dir/abc_interpreter.cpp.o
    [ 70%] Building CXX object CMakeFiles/spark.dir/flashexternal.cpp.o
    [ 72%] Building CXX object CMakeFiles/spark.dir/flashtext.cpp.o
    [ 75%] Building CXX object CMakeFiles/spark.dir/flashmedia.cpp.o
    [ 78%] Building CXX object CMakeFiles/spark.dir/flv.cpp.o
    [ 81%] Building CXX object CMakeFiles/spark.dir/netutils.cpp.o
    [ 83%] Building CXX object CMakeFiles/spark.dir/timer.cpp.o
    [ 86%] Building CXX object CMakeFiles/spark.dir/decoder.cpp.o
    /home/zarmakuizz/progra/lightspark-0.3.1/decoder.cpp: In member function 'virtual bool lightspark::FFMpegDecoder::decodeData(uint8_t*, uint32_t)':
    /home/zarmakuizz/progra/lightspark-0.3.1/decoder.cpp:365:2: attention : 'int avcodec_decode_video(AVCodecContext*, AVFrame*, int*, const uint8_t*, int)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3448)
    /home/zarmakuizz/progra/lightspark-0.3.1/decoder.cpp:365:69: attention : 'int avcodec_decode_video(AVCodecContext*, AVFrame*, int*, const uint8_t*, int)' is deprecated (declared at /usr/include/libavcodec/avcodec.h:3448)
    /home/zarmakuizz/progra/lightspark-0.3.1/decoder.cpp:372:2: attention : comparaison entre des expressions entières signée et non signée
    [ 89%] Building CXX object CMakeFiles/spark.dir/threading.cpp.o
    [ 91%] Building CXX object CMakeFiles/spark.dir/flashxml.cpp.o
    /home/zarmakuizz/progra/lightspark-0.3.1/flashxml.cpp: In static member function 'static lightspark::ASObject* lightspark::XMLDocument::_constructor(lightspark::ASObject*, lightspark::ASObject* const*, unsigned int)':
    /home/zarmakuizz/progra/lightspark-0.3.1/flashxml.cpp:46:15: attention : unused variable 'th'
    [ 94%] Building ASM-NASM object CMakeFiles/spark.dir/fastpaths_64.asm.o
    Linking CXX static library libspark.a
    [ 94%] Built target spark
    Scanning dependencies of target lightspark
    [ 97%] Building CXX object CMakeFiles/lightspark.dir/main.cpp.o
    Linking CXX executable lightspark
    /usr/bin/ld: cannot find -lLLVMLinker
    collect2: ld a retourné 1 code d'état d'exécution
    make[2]: *** [lightspark] Erreur 1
    make[1]: *** [CMakeFiles/lightspark.dir/all] Erreur 2
    make: *** [all] Erreur 2
    I don't know what to do to fix it Any idea ?
    Regards,
    Zarmakuizz

    Check here
    http://bbs.archlinux.org/viewtopic.php?id=97363

  • Cannot Compile when using FileInputStream

    I am trying to read data from a file...
    I cannot compile this and I have tried importing all of the java.io.* classes and it still does not compile.
    Help!
    I have the following imports:
    import net.rim.device.api.ui.*;
    import net.rim.device.api.system.Application;
    import javax.microedition.io.*;
    import javax.microedition.io.file.*;
    import java.io.*;
    import net.rim.device.api.ui.component.*;
    import net.rim.device.api.ui.container.*;
    import net.rim.device.api.system.Bitmap;
    import net.rim.device.api.system.*;
    import JavaProjects.JDE42.EmergInfo.Resource.*;
    import net.rim.device.api.i18n.*;
    And the code snippet:
    private void ReadDataFile()
    try {
    FileInputStream fstream = new FileInputStream(_resources.getString(EmergInfoResResource.DWI_DATAFILE));
    DataInputStream in = new DataInputStream(fstream);
    BufferedReader br = new BufferedReader(new InputStreamReader(in));
    String strLine;
    //Read File Line By Line
    while ((strLine = br.readLine()) != null) {
    // Print the content on the console
    System.out.println (strLine);
    //Close the input stream
    in.close();
    }catch (Exception e){//Catch exception if any
    System.err.println("Error: " + e.getMessage());
    On compile, I get the following errors:
    Building EmergInfo_DWI
    C:\Program Files\Research In Motion\BlackBerry JDE 5.0.0\bin\rapc.exe -quiet codename=EmergInfo_DWI EmergInfo_DWI.rapc warnkey=0x52424200;0x52525400;0x52435200 import="C:\Program Files\Research In Motion\BlackBerry JDE 5.0.0\lib\net_rim_api.jar" D:\JavaProjects\JDE42\EmergInfo\img\DWI_Main.jpg D:\JavaProjects\JDE42\EmergInfo\img\DWI_Main_bw.jpg D:\JavaProjects\JDE42\EmergInfo\Resource\EmergInfoRes.rrc D:\JavaProjects\JDE42\EmergInfo\Resource\EmergInfoRes.rrh D:\JavaProjects\JDE42\EmergInfo\Source\DWI_Main.java D:\JavaProjects\JDE42\EmergInfo\Source\DWI_Main_Screen.java
    D:\JavaProjects\JDE42\EmergInfo\Source\DWI_Main.java:68: cannot find symbol
    symbol : class FileInputStream
    location: class Source.DWI_Main
    FileInputStream fstream = new FileInputStream(_resources.getString(EmergInfoResResource.DWI_DATAFILE));
    ^
    D:\JavaProjects\JDE42\EmergInfo\Source\DWI_Main.java:68: cannot find symbol
    symbol : class FileInputStream
    location: class Source.DWI_Main
    FileInputStream fstream = new FileInputStream(_resources.getString(EmergInfoResResource.DWI_DATAFILE));
    ^
    D:\JavaProjects\JDE42\EmergInfo\Source\DWI_Main.java:72: cannot find symbol
    symbol : class BufferedReader
    location: class Source.DWI_Main
    BufferedReader br = new BufferedReader(new InputStreamReader(in));
    ^
    D:\JavaProjects\JDE42\EmergInfo\Source\DWI_Main.java:72: cannot find symbol
    symbol : class BufferedReader
    location: class Source.DWI_Main
    BufferedReader br = new BufferedReader(new InputStreamReader(in));
    ^
    4 errors

    What I have installed:
    Blackberry JDE 4.2.0
    Blackberry JDE 5.0.0
    Java DB 10.5.3.0
    Java SE Development Kit Update 22
    Java Platform, Enterprise Edition 5 SDK
    Seems I do not have the ME stuff installed...
    Edited by: 802969 on Oct 16, 2010 2:07 PM

  • Cannot compile Java files or create Java Project

    Hi,
    I cannot compile java files and also didn't see any option
    for creating java project using flex 2 builder.
    Actually am trying to create a FDS project with an option to
    compile on the server. I am using Weblogic 8.1 SP5 as my server.
    thank you
    sun

    hi
    this is may jvm.config file. Can anyone tell me if it is
    right because all the fields are blank.
    # VM configuration
    # Where to find JVM, if {java.home}/jre exists then that JVM
    is used
    # if not then it must be the path to the JRE itself
    # If no java.home is specified a VM is located by looking in
    these places in this
    # order:
    # 1) JAVA_HOME environment variables (same rules as java.home
    above)
    # 2) bin directory for java.dll (windows) or
    lib/<ARCH>/libjava.so (unix)
    # 3) ../jre
    # 4) registry (windows only)
    java.home=C:\Adobe\Flex Builder 2.0 Beta 3\Flex SDK 2.0\jre
    # Arguments to VM
    java.args=-ea -Xmx384m
    # Environment variables we care about, whitespace-separated
    env=
    # java.class.path - use this for adding individual jars or
    # directories. When directories are included they will be
    searched
    # for jars and zips and they will be added to the classpath
    (in
    # addition to the directory itself), the jar to be used in
    launching
    # will be appended to this classpath
    java.class.path=C:\Adobe\Flex Builder 2.0 Beta 3\Flex SDK
    2.0\jre
    # where to find shared libraries, again use commas to
    separate entries
    java.library.path=
    thanks
    sun

  • Cannot compile java file after ..

    i installed java sdk 1.4
    uninstalled java 1.2 & java 1.3.1
    --after that i was not able to compile or run java file
    reinstalled java 1.3.1 and 1.2
    --now able to run previously compiled java file
    --cannot compile a new java file
    any help

    It would be helpful if you would exactly tell us what error message you get instead of just saying "I can't compile or run anything anymore".
    Things to think of: Did you add the bin directory of the JDK to your path? Is the classpath set correctly?
    Installation notes
    http://java.sun.com/j2se/1.4/install-windows.html
    Setting the class path
    http://java.sun.com/j2se/1.4/docs/tooldocs/win32/classpath.html
    Java 2 SDK Readme
    http://java.sun.com/j2se/1.4/README.html
    Jesper

  • I cannot sit outside for more than 45 minutes without my ipad shutting down due to heat. is there a way to fix this?

    i cannot sit outside for more than 45 minutes without my ipad shutting down due to heat. is there a way to fix this?

    What model iPad? What is the outside temperature?
    When outside what are you doing on the iPad - running a graphic intensive app?
    iPad operating ambient temperature: 0° to 35° C (32° to 95° F)
     Cheers, Tom

  • Cannot Compile. Pls. help!

    I cannot compile the following program which calls for another 6 class files from its code. Please note the main program (DiveLog.java)+the other 6 class files are stored in the same directory.
    And also as this involves "package" I tried to compile it as "javac -classpath DiveLog.jav". But I still get the 'cannot resolve symbol' error messages.
    DiveLog.java (Main Program)
    package DiveLog;
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class DiveLog
    private JFrame dlframe; //Not assigned yet.
    private JTabbedPane tabbedPane; //Not assigned yet.
    //Begins Constructor
    public DiveLog()
    // Create a frame object to add the application GUI components to.
    dlframe = new JFrame("A Java(TM) Technology Dive Log");
    // Closes from title bar and from menu
    dlframe.addWindowListener(new WindowAdapter()
    public void windowClosing(WindowEvent e)
    System.exit(0);
    // Tabbed pane with panels for Jcomponents
    // Instantiate JTabbedPane with keyword new
    tabbedPane = new JTabbedPane(SwingConstants.LEFT);
    // Calls method to set color
    tabbedPane.setBackground(Color.blue);
    tabbedPane.setForeground(Color.white);
    populateTabbedPane();
    //Calls the method that builds the menu
    buildMenu();
    dlframe.getContentPane().add(tabbedPane);
    dlframe.pack();
    dlframe.setSize(765, 690);
    dlframe.setBackground(Color.white);
    dlframe.setVisible(true);
    }// Ends Constructor
    private void populateTabbedPane()
    // Create tabs with titles
    tabbedPane.addTab("Welcome", null, new Welcome(), "Welcome to the Dive Log");
    tabbedPane.addTab("Diver Data", null, new Diver(), "Click here to enter diver data");
    tabbedPane.addTab("Log Dives", null, new Dives(),
    "Click here to enter dives");
    tabbedPane.addTab("Statistics", null, new Statistics(),
    "Click here to calculate" + " dive statistics");
    tabbedPane.addTab("Favorite Web Site", null, new Website(),
    "Click here to see a web site");
    tabbedPane.addTab("Resources", null, new Resources(),
    "Click here to see a list of resources");
    } //Ends populateTabbedPane method
    // Method header
    private void buildMenu()
    // Instantiates JMenuBar, JMenu,
    // and JMenuItem.
    JMenuBar mb = new JMenuBar();
    JMenu menu = new JMenu("File");
    JMenuItem item = new JMenuItem("Exit");
    //Closes the application from the Exit menu item.
    item.addActionListener(new ActionListener()
    public void actionPerformed(ActionEvent e)
    System.exit(0);
    } // Closes actionPerformed method
    }); // Closes addActionListener method
    //Adds the item to the menu object
    menu.add(item);
    //Adds the menu object with item onto the menu bar
    mb.add(menu);
    //Sets the menu bar in the frame
    dlframe.setJMenuBar(mb);
    } //Ends buildMenu method
    public static void main(String[] args)
    DiveLog dl = new DiveLog();
    } //Ends Class
    ===========================================
    Welcome.class (one of the 6 class files.The other 5 are identical to this.)
    package divelog;
    * This class creates the content on the
    * Welcome tabbed pane in the Dive Log
    * application.
    * @version 1.0
    //import for buttons, labels, and images
    import javax.swing.*;
    //import for layout manager
    import java.awt.*;
    public class Welcome extends JPanel
    { //Opens class
    }//Closes class
    =========================================================

    Might be a typo when you posted, but your DiveLog class is in package DiveLog, whereas your Welcome class is in package divelog (note the capitalization differences).
    And even though they're in the same package, i'm always a fan of importing all the files you're going to need explicitly, such as
    import divelog.Welcome
    this applies to using the wildcard character too (as in, you shouldn't) to import files. Explicitly listing all imports allows you, and any other developer, to quickly see a list of all classes used.

  • Cannot compile body of dbms_utility without its specification

    hi there!
    I just got this error on my 11g EE database
    yesterday had power problems, and the backup batery did not work(but it happens very often)
    today, trying to send email with a job, i realized through TOAD that sys has 304 invalid objects.
    Try to compile and it seems something missing.
    "cannot compile body of dbms_utility without its specification"
    I cant find that specification and no forums found related to this.
    need help from experts..
    S.O. Oracle enterprise linux 4.7
    D.B. Oracle Enterprise 11.2
    thanks!

    Virendra, thanks for your time, this is the output
    Connected to:
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
    With the Partitioning, OLAP, Data Mining and Real Application Testing options
    SQL> ALTER PACKAGE SYS.DBMS_UTILITY COMPILE;
    show errors
    ALTER PACKAGE SYS.DBMS_UTILITY COMPILE BODY;
    show errors
    Warning: Package altered with compilation errors.
    SQL> Errors for PACKAGE SYS.DBMS_UTILITY:
    LINE/COL ERROR
    262/75     PLS-00103: Encountered the symbol "end-of-file" when expecting
         one of the following:
         end function pragma procedure subtype type <an identifier>
         <a double-quoted delimited-identifier> current cursor delete
         exists prior
    SQL>
    Warning: Package Body altered with compilation errors.
    SQL>

  • PLS-00304: cannot compile body of 'PA_TIME_CLIENT_EXTN' without its specifi

    Hi expert,
    We are trying the validate the PA_TIME_CLIENT_EXTN package body. It is giving the below error.
    0/0 PL/SQL: Compilation unit analysis terminated
    1/14 PLS-00905: object APPS.PA_TIME_CLIENT_EXTN is invalid
    1/14 PLS-00304: cannot compile body of 'PA_TIME_CLIENT_EXTN' without
    its specification
    My environment details are as below.
    Oracle apps version: 11.5.10.2
    DB version : 11.2.0.1
    OS version : IBM AIX 6.1
    Please help me on this.
    Thanks

    This error is usually seen when you have a different datatype specification in your package specification and your package body. I think that is some thing you might want to check first.
    Regards,
    Johan Louwers

  • [SOLVED] Cannot compile dvb drivers.

    Hi,
    I'm setting up a htpc media center based on arch with mythtv and xbmc. I've installed the base and base-devel packages and I need to compile the tbs-dvb-drivers to make my TBS 6280 DVB-T2 card work.
    Unfortunately I cannot compile the drivers as the compile process seems to enter in a loop, it continues to show the following output:
    TBS drivers configured for x86_64 platform.
    make -C /home/media/tbs-dvb-drivers/src/linux-tbs-drivers/v4l
    make[1]: ingresso nella directory "/home/media/tbs-dvb-drivers/src/linux-tbs-drivers/v4l"
    scripts/make_makefile.pl
    ./scripts/make_kconfig.pl /lib/modules/3.11.6-1-ARCH/build /lib/modules/3.11.6-1-ARCH/build
    Preparing to compile for kernel version 3.11.6
    ***WARNING:*** You do not have the full kernel sources installed.
    This does not prevent you from building the v4l-dvb tree if you have the
    kernel headers, but the full kernel source may be required in order to use
    make menuconfig / xconfig / qconfig.
    If you are experiencing problems building the v4l-dvb tree, please try
    building against a vanilla kernel before reporting a bug.
    Vanilla kernels are available at http://kernel.org.
    On most distros, this will compile a newly downloaded kernel:
    cp /boot/config-`uname -r` <your kernel dir>/.config
    cd <your kernel dir>
    make all modules_install install
    Please see your distro's web site for instructions to build a new kernel.
    ./scripts/make_myconfig.pl
    scripts/make_makefile.pl
    ./scripts/make_kconfig.pl /lib/modules/3.11.6-1-ARCH/build /lib/modules/3.11.6-1-ARCH/build
    Preparing to compile for kernel version 3.11.6
    ***WARNING:*** You do not have the full kernel sources installed.
    This does not prevent you from building the v4l-dvb tree if you have the
    kernel headers, but the full kernel source may be required in order to use
    make menuconfig / xconfig / qconfig.
    If you are experiencing problems building the v4l-dvb tree, please try
    building against a vanilla kernel before reporting a bug.
    Vanilla kernels are available at http://kernel.org.
    On most distros, this will compile a newly downloaded kernel:
    cp /boot/config-`uname -r` <your kernel dir>/.config
    cd <your kernel dir>
    make all modules_install install
    Please see your distro's web site for instructions to build a new kernel.
    ./scripts/make_myconfig.pl
    scripts/make_makefile.pl
    ./scripts/make_kconfig.pl /lib/modules/3.11.6-1-ARCH/build /lib/modules/3.11.6-1-ARCH/build
    Preparing to compile for kernel version 3.11.6
    ***WARNING:*** You do not have the full kernel sources installed.
    This does not prevent you from building the v4l-dvb tree if you have the
    kernel headers, but the full kernel source may be required in order to use
    make menuconfig / xconfig / qconfig.
    If you are experiencing problems building the v4l-dvb tree, please try
    building against a vanilla kernel before reporting a bug.
    Vanilla kernels are available at http://kernel.org.
    On most distros, this will compile a newly downloaded kernel:
    cp /boot/config-`uname -r` <your kernel dir>/.config
    cd <your kernel dir>
    make all modules_install install
    Please see your distro's web site for instructions to build a new kernel.
    ./scripts/make_myconfig.pl
    scripts/make_makefile.pl
    ./scripts/make_kconfig.pl /lib/modules/3.11.6-1-ARCH/build /lib/modules/3.11.6-1-ARCH/build
    Preparing to compile for kernel version 3.11.6
    I've waited up to 20 minutes, but the process seems stucked and the size of the folder doesn't grow up.
    It's true that I have just the kernel-headers installed. In addition make continues to warn me that the edit date of several files is newer than the actual. Initially the date of the system was wrong (but not older than the file's) but now I've fixed it with the correct date in UTC. The problem persists.
    I've also tried to compile from source directly but make enters into the same loop and gives me the same warnings.
    Thank you in advance for any kind of help.
    Regards.
    Last edited by fasigno (2013-11-03 21:40:00)

    First make sure you have the core-devel package group installed. This is required to build AUR package in general.
    Next, check to see if you have kernel-headers and v4l-utils installed? If not install them both and try again. I'm not sure if they are hard dependancies or not.
    EDIT: Sorry, I see you wrote that you installed core-devel and kernel-headers already. It looks like you may have a time zone and hardware clock sync problem. If you just installed arch, make sure the timezone and locale are correct and havn't been altered since you first installed your system. If that's all good, then install the AUR package cleanly from scratch again.
    Do you have NTP running?
    Last edited by wdirksen (2013-11-03 20:36:18)

  • Solaris 10 x86 b72 "Cannot find boot.bin" booting from SCSI.

    Hello,
    After several gyrations of installation attempts and dealing with early BIOS PnP issues, I've finally managed to get Solaris 10 x86 installed on an old dual P2 333Mhz system. So far the system is running flawlessly, but I'm still not able to boot directly off the SCSI disk. The primary boot handler is erroring out that it cannot find boot.bin.
    I can boot fine off of the IDE CD drive and the floppy (currently pointed to autoboot into the SCSI disk as a workaround). But when I try to boot directly off the SCSI drive, I get the error from the Solaris boot manager that it "Cannot find boot.bin".
    I have booted off the CD & Floppy and compared the /boot files from both the CD & floppy, but I cannot find any difference that would prevent the primary boot loader from finding boot.bin. I've even compared files to make sure they were not corrupt, and even force re-installed the boot handlers, and manually partioning, always with the same results. I've also tried both enabling and disabling the DOS >1G translation of the Adaptec SCSI BIOS with no change. I can't find any reason that the boot loader is not seeing boot.bin, or that the file is corrupt in any way (even after several wipe and install attempts).
    My System is:
    Supermicro P6DLS dual Pentium II 333MHz & 512MB RAM, w/ Adaptec 7880 SCSI-UW and IDE (whopping UltraDMA 33) interfaces.
    CD/DVD reader is configured as the secondary master (moved from primary master in an attempt to fix boot problem)
    HD is a 16GB UW SCSI disk.
    (Other particulars ommited unless someone feels they are relevant to the boot process).
    The system came to me with Windows 2000 installed and functioning. I also had Fedora Core 3 installed, both with no boot problems of the SCSI disk. (Although FC3 would not see the second processor even with the canned SMP kernel).
    This system is intended to replace a Fedora Core 3 system to be a multi-purpose firewall gateway & proxy server and I'm really liking the performance I'm seeing with Solaris 10 on this system but would like it to be able to go through a normal boot process and not have to depend on a floppy as a boot device to get started.
    Anyone have any ideas why the Solaris x86 boot loaders think that they cannot find boot.bin when the full /boot partion is intact?
    TIA,
    -Troy

    I'm getting the same problem trying to install
    Solaris 10 in VMware from DVD.
    It brings up the Solaris Primary Boot Subsystem, so
    it appears to be reading fine, but the only thing
    that happens is I get the Cannot find boot.bin
    error.Hmm, the "Cannot find boot.bin." message comes from the
    CD/DVD's boot code, which is contained in the first 16 sectors
    of the media.
    The boot.bin file is supposed to be read from the Solaris UFS
    slice, which starts at 512 byte block #5151360 (or 2048 byte
    dvd sector #1287840). This a byte offset of ~2.6 GBytes.
    Maybe an issue with your system's bios not being able to read
    DVD media > 2GB, during DVD boot?
    Or a problem with burning the DVD media? Maybe some
    "smart" PC DVD burning software has decided only to record
    the 2.6 GB ISO filesystem, and the 100 MB Solaris UFS
    filesystem that follows the ISO filesystem is missing on the DVD?
    Or a 2GB filesize issue while burning the DVD?
    Do you have a pc / windows utility that can print some information
    about the S10 DVD media, especially the size of that DVD?
    Maybe your CD/DVD recording software?
    The original S10 GA x86 DVD image has a size of 2732195840
    bytes, or 1334080 2K DVD blocks.

  • Sccm 2012 r2 error setup cannot compile mof file tasksequenceprovider.mof

    Am getting this error during SCCM 2012 R2 installation on the same server which has SQL 2012 with SP1. "setup cannot compile mof file tasksequenceprovider.mof". Any help?

    Hi,
    The following blog introduced a tool scans winodws module which may help find out the missing file.
    http://blogs.technet.com/b/configurationmgr/archive/2010/01/05/the-configuration-manager-service-pack-install-guide.aspx

Maybe you are looking for

  • Help with boot camp PLEASE

    I bought windows 7 earlier installed everything but the problem is my mac did not bring the mac os x dvd/cd so i installed the update 3.0 and 3.1 and 3.2 and i still cant use the internet and im still missing driviers can any one help me out what im

  • Looong render times with motion templates

    I've been a big advocate for FCPX as there are a lot of great features but there are some things that are just killing me, no.1 render time. I'm working on some simple presentation edits using motion templates I have built in motion 5 and published t

  • CS6: Where are smart objects stored?

    I've been working on some very large files where the primary image is converted to a smart object. For security I've backed up the PS files to another drive. Is the smart object part self contained? or stored as a separate lined file? Like if I had a

  • Export settings within Server Admin doesn't really

    So I've had a whootin good time with a migration. Situation was a dual g4 died on me, right after I'd imaged it to a mac mini. I have another mac mini that I wanted to setup as a backup machine/tester. I tried one time to export all the server settin

  • SNMP v3 Migration

    I need to implement SNMP v3 across a large estate ~ 400 devices, primarily so that these devices can be managed by CW Prime LMS 4.2.  I have tested this manually and I'm getting LMS talking to the test device ok so I'm getting to grips with things.