How to compile a package with classess

Hi,
Can any one tell me , how to compile a package ?
Actually, i have three classes under the package named as linklist.
i am unable to compile the classes under this package ? its always raising errors. saying that the package does not exist.
Can any one tell me, why it is like this ?
thanks in advance

Hi,
Can any one tell me , how to compile a package ?I'll try.
Actually, i have three classes under the package named
as linklist. Okay, so you have the package statement at the top of each class, right?
And the 3 classes reside in a folder named linklist?
Okay, if you do, while in the folder above linklist, do:
javac linklist/*.java (using the appropriate slash)
Did it work?

Similar Messages

  • How to compile DNG SDK with GCC?

    I tried to compile DNG SDK with GCC, but I got stuck to the following error message:
    ... dng_flags.h:33:28: error: RawEnvironment.h: No such file or directory ...
    In other words, it seems that file 'RawEnvironment.h' is missing. I cannot find this file from DNG SDK or XMP SDK. Do you know where I could find this file or do you know how to compile DNG SDK with GCC?
    Regards Sami

    Please define either qMacOS or qWinOS (i.e., in your list of preprocessor defines). As you can see in line 32 of dng_flags.h this is required.

  • How to call a package with ADO?

    I have designed a package which include a procedure. And I have a program coded in ASP.
    How to call this package with ADO. Please give a sample.

    Hi,
    I persume that you are facing this problem when u try to code in VB. If that is the case here comes the code.........
    OraDatabase.Parameters.Add "A_NBR_NEWSID", A_NBR_NEWSID, ORAPARM_INPUT, 2
    OraDatabase.Parameters.Add "A_NBR_TOPICID", A_NBR_TOPICID, ORAPARM_INPUT, 2
    OraDatabase.Parameters.Add "A_NBR_USERID", A_NBR_USERID, ORAPARM_INPUT, 2
    OraDatabase.Parameters.Add "result", 0, ORAPARM_OUTPUT
    OraDatabase.Parameters("result").serverType = 2
    OraDatabase.ExecuteSQL ("declare result Number; Begin :result := PKG_CONTENT_MANAGEMENT.FUN_GET_NEWS_PERM_BY_USERID(:A_NBR_NEWSID, :A_NBR_TOPICID, :A_NBR_USERID); end;")
    OraDatabase.Parameters.Remove "A_NBR_NEWSID"
    OraDatabase.Parameters.Remove "A_NBR_TOPICID"
    OraDatabase.Parameters.Remove "A_NBR_USERID"
    FUN_GET_NEWS_PERM_BY_USERID = OraDatabase.Parameters("result").Value
    OraDatabase.Parameters.Remove "result"
    Hope this clear your doubt..
    Raj

  • How to compile all package body using sqlplus ?

    hi all,
    How to compile all package body using sqlplus ?
    Please help.
    Amy

    dbms_utility.compile_schema will compile all the invalid objects in a schema, including the invalid package bodies. If you only want to compile the invalid package bodies, you could write your own dynamic SQL stored procedure to do that using the user_source view, but that's a lot more effort for a very minimal benefit.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • How could I transport package with all content within

    How could I transport package with all content ( I do not get it with se80->"write transport entry") or by entering in se10 in transport request object R3TR DEVC.

    go to SE03
    choose the third item "include objects in a request" by double-clicking
    there you set the first parameter "Package" to your package and execute
    note: you can also deselect the radiobutton "All objects" and set "Selected objects" then you will be able to fine-tune the list of objects

  • How to call a package with OO4O?

    I have designed a package which execute a procedure.
    How can I call it with OO4O?
    Please give me a sample code.

    Hi,
    I persume that you are facing this problem when u try to code in VB. If that is the case here comes the code.........
    OraDatabase.Parameters.Add "A_NBR_NEWSID", A_NBR_NEWSID, ORAPARM_INPUT, 2
    OraDatabase.Parameters.Add "A_NBR_TOPICID", A_NBR_TOPICID, ORAPARM_INPUT, 2
    OraDatabase.Parameters.Add "A_NBR_USERID", A_NBR_USERID, ORAPARM_INPUT, 2
    OraDatabase.Parameters.Add "result", 0, ORAPARM_OUTPUT
    OraDatabase.Parameters("result").serverType = 2
    OraDatabase.ExecuteSQL ("declare result Number; Begin :result := PKG_CONTENT_MANAGEMENT.FUN_GET_NEWS_PERM_BY_USERID(:A_NBR_NEWSID, :A_NBR_TOPICID, :A_NBR_USERID); end;")
    OraDatabase.Parameters.Remove "A_NBR_NEWSID"
    OraDatabase.Parameters.Remove "A_NBR_TOPICID"
    OraDatabase.Parameters.Remove "A_NBR_USERID"
    FUN_GET_NEWS_PERM_BY_USERID = OraDatabase.Parameters("result").Value
    OraDatabase.Parameters.Remove "result"
    Hope this clear your doubt..
    Raj

  • How to compile and package my EJB application

    Hi,
    I just ran the sample programs from the Sun J2EE tutorial. Seems to work fine. I used the ant utility to compile all the programs and the J2EE Deployment Wizard to package and deploy everything. Now how do I compile and deploy a sample EJB program that I have written ?
    I am using the following platforms:
    1: JBuilder 3.0 : IDE (for writing the source code)
    2: JDK 1.4.0_01
    3: J2SDK EE 1.3.1 (EJB/Appln server)
    How do I make ant recognize my program and compile it... i guess the deployment procedure would still be the same.
    Can somebody please help me out on this ??
    Thanks
    prasanna

    Hi,
    Thanks for your prompt reply. I tried that out.. I have a directory called "customer" under which I have my interfaces,bean implementation class and the J2EE application client.
    ANT_HOME is set to : the directory where ant is installed
    JAVA_HOME is set to : the directory where JDK is installed
    J2EE_HOME is set to : the directory where J2EE server is installed
    and PATH : includes the bin directories of JDK, ant and J2SDK EE
    These are the paths I had to set when I ran the J2EE tutorial programs. It worked fine.
    Now when I say : ant myprogram I get an error saying:
    BUILD FAILED
    Target "myprogram" does not exist in this project
    How do I add my program also to the project so that ant can recognize it ?
    Also if there is any other way you can suggest to compile and package my application it would be great...
    Thanks
    prasanna

  • [solved]How to compile a software with debug symbol from aur?

    How does auch developers compile their project? Seems that archlinux user always trying to avoid build software from git/svn directly. But after searching a lot  I sill haven't found how to compile with debug symbol while using PKGBUILD.
    Anyone help?
    Last edited by ranjiao (2009-08-27 14:28:09)

    ranjiao wrote:PKGBUILD calls autogen.sh before calling make, and gnome-autogen.sh is called in autogen.sh
    I have tried to add --enable-debug while calling autogen.sh and gnome-autogen.sh, but it doesn't work.
    Isn't PKGBUILD just a script? It calls what you make it calls by adding commands...

  • How to install multiple packages with pacman?

    Hi ,
    I guess it's a pretty noobish question but I wonder how to install multiple packages
    that have the same prefix with Pacman.
    To make myself more clear, I like to install all gstreamer packages and for that I would
    like something similar to
    pacman -S gstreamer10*
    Is there a command that does something like this available? Found nothing in the man pages.
    Maybe some tricky stuff with pipes?

    sH wrote:Hi ibendiben,
    thanks for your help, but I'm afraid, it does not work
    I'm so sorry, my fault, I couln't test it, and made some big mistakes.
    This time it's working:
    pacman -S $(pacman -Ss gstreamer0.10 | sed -n 's#^\([^/]*/gstreamer0.10[^ ]*\) .*$#\1#p')

  • [SOLVED] How to install AUR packages with patchname.patch

    Hi all,
    I'm trying to install lottanzb from the AUR and there's are a dependency called par2cmdline 0.4-13 that has a lot of nameofpatch.patch that are included in the AUR par2cmdline 0.4-13 package page that just open up to a url that shows code.
    I created patch files from the code displayed in the url with a text editor and added them to the extracted LOTTANZB folder in my build directory but when I go to build the package with PKGBUILD it runs through a check sum while building and the checks don't match.
    I'm obviously doing something fundamentally wrong here. Can someone direct me?
    Thanks,
    Last edited by bennylb0 (2010-05-28 13:30:16)

    Hi, thanks for reply.
    Sorry, my mistake.
    I did place patch files inside the par2cmdline-0.4 folder. The only reason I created the .patch files and placed them inside par2cmdline-0.4 folder was because the PKGBUILD as well as the other 5 .patch files didn't exist inside the extracted build folder. They only place I could find them was in AUR par2cmdline-0.4 displayed as a url.
    When I copied and created the PKGBUILD as it did not exist inside the extracted folder par2cmdline-0.4 folder I received the following error:- 
    Error autoconf.patch was not found in the build directory and is not a url. That along with 4 others do not exist in the build directory.
    You can see this bellow:-
    [ben@ben par2cmdline-0.4]$ makepkg
    ==> Making package: par2cmdline 0.4-13 i686 (Fri May 28 22:08:21 EST 2010)
    ==> Checking Runtime Dependencies...
    ==> Checking Buildtime Dependencies...
    ==> Retrieving Sources...
      -> Downloading par2cmdline-0.4.tar.gz...
    --2010-05-28 22:08:23--  http://downloads.sourceforge.net/source … 0.4.tar.gz
    Resolving downloads.sourceforge.net... 216.34.181.59
    Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
    HTTP request sent, awaiting response... 301 Moved Permanently
    Location: http://downloads.sourceforge.net/projec … 0.4.tar.gz [following]
    --2010-05-28 22:08:23--  http://downloads.sourceforge.net/projec … 0.4.tar.gz
    Reusing existing connection to downloads.sourceforge.net:80.
    HTTP request sent, awaiting response... 302 Found
    Location: http://transact.dl.sourceforge.net/proj … 0.4.tar.gz [following]
    --2010-05-28 22:08:24--  http://transact.dl.sourceforge.net/proj … 0.4.tar.gz
    Resolving transact.dl.sourceforge.net... 202.55.147.10
    Connecting to transact.dl.sourceforge.net|202.55.147.10|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 239312 (234K) [application/x-gzip]
    Saving to: "par2cmdline-0.4.tar.gz.part"
    100%[===================================================>] 239,312      179K/s   in 1.3s   
    2010-05-28 22:08:26 (179 KB/s) - "par2cmdline-0.4.tar.gz.part" saved [239312/239312]
    ==> ERROR: par2cmdline-0.4-autoconf.patch was not found in the build directory and is not a URL.

  • How to use the packager with Flash?

    Hi all,
    I've installed the packager, but I can't see any difference inside Flash CS5 editor or any new menus like "Export" or "Package"
    Does it work from within the editor or does it only compile AS3 files?
    Can I turn a Flash project which has an .fla file with some timeline animation, manually created MovieClips etc into a iOS app using the packager?
    Is there any tutorial how to do it?
    Thanks!

    I'm compiling a public list of useful links for exactly these sorts of situations: http://forums.adobe.com/thread/785692
    Have you installed the latest updates to Flash CS5? They are the first 2 links under "Downloads and Official Documentation" in the link above. Then you should be able to start a new project in Flash and specify "iPhone OS". From there, try to follow Adobe's official documentation until it doesn't work properly, then come back, search around for others talking about the same issues, or start a new thread that is more specific.
    Hope that helps a bit.

  • How to create a package with procedures?

    By referring through net I have written the following PCK file. I have installed my Oracle 11g database in VirtualBox(Win XP). I can able to select the tables using query from the host(Windows 7)
    CREATE OR REPLACE PACKAGE APEX_SYS_PCK
      AS
        TYPE refcursortype IS REF cursor
    PROCEDURE GET_USER_DETAILS(
      D1 OUT refcursortype,
      P_USER IN VARCHAR2,
      P_PASS IN VARCHAR2);
    END APEX_SYS_PCK;
    CREATE OR REPLACE PACKAGE BODY APEX_SYS_PCK
    AS
    PROCEDURE GET_USER_DETAILS(
      D1 OUT refcursortype,
      P_USER IN VARCHAR2,
      P_PASS IN VARCHAR2)
    IS BEGIN
      OPEN D1 FOR SELECT * FROM APEX.PERSONS;
    END GET_USER_DETAILS;
    END APEX_SYS_PCK;
    When I try to run the script I am getting the following error. How to solve this problem? If there is any error in this package please do correct it!!!
    Project: sqldev.temp:/IdeConnections%23vAPEX.jpr
    F:\PACKAGES\APEX_SYS_PCK.sql
    Error: PL/SQL: Compilation unit analysis terminated
    Error(1,14): PLS-00905: object APEX.APEX_SYS_PCK is invalid
    Error(1,14): PLS-00304: cannot compile body of 'APEX_SYS_PCK' without its specification

    STATUS in USER_OBJECTS
    "OBJECT_NAME"
    "SUBOBJECT_NAME"
    "OBJECT_ID"
    "DATA_OBJECT_ID"
    "OBJECT_TYPE"
    "CREATED"
    "LAST_DDL_TIME"
    "TIMESTAMP"
    "STATUS"
    "TEMPORARY"
    "GENERATED"
    "SECONDARY"
    "NAMESPACE"
    "EDITION_NAME"
    "CUSTOMERS"
    70645
    70645
    "TABLE"
    03-AUG-13
    03-AUG-13
    "2013-08-03:17:59:09"
    "VALID"
    "N"
    "N"
    "N"
    1
    "CUSTOMERS_PK"
    70646
    70646
    "INDEX"
    03-AUG-13
    03-AUG-13
    "2013-08-03:17:59:09"
    "VALID"
    "N"
    "N"
    "N"
    4
    "DEPARTMENTS_PK"
    70656
    70656
    "INDEX"
    03-AUG-13
    03-AUG-13
    "2013-08-03:18:32:32"
    "VALID"
    "N"
    "N"
    "N"
    4
    "EMPLOYEES"
    70657
    70657
    "TABLE"
    03-AUG-13
    03-AUG-13
    "2013-08-03:18:32:57"
    "VALID"
    "N"
    "N"
    "N"
    1
    "DEPARTMENTS"
    70655
    70655
    "TABLE"
    03-AUG-13
    03-AUG-13
    "2013-08-03:18:32:32"
    "VALID"
    "N"
    "N"
    "N"
    1
    "EMPLOYEES_PK"
    70658
    70658
    "INDEX"
    03-AUG-13
    03-AUG-13
    "2013-08-03:18:32:57"
    "VALID"
    "N"
    "N"
    "N"
    4
    "SUPPLIERS"
    70659
    70659
    "TABLE"
    03-AUG-13
    03-AUG-13
    "2013-08-03:20:25:41"
    "VALID"
    "N"
    "N"
    "N"
    1
    "SUPPLIERS_PK"
    70660
    70660
    "INDEX"
    03-AUG-13
    03-AUG-13
    "2013-08-03:20:25:41"
    "VALID"
    "N"
    "N"
    "N"
    4
    "PRODUCTS"
    70661
    70661
    "TABLE"
    03-AUG-13
    03-AUG-13
    "2013-08-03:20:28:32"
    "VALID"
    "N"
    "N"
    "N"
    1
    "PRODUCTS_PK"
    70662
    70662
    "INDEX"
    03-AUG-13
    03-AUG-13
    "2013-08-03:20:28:32"
    "VALID"
    "N"
    "N"
    "N"
    4
    "PERSONS_PK"
    70687
    70687
    "INDEX"
    10-AUG-13
    10-AUG-13
    "2013-08-10:22:37:34"
    "VALID"
    "N"
    "N"
    "N"
    4
    "PERSONS"
    70686
    70686
    "TABLE"
    10-AUG-13
    10-AUG-13
    "2013-08-10:22:37:34"
    "VALID"
    "N"
    "N"
    "N"
    1
    "APEX_SYS_PCK"
    70776
    0
    "PACKAGE"
    13-AUG-13
    15-AUG-13
    "2013-08-15:19:56:47"
    "INVALID"
    "N"
    "N"
    "N"
    1
    "GET_LOGIN_CREDENTIALS"
    70775
    0
    "PROCEDURE"
    13-AUG-13
    13-AUG-13
    "2013-08-13:22:26:49"
    "INVALID"
    "N"
    "N"
    "N"
    1
    "APEX_SYS_PCK"
    70792
    0
    "PACKAGE BODY"
    15-AUG-13
    15-AUG-13
    "2013-08-15:19:56:47"
    "INVALID"
    "N"
    "N"
    "N"
    2
    "EMP_MAINT"
    70802
    0
    "PACKAGE"
    15-AUG-13
    15-AUG-13
    "2013-08-15:19:54:39"
    "INVALID"
    "N"
    "N"
    "N"
    1

  • How to build distribution package with Agilent VISA as primary

    Hi everybody,
         I build a distribution package under LW 8.0 in a PC(Agilent VISA is primary), then I install the distribution package in another PC.
    But I found the distribution package install NI VISA as primary in another PC. So How could I make Agilent VISA as primary when I build Distribution Package?
    Does anyone can help me?

    TaoZ,
    Does your application use both NI-VISA and Agilent VISA? NI-VISA is only functional as the primary VISA, so if you need to use both NI-VISA and Agilent VISA, Agilent VISA will need to be secondary. If you are using just Agilent VISA, then you should not need to install NI-VISA. If you already have NI-VISA installed on the system, then typically Agilent VISA will overwrite NI-VISA because they use higher version numbers than us, but this is not necessarily always the case. Which version of each driver are you working with?
    National Instruments
    Product Support Engineer

  • How to compile AnyConnect API with Visual Studio 2005?

    Gooday,
    I have downloaded anyconnect-win-vpnapi-2.5.3055.zip and am unable to build successfully examples.sln on a Windows XP SP2 platform. I would appreciate help in how to build examples.sln sucessfully. I get the following errors depending on the type of build using Visual Studio 2005 with service pack 1:
    1. Debug configuration for all - "Fatal error C1900: mismatch between 'P1' version '20060201' and 'P2' version '20050411'
    - appears a static lib file is out of date?
    - i downloaded and used as is so don't know how else to resolve it
    2. Release configuration for all - "Fatal error C1047: The object or library file '.\Release\PrivateApi.obj' was created with an older compiler than other objects; rebuild old objects and libraries' "
    Thanx,tom.

    You duplicated Java_Test_getWord. The function signature should read:JNIEXPORT jstring JNICALL Java_Test_getWord(JNIEnv *env, jobject obj) Regards

  • How to implement support packages with BW connected to R/3??

    Hello!
    We use a BW system togehther with our ECC6. So we have activated Datasources in LBWE.
    Every time, when I import a support package, there is a warning regardin LBWE an data to process.
    Our workaround is to stop the updater in sm13, empty the queues and start the support packages.
    The problem is: The updater is needed for the supportpackage too, so we have to activate it again...
    Has anyone a "best practise" for this scenario???
    Thanks
    Juergen

    Hi Dirk!
    Thanks for the notes, yes, I know them...
    Fine theorie...
    The problem is:
    Note that this processing must take place during system downtime because otherwise the different objects will be immediately filled with data again.
    We are working worldwide and we have no real downtime, if the system is running...
    So, we used the way to stop the updater to be shure to get no new objects...
    Juergen

Maybe you are looking for

  • Multiple Apple ID's with now defunct email?

    I have one apple id which has a now defunct email address which I am unable to access because the password was enetered wrong repeatedly. I am unable  to update many aps because of this

  • How to display horizontal line in top-of-page by using object oriented ALV?

    How to display horizontal line in top-of-page by using object oriented ALV. I am created top-of-page in object oriented alv. But not be successes in showing horizontal line in it. Can any one pls give solution for this.. Thanks and regards..

  • 3D Shockwave Collision

    Hi guys, I have a small problem, i need to add collision to some road barriers in a driving game i am making, but i have looked on the net for some tutorials or info about it, and i can't find anything! I'm finding it pretty difficult as i may need t

  • A line on my screen

    There is a black line on the scree of my ipod when the backlight is on. When the backlight is off the line is not present. I have tried to reset it and restore it to it's original settings but I have failed in removing the line. Should I send it in t

  • Adobe DNG converter doesn't work.

    I tried reinstal DNG converter many times and i instal latest GPU driver, but still not working. always i saw only this and i can't click to browse or to any other button. I have win 7 (64.bit) and last DNG converter (8.7)