PACKAGE IN ANGER or what?

OK guys, this is my situation:
1) I've installed j2sdk1.4;
2) then i've done the same with j2sdkee1.3 (j2ee);
3) same with ant from jakarta.apache
At this moment i have installed on my computer the following:
j2sdk, j2ee, ant
I've set the $_HOME for each one(JAVA_HOME, J2EE_HOME, ANT_HOME).
I want to build some examples (about j2ee technology, obtained from java.sun.com)
The problem is that when I run ant, at the moment of compiling i get these messages:
[root@alex examples]# ant all
Buildfile: build.xml
init:
savingsaccount:
[javac] Compiling 5 source files to /root/backup/j2sdkee1.3.1/j2eetutorial/examples/build/ejb/savingsaccount
[javac] /root/backup/j2sdkee1.3.1/j2eetutorial/examples/src/ejb/savingsaccount/SavingsAccount.java:10: package javax.ejb does not exist
[javac] import javax.ejb.EJBObject;
[javac] ^
[javac] /root/backup/j2sdkee1.3.1/j2eetutorial/examples/src/ejb/savingsaccount/SavingsAccount.java:14: cannot resolve symbol
[javac] symbol : class EJBObject
[javac] location: interface SavingsAccount
[javac] public interface SavingsAccount extends EJBObject {
[javac] ^
[javac] /root/backup/j2sdkee1.3.1/j2eetutorial/examples/src/ejb/savingsaccount/SavingsAccountBean.java:14: package javax.ejb does not exist
[javac] import javax.ejb.*;
[javac] ^
[javac] /root/backup/j2sdkee1.3.1/j2eetutorial/examples/src/ejb/savingsaccount/SavingsAccountBean.java:17: cannot resolve symbol
[javac] symbol : class EntityBean
[javac] location: class SavingsAccountBean
[javac] public class SavingsAccountBean implements EntityBean {
[javac] ^
[javac] /root/backup/j2sdkee1.3.1/j2eetutorial/examples/src/ejb/savingsaccount/SavingsAccountBean.java:23: cannot resolve symbol
[javac] symbol : class EntityContext
[javac] location: class SavingsAccountBean
[javac] private EntityContext context;
[javac] ^
So it seems that the problem is the package javax.ejb !
...wich should be in j2ee directory?
How can I specify to javac that i use another packages, located somewhere else?
Or how can I do to make javac to find those packages?
I have to configure $CLASSPATH ? how can i configure the CLASSPATH ?
Thanks alot!

You mean to say you are on to J2EE and dont know how to set CLASSPATH ???
Difficult to believe. Any way, set CLASPATH=%CLASSPATH%;fullDirName/ejb.jar
Ironluca

Similar Messages

  • When I try to upload the lates version of iTunes, it tells me to enter an alternate path to a folder containing the installation package iTunes.msi. What does this mean as I can't seem to find any such folder and now I cannot uninstall Itunes either

    when I try to upload the latest version of iTunes, it tells me to enter an alternate path to a folder containing the installation package iTunes.msi. What does this mean as I can't seem to find any such folder and now I cannot uninstall Itunes either

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it, which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • When I try to upload the lates version of iTunes, it tells me to enter an alternate path to a folder containing the installation package iTunes.msi. What does this mean as I can't seem to find any such fold

    when I try to upload the latest version of iTunes, it tells me to enter an alternate path to a folder containing the installation package iTunes64.msi. What does this mean as I can't seem to find any such folder.

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down page in case one of them applies.
    Your library should be unaffected by these steps but there is backup and recovery advice elsewhere in the user tip.
    tt2

  • When I try to upload the lates version of iTunes, it tells me to enter an alternate path to a folder containing the installation package iTunes.msi. What does this mean as I can't seem to find any such folder

    when I try to upload the lates version of iTunes, it tells me to enter an alternate path to a folder containing the installation package iTunes.msi. What does this mean as I can't seem to find any such folder

    Hello there, AndyB73.
    The following Knowledge Base article offers some great troubleshooting recommendations for issues installing iTunes:
    Issues installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    Thanks for reaching out to Apple Support Communities.
    Cheers,
    Pedro.

  • I cannot install itunes to my windows 7 computer. I've deleted everthing apple related (in order recommended). I get a message each time that states "There is a problem with this windows installer package. etc.. What should I do?

    I've also spent hours on the phone with both apple and windows technical support specialists. This is very clearly not a windows issue. I've given my computer a clean boot, disable my antivirus and firewall, and then attempted to download (yes, from apple's website). I've delete all of the programs (in the necessary order) and then attempted reinstalling with absolutely no luck. I'm starting to think that there's absolutely nothing I will be able to do. I've also never been able to fine "apple software updater or apple software update on my computer, which is particularly odd because I haven't found a post in this community that answers that question. No, "apple software update" cannot be found by accessing the start menu or anything in the "C drive". Apple software update is also never included in the itunes download package that I get from apple's website (the others, such as bonjour, apple application support, and apple mobile support are). No matter what I do, I always get the mesage at the end of the download, "There is a problem with this windows installer package. A program required for this install to complete could not be run. Contact your support personnel or package vendor."
    This may or may not be related to the "apple software update" issue.

    Apparently it's an itunes issue. I just tried to update and got the same issue. Called att to activate my iphone 4s and they say they can do the swap but apple is telling them itunes is down atm.  So will have to wait

  • IDOCs Packaging ... What if one IDOC is in error in the packet ?

    Hi all,
    What will happend to the rest of the IDOC in the packet ?
    Lets say, i packaged my IDOC in a bunch of 5.  The first 3 IDOCs, their payload are ok. However the 4th has a bad payload and it crash in the mapping section ...
    Does the first 3 IDOC (and the 5th one) will be sent and the one in error (4th one) will remain (in XI for mapping error) ?
    Thank.
    michel osborne

    Hi chandrakanth.k,
    Thank for your response. I have seen these blogs. I am not using the BPM.
    I am using the IDXPW + Messages filter (sxmsfilter) to packaged the IDOCs.
    I have made some tests ... wird enough ...
    test #1:
    idoc (1) - error
    idoc (2) - valid
    idoc (3) - valid
    .... etc ...
    test #2:
    idoc (1) - valid
    idoc (2) - error
    idoc (3) - valid
    test #3:
    idoc (1) – valid
    idoc (2) – valid
    idoc (3) - valid
    idoc (4) - error
    In the "test #1", idoc (2) & idoc (3) are processed correctly (idoc sent to the SAP ECC backend system). Idoc (1) is stuck in XI with errror (mapping) which is OK.
    In the "test #2", work the same as in “test #1”, idoc(1) & idoc(3) hs been delivered to the SAP ECC backend system.
    However, in the "test #3"all idoc (1, 2, 3,4) are stuck in XI ... idoc(4) in error (which is ok), idoc(1) – up to -  idoc(3) in sxmb_moni has the racing flag .... but not delivered to the SAP ECC backend system ... they have the status: Message Schedule for outbound side ....
    It seem that each time the package end with and idoc in error, the entire “batch’ get stuck in XI ….
    How can i get sent them (test case #3) !!?!?
    Thank in advance !

  • Is there a montage package in adobe. What is the easiest way to do montages?

    I would like to do professional montages the easiest way. Is there a package in adobe that I can use with my photoshop.  I use to do them on old photoshop 5, was able to have my photos and format on the same page and just move them. But its not working on cs6.
    What would be the easiest way? Bridge? Photoshop? Elements?

    Elements has some sort of collage facility.  I created a Photoshop Photo Collage Toolkit I find easy to use but then I programmed it.
    Photo Collage Toolkit  UPDATED April 30, 2013 Added border option to PasteImageRoll.
    Photoshop scripting is powerful and I believe this package demonstrates this.
    The package includes four simple rules to follow when making Photo Collage Template PSD files so they will be compatible with my Photoshop scripts.
    There are eleven scripts in this package they provide the following functions:
    TestCollageTemplate.jsx - Used to test a Photo Collage Template while you are making it with Photoshop.
    CollageTemplateBuilder.jsx - Can build Templates compatible with this toolkit's scripts.
    LayerToAlphaChan.jsx - Used to convert a Prototype Image Layer stack into a template document.
    InteractivePopulateCollage.jsx - Used to interactively populate Any Photo Collage template. Offers most user control inserting pictures and text.
    ReplaceCollageImage.jsx - use to replace a populated collage image Smart Object layer with an other image correctly resized and positioned.
    ChangeTextSize.jsx - This script can be used to change Image stamps text size when the size used by the populating did not work well.
    PopulateCollageTemplate.jsx - Used to Automatically populate a Photo Collage template and leave the populated copy open in Photoshop.
    BatchOneImageCollage.jsx - Used to Automatically Batch Populate Collage templates that only have one image inserted. The Collage or Image may be stamped with text.
    BatchMultiImageCollage.jsx - Used to Automatically Batch Populate Any Photo Collage template with images in a source image folder. Easier to use than the interactive script. Saved collages can be tweaked.
    BatchPicturePackage.jsx - Used to Automatically Batch Populate Any Photo Collage template with an image in a source image folder
    PasteImageRoll.jsx - Paste Images into a document to be print on roll paper.
    Documentation and Examples

  • HELP?? iPod package was stolen. What can I do?

    To anyone that can help,
    I recently bought an iPod as a Christmas Present. According to Fedex, the package was delivered. They have the signature of someone who works the front desk of my apartment building. My building says they don't have the package and are giving me the runaround; claiming that it's not their responsibility, and that when Fedex delivers packages, they deliver several at a time, and only one signature is required, and there's no way to prove that my specific package was included.
    I feel like I am getting no help from all concerned parties here. Does anyone know what I could do? I know the police would most likely offer little help.
    I would certainly appreciate any advice from someone who has gone through this or knows how I could get my iPod back.
    Thank you in advance

    First, contact FedEX and relay what building management is saying.
    Second, contact the police.
    Third, call the US Postal Service and tell them what has happened and that you want your building management and FedEX investigated for Mail Theft / Tampering.
    Fourth, contact your building management and let them know about steps 2 and 3.
    Fifth, contact FedEX and let them know about steps 2 and 3.
    Sixth, contact Apple and let them know of steps 1-5 and the situation. Ask for their assistance in the matter and if there is anything they can do to help.
    Seventh, if neither your building management, FedEX, nor Apple are able to solve the matter, hire a lawyer to sue all three.
    - You have cause to sue your building management company, unless they have written authorization to sign for packages for you that also excludes them from responsibility for said packages.
    - You have cause to sue FedEX for delivering a package to an unauthorized recipient unless they have a copy of the written authorization to sign for delivery from your building management company.
    - You have cause to sue Apple for fraud. Your building management company says the package was not delivered, and FedEX doesn't have the package, so they did not deliver a product which has a stated guarantee.
    - Suing your building management company is the most likely way to get results, but also will probably force you to start looking for a new place to live ... who wants to live in a building managed by a company you're suing?! Of the legal recourses, this is the shortest and most likely to get you a return of your money.
    - Suing FedEX may just force them to settle and pay you for the iPod cost, but isn't as good a chance as suing your management company who will probably settle quicker as they actually WILL lose if it goes to court. FedEX has a better case, but without a copy of the signed release from your building management company, they'll probably lose. On the other hand, it would still be quite a few months to several years before you saw a result.
    - Suing Apple is a nuisance claim, and they might settle and refund/replace the iPod, but they also have the money and the legal teams on retainer to turn this from a small claim to a years-long paper-battle.
    This is a really horrible situation, and the last few steps are steps I hope you don't have to go through. Most likely, going through the first six steps and waiting a week ... you'll have a refund/replacement iPod in your hands.

  • Shipped using Canada Post, but the package is lost? What to do?

    Well around a month ago I've shipped a coin to a buyer of mine which cost her around $110, and $15 to ship.
    Although the Canada Post workers told me they're unable to find the coin. What do I do?
    This is the first time I'm facing an issue such as this. 

     
    My loss rate for (receiving) packages, domestic and international  is precisely 0%.   And I'm talking a lot of packages.  
    Lots of different venues, especially numerous baby sites the past couple of years, and they're mostly in the  US.   No issues, except one lampe berger broken due to faulty pkg'ng, and replaced by seller immediately.  (returned the rattling box without even opening it)
    I opt out of insurance when possible; absolutely no value to me ( or seller).
    i had to put in a claim for a missing parcel that I shipped a couple of years ago, but the delayed-somewhere Christmas gift did eventually make its way to Georgia before anything ever came of my  claim.
    So, my success rate for both receiving and shipping .. 'many' packages is locked on 100%.
    (which means I need to go immediately to pray to the goddess of Murphy's Law for continued success  in case I've  just jinxed myself
     

  • I currently have LR 5.7 and am interested in getting upgraded to LR 6. If I get the package LR and CC what happens to my LR 5.7 and the library I have on it now??

    What happens to my LR 5.7 and it's library if I get the package LR and CC?

    Back up your music and install from the website. You probably won't need to do this, but if your library is erased, restore it from the backup.
    (59049)

  • I am trying to download itunes 10.6 and keep getting this error message, "The feature you are trying to use is on a network resource that is unavailable to a folder containing installation package itunes64.msi".  What do I need to do?

    I am trying to download itunes 10.6 and keep getting the error message "The feature you are trying to use in on a network resource that is unavailable. Enter alternate path to a folder containing the installation package itunes67.msi".  Where do I find this or how do I get it?

    "The feature you are trying to use in on a network resource that is unavailable. Enter alternate path to a folder containing the installation package itunes64.msi".
    Download the Windows Installer CleanUp utility from the following page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page):
    http://majorgeeks.com/download.php?det=4459
    To install the utility, doubleclick the msicuu2.exe file you downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • HT1926 Itunes won't install on windows computer  because a "package is missing ". What is this package?

    I've been trying to install itunes 10.6 so i can synchronize it with my iphone 4 but  Windows doesnt let me becouse a package is missing. It will only let me instal up to itunes 10.4 which doesnt work with my iphone 4.

    i couldnt find the ASU, when i tried to install it gives me the same missing package message.
    If you're using XP, go into your Add or Remove programs control panel. Can you see Apple Software Update in the list of programs? if so, select Apple Software Update, click "Change" and then click "Repair".
    If you're using Vista or Windows 7, go into your Uninstall a program control panel. Can you see Apple Software Update in the list of programs? If so, select Apple Software Update and click "repair".
    If you were able to repair, and ASU now appears under "All Programs" in the Start Menu, try another iTunes install. Does it go through properly this time?

  • Arch package manager to see whats avaiable?

    Ubuntu has synaptics and add/remove option  , what does arch have? Right now with pacman im just taking a stab in the dark , but how can i see what is available for me to install?
    Need something similar to synaptics that shows the programs, and tells me what they are for

    The pacman manual is all you need, provided you have read the various guides on the wiki.
    If you want Add/Remove, maybe you should reconsider your choice of distro. I strongly suggest you read up before you ask basic questions like these. Pacman can display all the info you want - and the manual tells you how to do it. If that is not enough there are also graphical front-ends available for pacman.
    If you have a problem that can't be tackled by personal initiative alone, open a topic. This one is done .

  • Package with no maintainer, what to do?

    Hi all!
    I'm compiling some Ogre samples and run into problem when the current version of Ogre (1.7, available on AUR) requires some updated version of CEGUI (0.7). The problem is that although the package cegui is in extra repository (http://www.archlinux.org/packages/extra/x86_64/cegui/), it is not updated since 2009-01-15. I did download the source and compiled, everything is working now but, as I want it installed on my system as a package, should I make it and share on AUR or notify the developers team (how to do this notification)?
    Sorry about the newbie doubt.
    Thanks in advance.

    Done. Thanks for the guideline.
    Edit: thought it would be good to post the updated PKGBUILD here too.
    pkgname=cegui
    pkgver=0.7.1
    pkgrel=4
    pkgdesc="A free library providing windowing and widgets for graphics APIs/engines"
    arch=(i686 x86_64)
    url="http://crayzedsgui.sourceforge.net"
    options=('!libtool')
    license=("MIT")
    depends=('pcre' 'expat' 'freetype2' 'libxml2' 'devil' 'freeglut' 'lua' 'silly')
    [ "$CARCH" = "x86_64" ] && depends=(${depends[@]} 'silly')
    source=(http://downloads.sourceforge.net/crayzedsgui/CEGUI-$pkgver.tar.gz)
    build() {
    cd $startdir/src/CEGUI-$pkgver
    ./configure --prefix=/usr --sysconfdir=/etc --enable-devil --enable-silly \
    --disable-xerces-c --with-default-image-codec=SILLYImageCodec \
    --enable-lua
    make || return 1
    make DESTDIR=$startdir/pkg install
    install -D -m644 doc/COPYING $startdir/pkg/usr/share/licenses/$pkgname/COPYING
    md5sums=('0a2815d5204e3c5510884ab62285da97')
    Last edited by rodbzro (2010-01-11 05:38:37)

  • My windows office package does not reopen, what do i do?

    Hi, I have installed Microsoft Office:  mac 2011. It was working great and then after awhile it keep popping up an error screen and non of my office applications open. How do i fix this problem?
    Kind regards

    OS X 10.7.5 Lion?
    OS X 10.7 Lion, 10.8 MountainLion & 10.9 Mavericks
    Reset Password using Recovery HD
    Boot into Recovery Partition.
    Start the computer,then press and hold down command and R keys to start into recovery partition.
    When you see the Apple logo, release the keys.
    Wait until  OS X Utilities window shows up.
    Move the mouse to the menubar at the top and click "Utilities", then select "Terminal"
    from the drop down.
    Terminal window will appear.
    Type in   resetpassword   and press enter on the keyboard.
    Leave the Terminal window open.
    Reset Password Utility window will open with Macintosh HD selected.
    Select the user account from the popup menu box.
    Enter a new password.
    Reenter the new password for the user.
    Enter a hint.
    Click the "Save" button.
    Click  in the menubar and select Restart.
    Log in.
    When Keychain dialog box appears, select “Create New Keychain”.

Maybe you are looking for

  • Problem in inetrcompany PO

    Hi, I am trying to create a intercomapny PO between two plants belonging to two different company codes. i have dojne following settings for this. 1) Define Shipping Data for Plants(Created a customer for receiving plant and assigned to it) 2) Assign

  • Catch Synch timout with failover

    Hi, Essentially I'am trying to find out which runtime fault to explicitly catch in order to catch a synchronous timeout error. The background is that I have a synchronous service that is wrapping a sqlloader call. As the load could run for any arbitr

  • UDF-how to write query

    Hi I have UDF on form. How to make query, to choose values values from OITM in U_MODEL where U_BRAND = definite value

  • E3000 has slow Ethernet speed but ok wireless Internet speed

    My Cisco E3000 has slowed it's Ethernet speed so slow that it times out when going to Facebook, YouTube or any site that is complex. It worked fine until one day it just gave up. It's connected to DSL Modem with Ethernet To a Apple Mac G5 power PC Th

  • Database is not responding for DML statements

    Hello, I have a problem with my local Oracle XE database. I'm executing the scripts below and at the final query I still get an error. (I'm using Toad - Thus I'm commiting statements with Toad: not with Oracle's "Commit;") alter table MyTable add ISA