Question about packages

Hello! I'm pretty new to java and had a quick question. Lets say I have a class called homework1 and another class called building. Each class is public but in separate packages. I want to create an object of
building within the homework1 class (this class contains main). Normally you would simply type something along the lines of:
Building house = new Building();however when I try this it doesn't work, says something along the lines of the type cannot be resolved. If I move homework1 into the same package as Building it works perfectly fine. What am I doing wrong? It's a requirement that the classes be in separate packages so I can't simply place them in one. Any help, tips or suggestions are greatly appreciated! Thanks.

Classes from other packages have to be imported.

Similar Messages

  • Basic Questions about Package Installation

    I have one basic question about installing packages.
    How can I find out if needed software is already installed without knowing the name of the package?
    For e.g. I want to know, if the MYSQL Server is already installed but I don't know the Package name.
    How can I find out the package name of needed software?

    Difficult.
    Assuming the string "MYSQL" appears somewhere in the package
    name or the package description, you can grep the output from
    "pkginfo". That is "pkginfo | grep -i sql" would list all installed
    packages that contain the substring "sql" with either upper- or
    lowercase letters.

  • Question about packages from AUR that get into [community]

    just noticed that powerpill is out of the AUR and into [community] (yeah!).  My question: since I installed powerpill and its two deps from the AUR, should I uninstall the versions that I built from the AUR then install from the repo or doesn't it matter?  In other words, will pacman know that these are in the repos and if updates are posted, will it fetch them just like any other package?
    I think the answer is no to the uninstall and yes to pacman just working, but I'd like to hear from the pros
    Thanks!

    Thanks for the confirmation.  Powerpill rocks - I'm very glad to see that it's in [community] now.  I took a stab at updating the beginners guide with an entry about it.  I don't have much time tonight to do it justice, but at least it's a start.

  • A simple question about packaging

    Hello,
    I have a question related to java package.
    I download a java package from web, suppose the jar file is: fghi.jar, includes classes and source files.
    I copy it to c:\temp\ directory, and then uncompress it onto my C:\temp\ directory.
    Then the directory structure is: c:\temp\com\abcd\fghi\swing
    one of the file under c:\temp\com\abcd\fghi\swing directory is Test.java:
    package com.abcd.fghi.swing;
    public class Test {
    public static void main(String[] args){
    I want to run the test program after compiling it
    c:\temp\com\abcd\fghi\swing\java Test
    Then it gives the error message:
    "Exception in thread "main" java.lang.NoClassDefFoundError"
    By the way, I had modified my CLASSPATH variable,
    CLASSPATH=c:\temp\fghi.jar
    My computer OS is windows 2000.
    Can anyone tell me how I can run it successfully?
    Thank you very much!

    If you didn't change anything in the java program, you don't need to compile them. In order to run the Test java program, change current directory to c:\temp and run following command.
    java com.abcd.fghi.swing.Test

  • General question about packages after the -Rs removal

    Hi !
    This is more of curiosity question . I was always wondering after i perform the command pacman -Rs package and then i try to install it again the downloaded size is 0 kb
    Meaning that the file is already stored on my hard drive . How can those packages be removed from my hard disk ?

    shak wrote:OK thanks for your help . The only relevant command i found is pacman with the  -n option , nosave. Is this the one ?
    No. the nosave option is for config files that would be saved as .pacnew if the option was not passed in.
    What you need is
    sudo pacman -Sc
    This will clean your cache and remove all the packages that are NOT installed on your system.
    If you want to remove every package from the cache then pass in an extra -c option
    sudo pacman -Scc

  • Question about package replication retry

    Hello. My environment is SCCM 2012 SP1. I will be setting up several remote distribution points that are rebooted daily. Once the distribution points are up, I will need to distribute several large packages to them. Because of the bandwidth available,
    the packages cannot complete before a reboot is finished. My understanding is that SCCM will retry to distribute a package 100 times before stopping. Also, my understanding is that SCCM will also start over where it stopped during the previous retry and not
    start completely start the distribution from the beginning. Is this correct?

    Retry value by default is 100, you can change that if you wish.
    For content distribution to DP, TechNet does not mention anything about resume option between site server and DPs:
    http://technet.microsoft.com/en-us/library/gg712694.aspx#BKMK_MonitorContent
    Clients can do that though by using BITS enabled DP.
    I found this for SCCM 2007:
    BITS is never used to transfer content from the site server to the distribution point. The site server always uses SMB to copy packages to distribution points and does not use any throttling or fault tolerance.
    http://technet.microsoft.com/en-us/library/bb932208.aspx

  • Question about packaging material

    Hello all,
    i have encountered an interesting problem.
    I create an order with material r-1150 qty = 10.
    and in delivery i used 2 packaging material, each for 5 pc.
    1. PK-100
    2. PK-095,
    thus 2 HUs are created
    however only PK-095 can be displayed in delivery item list ( together with Material r-1150) .the PK-100 is missing.
    and in the following TO, by picking , i can also only confirm the material and PK-095. and the material qty = 10 .
    then I tried to package with only pk-100, and it is still missing from the delivery item list.
    one thing more weird is , if i change manually in Picking the pk-100 to pk-095, even Pk-095 wont be displayed. Only when I empty the box, and delete the HU and create a new HU with Pk-095, then it could be displayed.
    So do you know how to control this ? and where i can configure to hidden and display the packaging material ?
    thanks!
    regards
    Recke

    Hello, Sridhar,
    first, thanx for ur answer,
    but I think u misunderstood it.
    In the first 1. example
    In the delivery, I packed the qty 10 into 2 different packaging material
    1. PK-100 ---- 5 pc
    2. PK-095 ---- 5 pc.
    but in the item list of delivery, i can only see PK-095, and the following TO, I can pick the total 10 pc and PK-095
    but the PK-100 is missing ( despite that it contains 5 pcs)
    In the 2nd example.
    I only use PK-100 to pack in delivery, but still missing in the item list. That means only my 10 pc product is there.
    see attached file
    in my example 3
    I only use PK-095 as packaging material, it displays together product.with out any problem.
    so do u know what is the matter here ??

  • One question about package

    this why?
    E:\com\mysite\io>javac FileSize.java
    FileSize.java:1: ';' expected
    package com.mysite.io;
    source code as follows
    package com.mysite.io;
    import java.io.*;
    public class FileSize
    public static void main(String[] arg)
         System.out.println("java FileSize <Path>");
    }

    You need to compile classes that belong to packages from the package root directory.
    E:\>javac com/mysite/io/FileSize.java

  • [SOLVED] Question about package updates and ABS

    Hello,
    I have manually compile my kernel in order to apply a patch my laptop needs to suspend. So I use abs and customize the pkgbuild. A few days ago when the update for kernel26-2.6.33.3-2 came out, I thought I'd just refresh abs, rebuild, and then I'd be up to date. But instead now pacman -Syu tells me that there is still an update for the kernel.
    Does building from ABS not get you the latest package update?
    Also, what exactly is the package update compared to a software update? I'm guessing that it is an arch only update to the package but the software itself is the same version. Or am I totally off?
    Thanks for the help!
    Last edited by Fingel (2010-05-12 03:42:38)

    When building via ABS, the package installed gets its version from the PKGBUILD ($pkgver-$pkgrel).  Pacman just looks at available version vs installed version to tell if you should upgrade.
    Your abs tree was probably just not up to date; just because pacman -Syu says your mirror has a package, doesn't mean building via abs _at that moment_ will get that version.
    Be sure to run `abs` to update your tree, then when you're editing the PKGBUILD, check which version it's building.  In some cases, you can simply increment those numbers right in the PKGBUILD before building as source files are often fetched based on those variables, etc. -- but I don't know if I'd recommend that when building something like the kernel.
    Last edited by brisbin33 (2010-05-11 17:08:12)

  • A question about package,help.thank you

    i want to put HelloWorld.class input package myfile,but the subfolder myfile did not appear.
    i want to know why.
    thank you.
    i am a beginner.
    package myfile;
    public class HelloWorld
         public static void main(String[] args)
              System.out.println("hello,world");
    }

    folder will not appear. u have to create it and then put ur program inside it and run it from there.
    result will be on dos prompt or inside ur editor: "hello world" bye,
    Samir

  • Qustions about Package "Groups"

    Hello,
    I have some general questions about package "groups" in Pacman. Mainly, I'm curious about who is responsible for deciding when a group will be made and what packages will be included. For example, I type in "pacman -S gnome" and get this:
    gnome package not found, searching for group...
    :: group gnome (including ignored packages):
    epiphany gnome-applets gnome-backgrounds gnome-control-center
    gnome-desktop gnome-icon-theme gnome-media gnome-mime-data gnome-mount
    gnome-panel gnome-screensaver gnome-session gnome-settings-daemon
    gnome-themes gnome2-user-docs libgail-gnome metacity nautilus
    notification-daemon yelp
    :: Install whole content? [Y/n]
    Who decides what all those packages will be? Is there a place where users can provide input about what should be included? I realize a big part of package groups by be simply ease of dependecy managent, but it seems it would be a useful tool for users to get a system up and running quickly. For example, there are several basic things that one would need to get a usable "desktop" up and running (not counting the WM or DM). For example, xorg, alsa, etc.
    I understand that Arch is all about simplicity and building a system from the ground up, which I totally love, but many of us are still going to have the same core goals in mind when setting up a "desktop" system.  We're all going to need xorg, want sound, desire pretty fonts, and have some common useful apps. So, for anyone that falls into that category, a package group called something like "arch-desktop" could include some of these core components. We could even eventually have additional groups tailored towards specific DMs like "arch-desktop-xfce" or "arch-desktop-gnome".
    Now, I realize I've totally spun this specifically for this propsed "arch-desktop" group but I guess my main point was to find out where one could provide official input for such things.
    Thanks!
    Swill

    Mr. Swillis wrote:It seems to me like something that could make things "quicker" for an advanced user to get setup (less stuff to remember) and perhaps "easier" for teaching new Arch users.
    Since pacman will resolve all dependencies, all you need is to do a
    # pacman -Syu
    # pacman -S gnome
    after a core-install. Everything else you would need, could be clutter to someone else. I don't believe there is something as a 'sane default of packages'. Maybe if you're a fan of a particular windowmanager, then you might be interested in what the majority uses for a panel, a taskbar, a background-image-viewer, but also then there are so many choices and personal preferences that everyone could make his or her own group of packages.
    my 0.02€

  • A question about creating packages as local objects in ABAP

    Hi,
    I have a question about creating packages with SE80. Whenever I create a new package it is assigned a new transport request. After that, I can create new programs inside this package, and each time I can choose whether to assign the new program to a transport request or just save it as a local object (I often do this for test programs that I don't transport and I remove them once my tests have been done).
    What I would like to ask is that, is it possible to create a package (and not just programs inside a given package) as a local object? so that every new object created in this package will be considered as a local object?
    Thanks in advane,
    Kind Regards,
    Dariyoosh

    Thomas Zloch wrote:
    Please also check the F1 help for the package field e.g. in SE80, SAP standard is in range A-S and U-X, namespaces start with "/", so you should be save. I am using the T namespace for temporary stuff since a long time and did not have a problem so far.
    > Thomas
    >
    > P.S. this applies to the package name only, of course
    Thank you very much for this remark, I checked F1 help for the package field and in fact as you mentioned these ranges are for local objects.
    Once again, thank you very much for your help.
    Kind Regards,
    Dariyoosh

  • Question about some packages in arch

    Hello
    Where do I report/ask about packages in arch *like in AUR there is a comment section*
    The reason is because well the package (sdl) didn't had PulseAudio support so I was wondering where to report it and KTorrents didn't bring any plug-ins with the package (plus I can't compile it since there is a phonon error I don't get)
    sorry if this wasn't the section,
    Thanks

    alright, thanks fukawi2, wonder
    well, i'm compiling them alright, but not ABS *need to read the wiki*
    Last edited by akurashy (2009-08-16 15:30:33)

  • Some questions about Muse

    First of all, I would like to say that I am very impressed with how well Muse works and how easy it was to create a website that satisfies me. Before I started a daily updated website I thought I would encounter many problems I will not be able to solve. I have only had a few minor issues which I would like to share with you.
    The most problems I have with a horizontal layouts (http://www.leftlane.pl/sty14/dig-t-r-3-cylindrowy-silnik-nissana-o-wadze-40-kg-i-mocy-400- km.html). Marking and copying of a text is possible only on the last (top) layer of a document. The same situation is with widgets or anything connected with rollover state - it does not work. In the above example it would be perfect to use a composition/tooltip widget on the first page. Unfortunately, you cannot even move the cursor into it.
    It would be helpful to have an option of rolling a mouse to an anchor (like in here http://www.play.pl/super-smartfony/lg-nexus-5.html and here http://www.thepetedesign.com/demos/onepage_scroll_demo.html).  I mean any action of a mouse wheel would make a move to another anchor/screen. It would make navigation of my site very easy.
    Is it possible to create a widget with a function next anchor/previous anchor? Currently, in the menu every button must be connected to a different anchor for the menu to be functional.
    A question about Adobe Muse. Is it possible to create panels in different columns? It would make it easier to go through all the sophisticated program functions.
    The hits from Facebook have sometimes very long links, eg.
    (http://www.leftlane.pl/sty14/mclaren-p1-nowy-krol-nurburgring.html?fb_action_ids=143235557 3667782&fb_action_types=og.likes&fb_source=aggregation&fb_aggregation_id=288381481237582). If such a link is activated, the anchors in the menu do not work on any page. I mean the backlight of an active state, which helps the user to find out where on page they currently are. The problem also occurs when in the name of a html file polish fonts exist. And sometimes the dots does not work without any reason, mostly in the main page, sometimes in the cooperation page either (http://www.leftlane.pl/wspolpraca/). In the first case (on main page), I do not know why. I have checked if they did not drop into a state button by accident,  moved them among the layers, numbered them from scratch and it did not help. In the cooperation page, the first anchor does not work if it is in Y axle set at 0. If I move it right direction- everything is ok.
    The text frame with background fill does not change text color in overlay state (http://www.leftlane.pl/sty14/nowe-mini-krolestwo-silnikow-3-cylindrowych.html). I mean a source button at the beginning of every text. I would like a dark text and a light layer in a rollover, but  the text after export and moving cursor into it does not change color for some reason.
    I was not sure whether to keep everything (whole website) in one Muse file (but I may be mistaken?). I have decided to divide it into months. Everyone is in a different Muse file. If something goes wrong, I will not have any trouble with an upload of a whole site, which is going to get bigger and bigger.
    The problem is that every file has two master pages. Everything works well up to the moment when I realize how many times I have to make changes in upper menu when I need to add something there. I have already 5 files, every with 2 masters. Is there any way to solve this problem? Maybe something to do with Business Catalyst, where I could connect a menu to every subpage independently, deleting it from Muse file? Doing so I would be able to edit it everywhere from one place. It would make my work much easier, but I have no idea jendak how to do it.
    The comments Disqus do not load, especially at horizontal layouts  (http://www.leftlane.pl/sty14/2014-infiniti-q50-eau-rouge-concept.html). I have exchanged some mails and screenshots with Disqus help. I have sent them a screenshot where the comments are not loaded, because they almost never load. They have replied that it works at their place even with attached screenshot. I have a hard time to discuss it, because it does not work with me and with my friends either. Maybe you could fix it? I would not like to end up with awful facebook comments ;). The problem is with Firefox on PC and Mac. Chrome, Safari and Opera work ok.
    YouTube movie level layouts do not work well with IE11 and Safari 7 (http://www.leftlane.pl/sty14/wypadki-drogowe--004.html). The background should roll left, but in the above mentioned browsers it jumps up. Moreover the scrolling with menu dots is not fluent on Firefox, but I guess it is due to Firefox issues? The same layout but in vertical version rolls fluently in Firefox (http://www.leftlane.pl/sty14/polskie-wypadki--005.html).
    Now, viewing the website on new smartphones and tablets. I know it is not a mobile/tablet layout, but I tried to make it possible to be used on mobile hardware with HD (1280) display. I mean most of all horizontal layouts (http://www.leftlane.pl/sty14/2015-hyundai-genesis.html), where If we want to roll left, we need to roll down. Is there a way to make it possible to move the finger the direction in which the layout goes?
    On Android phones (Nexus 4, Android 4.4.2, Chrome 32) the fade away background effect does not work, although I have spent a lot of time over it (http://www.leftlane.pl/lut14/koniec-produkcji-elektrycznego-renault-fluence-ze!.html). It is ok on PC, but on the phone it does not look good. A whole picture moves from a lower layer instead of an edge which spoils everything.
    This layout does not look good on Android (http://www.leftlane.pl/sty14/nowe-mini-krolestwo-silnikow-3-cylindrowych.html#a07). The background does not fill the whole width of a page. There are also problems with a photo gallery, where full screen pictures should fill more of a screen.
    Is it possible to make an option of  scroll effects/motions for a fullscreen slideshow widget thumbnails (http://www.leftlane.pl/sty14/2014-chevrolet-ss%2c-rodzinny-sedan-z-415-konnym-v8.html#a06)? It would help me with designing layouts. Currently, it can go from a bottom of a page at x1 speed or emerge (like in this layout) by changing opacity. Something more will be needed, I suppose.
    Sometimes the pictures from gallery (http://www.leftlane.pl/sty14/2014-chevrolet-ss%2c-rodzinny-sedan-z-415-konnym-v8.html#a06 download very slowly. The website is hosted at Business Catalyst. I cannot state when exactly it happens, most of the time it works ok.
    I really like layouts like this (http://www.leftlane.pl/sty14/2014-chevrolet-ss%2c-rodzinny-sedan-z-415-konnym-v8.html#a03). On the top is a description and a main text, and the picture is a filled object with a hold set at the bottom edge. That is why there is a nice effect of a filling a whole screen- nevertheless the resolution that is set. It works perfect on PC, but on Android the picture goes beyond the screen. You can do something about it?
    In horizontal layouts (http://www.leftlane.pl/sty14/dig-t-r-3-cylindrowy-silnik-nissana-o-wadze-40-kg-i-mocy-400- km.html) holding of a filling object does not work. Everything is always held to upper edge of a screen regardless the settings. Possibility of holding the picture to the bottom edge or center would make my work much easier.
    According to UE regulations we have to inform about the cookies. I do not know how to do it in Muse. I mean, when the message shows up one time and is accepted, there would be no need to show it again and again during another visit on the website. Is there any way to do it? Is there any widget for it maybe?
    The YouTube widget sometimes changes size just like that. It is so when the miniature of the movie does not load, and the widget is set to stroke (in our case 4 pixels, rounded to 1 pixel). As I remember ( in case of a load error) it extends for 8 pixels wide.
    Last but not least - we use the cheapest hosting plan in Business Catalyst. The monthly bandwidth is enough, although we have a lot of pictures and we worried about it at first. Yet we are running out of the disk storage very quickly. We have used more than a half of a 1 GB after a month. We do not want to change BC for a different one, because we like the way it is connected with Muse. But we do not want to buy the most expensive package - but only this one has more disk space. We do not need any other of these functions and it would devastate our budget. Do we have any other option?
    I’m using Adobe Muse 7.2 on OS X 10.9.1.
    and I'm sending Muse file to <[email protected]>

    Unfortunatley, there is no way to get a code view in Muse. I know quite a few people requested it in the previous forum, but not really sure where that ended up. Also, you may not want to bring the html into DW unless you only have 1 or 2 small changes 2 make. Two reasons. First, it isnt backwards compatible, so if you are planning on updating that site in Muse, you will need to make those changes in DW everytime you update. Second, by all accounts the HTML that Muse puts out is not pretty or easy to work with. Unlike you, I am code averse, but there was a lenghty discussion on the previous forum on this topic. I know they were striving to make it better with every release, just not sure where it is at this point.
    Dont think I am reading that second question right, but there was a ton of info on that old site. You may want to take a look there, people posted a ton of great unique solutions, so it worth a look.
    Here is the link to the old forums- http://support.muse.adobe.com/muse

  • A question about the impact of SQL*PLUS SERVEROUTPUT option on v$sql

    Hello everybody,
    SQL> SELECT * FROM v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0  Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    SQL>
    OS : Fedora Core 17 (X86_64) Kernel 3.6.6-1.fc17.x86_64I would like to ask a question about the SQL*Plus SET SERVEROUTPUT ON/OFF option and its impact on queries on views such as v$sql and v$session. Here is the problem
    Actually I define three variables in SQL*Plus in order to store sid, serial# and prev_sql_id columns from v$session in order to be able to use them later, several times in different other queries, while I'm still working in the current session.
    So, here is how I proceed
    SET SERVEROUTPUT ON;  -- I often activate this option as the first line of almost all of my SQL-PL/SQL script files
    SET SQLBLANKLINES ON;
    VARIABLE mysid NUMBER
    VARIABLE myserial# NUMBER;
    VARIABLE saved_sql_id VARCHAR2(13);
    -- So first I store sid and serial# for the current session
    BEGIN
        SELECT sid, serial# INTO :mysid, :myserial#
        FROM v$session
        WHERE audsid = SYS_CONTEXT('UserEnv', 'SessionId');
    END;
    PL/SQL procedure successfully completed.
    -- Just check to see the result
    SQL> SELECT :mysid, :myserial# FROM DUAL;
        :MYSID :MYSERIAL#
           129   1067
    SQL> Now, let's say that I want to run the following query as the last SQL statement run within my current session
    SELECT * FROM employees WHERE salary >= 2800 AND ROWNUM <= 10;According to Oracle® Database Reference 11g Release 2 (11.2) description for v$session
    http://docs.oracle.com/cd/E11882_01/server.112/e25513/dynviews_3016.htm#REFRN30223]
    the column prev_sql_id includes the sql_id of the last sql statement executed for the given sid and serial# which in the case of my example, it will be the above mentioned SELECT query on the employees table. As a result, right after the SELECT statement on the employees table I run the following
    BEGIN
        SELECT prev_sql_id INTO :saved_sql_id
        FROM v$session
        WHERE sid = :mysid AND serial# = :myserial#;
    END;
    PL/SQL procedure successfully completed.
    SQL> SELECT :saved_sql_id FROM DUAL;
    :SAVED_SQL_ID
    9babjv8yq8ru3
    SQL> Having the value of sql_id, I'm supposed to find all information about cursor(s) for my SELECT statement and also its sql_text value in v$sql. Yet here is what I get when I query v$sql upon the stored sql_id
    SELECT child_number, sql_id, sql_text
    FROM v$sql
    WHERE sql_id = :saved_sql_id;
    CHILD_NUMBER   SQL_ID          SQL_TEXT
    0              9babjv8yq8ru3    BEGIN DBMS_OUTPUT.GET_LINES(:LINES, :NUMLINES); END;Therefore instead of
    SELECT * FROM employees WHERE salary >= 2800 AND ROWNUM <= 10;for the value of sql_text I get the following value
    BEGIN DBMS_OUTPUT.GET_LINES(:LINES, :NUMLINES);Which is not of course what I was expecting to find in v$sql for the given sql_id.
    After a bit googling I found the following thread on the OTN forum where it had been suggested (well I think maybe not exactly for the same problem) to turn off SERVEROUTPUT.
    Problem with dbms_xplan.display_cursor
    This was precisely what I did
    SET SERVEROUTPUT OFFafter that I repeated the whole procedure and this time everything worked pretty well as expected. I checked SQL*Plus documentation for SERVEROUTPUT
    and also v$session page, yet I didn't find anything indicating that SERVEROUTPUT should be switched off whenever views such as v$sql, v$session
    are queired. I don't really understand the link in terms of impact that one can have on the other or better to say rather, why there is an impact
    Could anyone kindly make some clarification?
    thanks in advance,
    Regards,
    Dariyoosh

    >
    and also v$session page, yet I didn't find anything indicating that SERVEROUTPUT should be switched off whenever views such as v$sql, v$session
    are queired. I don't really understand the link in terms of impact that one can have on the other or better to say rather, why there is an impact
    Hi Dariyoosh,
    SET SERVEROUTPUT ON has the effect of executing dbms_output.get_lines after each and every statement. Not only related to system view.
    Here below what Tom Kyte is explaining in this page:
    Now, sqlplus sees this functionality and says "hey, would not it be nice for me to dump this buffer to screen for the user?". So, they added the SQLPlus command "set serveroutput on" which does two things
    1) it tells SQLPLUS you would like it <b>to execute dbms_output.get_lines after each and every statement</b>. You would like it to do this network rounding after each call. You would like this extra overhead to take place (think of an install script with hundreds/thousands of statements to be executed -- perhaps, just perhaps you don't want this extra call after every call)
    2) SQLPLUS automatically calls the dbms_output API "enable" to turn on the buffering that happens in the package.Regards.
    Al

Maybe you are looking for