The packages

Hi to everyone!! I made a package called 'pack' building a directory with the same name into my jdk under src/java.
then I wrote the simple program 'bianka.java'
import java.pack.*;
public class bianka
     public static void main(String[] args)
          System.out.println("Hello World!");
when I compile this program I have an error... "java.pack doesn't exist" why??
Can you help me?
thank you!!!

Hi Bianka,
Dunno if you got it fixed, but anyway, the first line in the file you added to your pack directory might need to be:
package java.pack;
This defines that file as a member of the java.pack package.
I say the same as swaminathan17, that you TOTALLY shouldn't put your package here, this is Java's place. Use something a directory like com/bianka/pack, like you had a registered website. Your package will then be imported as:
import com.bianka.pack.*;
Your files within your new pack directory will now have as their first line:
package com.bianka.pack;
If the compiler can't find the package then you have a class path problem, there are usually help files on your compiler about how to set the classpath (basically it is a list of directories where the compiler starts looking from, it adds import statements to the end of the directories and hopes to find the package e.g. a dir in the classpath is "D:\me\", if your package is "com.bianka.pack" it will try to find the files in "D:\me\com\bianka\pack\".)
Hope this is correct and helps.
:-)

Similar Messages

  • Error message when installing iTunes on my PC:  This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that  this is a valid Windows installer package

    Error message when trying to install iTunes on my Pc:
    Using Windows 7, had to replace hard drive.  HELP!!
    This installation package could not be
    opened. Verify that the package exists
    and that you can access it, or contact
    the application vendor to verify that
    this is a valid Windows installer package

    Hello JAH1961,
    I recommend following the steps in the article below when getting an error message trying to install iTunes:
    Trouble installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    Thank you for using Apple Support Communities.
    Best,
    Sheila M.

  • Creative Cloud Enterprise: Is there a way to choose where the package temp files are downloaded?

    I am an Enterprise Admin and have to use a Windows computer to download and create different Creative Cloud packages. The temp package files first download to the C:\ (system drive) and then the actual package in the location you specified; usually on another drive/partition. I have to make the C:\ partition (by re-partitioning) much larger than normal size in order to make temp package files to fit if I don't the C:\ drive fills up and the package creation just stops/fails with no messages displayed. Could an option be made to direct where you want the the temp package files to be held such as selecting a different hard drive/partition to store them?
    I create both 32 and 64 bit CC packages.

    Hi JohnBNO,
    You can change the CC cache location. Please refer the article: http://helpx.adobe.com/creative-cloud/packager/creating-packages.html.
    Regards,
    Romit Sinha

  • I am trying to install Creative Cloud on Mac. I downloaded the CCPackager and created a package. When I try to run the package, it freezes on install (technically it says it's still going while the Time Remaining increases constantly

    The time actually ran up to 27hours remaining before I force quit it (it was installing for at least an hour already) I have tried this on iMacs running various versions of OSX including Maverick and Yosemite and they both have this issue. This is CC for Enterprise. The package included Photoshop, Bridge, Illustrator, InDesign, Muse, and After Effects. Here is the installer log:
    Nov 24 15:24:09 Henrys-iMac Installer[384]: @(#)PROGRAM:Install  PROJECT:Install-690
    Nov 24 15:24:09 Henrys-iMac Installer[384]: @(#)PROGRAM:Installer  PROJECT:Installer-538
    Nov 24 15:24:09 Henrys-iMac Installer[384]: Hardware: iMac12,2 @ 2.70 GHz (x 4), 8192 MB RAM
    Nov 24 15:24:09 Henrys-iMac Installer[384]: Running OS Build: Mac OS X 10.7.5 (11G63)
    Nov 24 15:24:09 Henrys-iMac Installer[384]: Env: PATH=/usr/bin:/bin:/usr/sbin:/sbin
    Nov 24 15:24:09 Henrys-iMac Installer[384]: Env: TMPDIR=/var/folders/_d/c6_827z92njfbx5jpb7hzsyh0000gn/T/
    Nov 24 15:24:09 Henrys-iMac Installer[384]: Env: SHELL=/bin/bash
    Nov 24 15:24:09 Henrys-iMac Installer[384]: Env: HOME=/Users/henryfrick
    Nov 24 15:24:09 Henrys-iMac Installer[384]: Env: USER=henryfrick
    Nov 24 15:24:09 Henrys-iMac Installer[384]: Env: LOGNAME=henryfrick
    Nov 24 15:24:09 Henrys-iMac Installer[384]: Env: DISPLAY=/tmp/launch-AhtzCs/org.x:0
    Nov 24 15:24:09 Henrys-iMac Installer[384]: Env: SSH_AUTH_SOCK=/tmp/launch-qGnbkA/Listeners
    Nov 24 15:24:09 Henrys-iMac Installer[384]: Env: Apple_Ubiquity_Message=/tmp/launch-XxdyXy/Apple_Ubiquity_Message
    Nov 24 15:24:09 Henrys-iMac Installer[384]: Env: Apple_PubSub_Socket_Render=/tmp/launch-dEGRJ6/Render
    Nov 24 15:24:09 Henrys-iMac Installer[384]: Env: COMMAND_MODE=unix2003
    Nov 24 15:24:09 Henrys-iMac Installer[384]: Env: __CF_USER_TEXT_ENCODING=0x1F5:0:0
    Nov 24 15:24:09 Henrys-iMac Installer[384]: CCPLuciano  Installation Log
    Nov 24 15:24:09 Henrys-iMac Installer[384]: Opened from: /Users/henryfrick/Desktop/CCPLuciano/Build/CCPLuciano_Install.pkg
    Nov 24 15:24:09 Henrys-iMac Installer[384]: Luciano  Installation Log
    Nov 24 15:24:09 Henrys-iMac Installer[384]: Opened from: /Volumes/GHOSTDRIVE2/Luciano/Build/Luciano_Install.pkg
    Nov 24 15:24:09 Henrys-iMac Installer[384]: fileURLForURL = x-disc://GHOSTDRIVE2/Luciano/Build/Luciano_Install.pkg
    Nov 24 15:24:09 Henrys-iMac Installer[384]: fileURLForURL = file://localhost/Volumes/GHOSTDRIVE2/Luciano/Build/Luciano_Install.pkg
    Nov 24 15:24:14 Henrys-iMac Installer[384]: InstallerStatusNotifications plugin loaded
    Nov 24 15:24:21 Henrys-iMac runner[403]: Administrator authorization granted.
    Nov 24 15:24:21 Henrys-iMac Installer[384]: ================================================================================
    Nov 24 15:24:21 Henrys-iMac Installer[384]: User picked Standard Install
    Nov 24 15:24:21 Henrys-iMac Installer[384]: Choices selected for installation:
    Nov 24 15:24:21 Henrys-iMac Installer[384]: Upgrade: "CCPLuciano"
    Nov 24 15:24:21 Henrys-iMac Installer[384]: CCPLuciano_Install.pkg : com.adobe.Enterprise.install.F71180A0-A393-42DF-9B13-156B44D066BA : 1.0.0.1.0
    Nov 24 15:24:21 Henrys-iMac Installer[384]: ================================================================================
    Nov 24 15:24:21 Henrys-iMac Installer[384]: It took 0.00 seconds to summarize the package selections.
    Nov 24 15:24:21 Henrys-iMac Installer[384]: -[IFPKGDerivedDocument sortedPackageLocations]: result = (
         "file://localhost"
    Nov 24 15:24:21 Henrys-iMac Installer[384]: -[IFDInstallController(Private) _buildInstallPlan]: location = file://localhost
    Nov 24 15:24:21 Henrys-iMac Installer[384]: -[IFDInstallController(Private) _buildInstallPlan]: file://localhost/Users/henryfrick/Desktop/CCPLuciano/Build/CCPLuciano_Install.pkg
    Nov 24 15:24:21 Henrys-iMac Installer[384]: Set authorization level to root for session
    Nov 24 15:24:21 Henrys-iMac Installer[384]: Will use PK session
    Nov 24 15:24:21 Henrys-iMac Installer[384]: Starting installation:
    Nov 24 15:24:21 Henrys-iMac Installer[384]: Configuring volume "Macintosh HD"
    Nov 24 15:24:21 Henrys-iMac Installer[384]: Preparing disk for local booted install.
    Nov 24 15:24:21 Henrys-iMac Installer[384]: Free space on "Macintosh HD": 729.28 GB (729277222912 bytes).
    Nov 24 15:24:21 Henrys-iMac Installer[384]: Create temporary directory "/var/folders/_d/c6_827z92njfbx5jpb7hzsyh0000gn/T//Install.384aB0g1m"
    Nov 24 15:24:21 Henrys-iMac Installer[384]: IFPKInstallElement (1 packages)
    Nov 24 15:24:21 Henrys-iMac Installer[384]: Using authorization level of root for IFPKInstallElement
    Nov 24 15:24:22 Henrys-iMac installd[406]: PackageKit: ----- Begin install -----
    Nov 24 15:24:22 Henrys-iMac installd[406]: PackageKit: request=PKInstallRequest <1 packages, destination=/>
    Nov 24 15:24:22 Henrys-iMac installd[406]: PackageKit: packages=(
         "PKJaguarPackage <file://localhost/Users/henryfrick/Desktop/CCPLuciano/Build/CCPLuciano_Install.pkg>"
    Nov 24 15:24:22 Henrys-iMac installd[406]: PackageKit: Will do receipt-based obsoleting for package identifier com.adobe.Enterprise.install.F71180A0-A393-42DF-9B13-156B44D066BA (prefix path=)
    Nov 24 15:24:22 Henrys-iMac installd[406]: PackageKit: Extracting file://localhost/Users/henryfrick/Desktop/CCPLuciano/Build/CCPLuciano_Install.pkg (destination=/var/folders/zz/zyxvpxvq6csfxvn_n0000000000000/Cleanup At Startup/PKInstallSandbox-tmp/Root, uid=0)
    Nov 24 15:24:22 Henrys-iMac installd[406]: PackageKit: Executing script "./preupgrade" in /Users/henryfrick/Desktop/CCPLuciano/Build/CCPLuciano_Install.pkg/Contents/Resources
    Nov 24 15:24:22 Henrys-iMac installd[406]: ./preupgrade: AAMEE Installer : preupgrade launched...
    Nov 24 15:24:22 Henrys-iMac installd[406]: ./preupgrade: AAMEE Installer : Working directory is /Users/henryfrick/Desktop/CCPLuciano/Build/CCPLuciano_Install.pkg/Contents/Resources
    Nov 24 15:24:22 Henrys-iMac installd[406]: ./preupgrade: AAMEE Installer : Launching AdobeDeploymentManager...

    Set the permissions for Everyone in the folder in which CCPackager created, to "Read/Write" enabled. This is strange since there is only an administrator account on the Mac (and that account already has read/write), but it seems to resolve the issue.

  • This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this a valid Windows Installer package"

    I'm unable to install Itunes on my new PC. I'm logged in as the administrator And have deleted my browsing history. This is the error I get, ITunes installation error- “This installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this a valid Windows Installer package”... Any suggestions how to fix?

    Hi
    Try the following:
    Uninstall iTunes and Quicktime
    Reboot
    in the task tray right click the quicktime icon and click exit.
    navigate to the folder in program files and remove the quicktime directory and all its files.
    Reboot.
    Now try install iTunes and quicktime and it should work
    Hope this helps. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • I am trying to download iTunes to my Sony PC,  but "This installation package could not be opened.  Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer Package."

    mI am trying to download iTunes to my Sony PC, but I keep getting the following error after initial download attempt:
    "This installation package could not be opened.  Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer Package."
    I have Windows 7 Home Premium, Service Pack 1.
    Any help is greatly appreciated.

    Hi gump68,
    Thanks for visiting Apple Support Communities.
    You may find the steps in this article helpful if iTunes is not installing on your PC:
    Issues installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    All the best,
    Jeremy

  • HT5030 whem installing itunes i get this message "this installation package could not be opened. Verifiy that the package exists and that you can access it, or contact the application vendor to verify that this is a valid windows installer package"

    whem installing itunes on my mums new computer which is windows 7 i get this message everytime "this installation package could not be opened. Verifiy that the package exists and that you can access it, or contact the application vendor to verify that this is a valid windows installer package"

    Let's check your Windows system.
    1.  Have you done all the important windows updates and service Packs on your system.  If not do it now.  START button, type in Windows Update and ENTER.  Select 'CHECK FOR UPDATES'
    2.  Let's check your Windows system files for possible file corruption
    SCAN and repair possible Windows system file corruption:
    Go to command prompt (START/ALL PROGRAMS/ACCESSORIES right mouse click "command prompt" and choose "Run as Administrator"
    type in
    sfc /scannow
    let Windows fix any system files that need to be repaired.
    Restart the computer if it did actually repair any files.
    3.  Check your system for possible Malware.  But you have to do it in WIndows Safe Mode.
    Start your computer in "Safe mode with networking", go to this link download a free version of Malwarebyte.
    http://www.malwarebytes.org/products/malwarebytes_free
    Install and perform update immediately, then do a full SCAN. Remove malware if it indeed finds any. Restart computer to regular windows to let Malwarebyte complete the removal.
    To start your computer in safe mode
    Press and hold the F8 key as your computer starts. You need to press F8 before the Windows logo appears. If the Windows logo appears, you'll need to try again by waiting until the Windows logon prompt appears, and then shutting down and restarting your computer.
    On the Advanced Boot Options screen, use the arrow keys to highlight the "safe mode with networking" option, and then press Enter. Log on to your computer with a user account that has administrator rights.
    When your computer is in safe mode, you'll see the words Safe Mode in the corners of your screen. To exit safe mode, restart your computer and let Windows start normally.

  • Please help, I am trying to download itunes onto my windows 7 32bit desktop, but keeps coming up with error message:This installation package could not be opened. Verify that the package exists. Any ideas on what im doing wrong

    Please help
    I am trying to download itunes on windows 7 32 bit, everytime I go to open download it comes up with a green screen then a error message.
    This installation package could not be opened. Verify that the package exist.
    Please help Me

    Hi gump68,
    Thanks for visiting Apple Support Communities.
    You may find the steps in this article helpful if iTunes is not installing on your PC:
    Issues installing iTunes or QuickTime for Windows
    http://support.apple.com/kb/HT1926
    All the best,
    Jeremy

  • The installation package could not be opened. Verify that the package exist

    HELP!
    I have not been able to update my Itunes to a newer version (since 6.0.5). Every time I try to upgrade to the newer version I get this error message when I try to install:
    "The installation package could not be opened. Verify that the package exists and that you can access it, or contact the application vendor to verify that this is a valid Windows Installer package"
    This is been incredibly frustrating because now I am limited in what songs and albums I can buy online because they require the newer version. I am getting to the point where i'm ready to start using another service to get my music from now on. I've noticed that others here have the same error message, but they are using Windows Vista. I'm having this problem on Windows XP.
    Any help would be very appreciated.

    Oh sorry what i meant was that i am trying to install adobe reader, i have tried all version from 8 to 9 and i am getting this error.The solution that i found on different forum was to use windows installer cleanup utility and clean up the previous installation. i dont have any installation in my registry.
    Kindly help me in this matter

  • THIS INSTALLATION PACKAGE COULD NOT BE OPENED, VERIFY THAT THE PACKAGE EXIS

    I just purchased an IPod, now I cannot install I Tunes on my vista pc.
    No matter how many times I try, it says, the installation package could not be opened, please verify that the package exists and that you hav the right to access it. contact the vendor (apple) to verify that this is a valid windows installer package.
    I tried also to open this with administator priveledges, with no changes.
    I tried also to re download this 3x and get the same results, on both my computers.

    Hi,
    That did not fix the problem, same error.
    But it was sort of fun to do the process!!
    Can anyone help me with this?
    I now tried installing an old version of i tunes, and vista "does" allow older installs, but i tunes doesn't see the ipod. the ipod sees the computer though because when i unplug it the ipod icon changes.

  • Every time I try to down load Itunes I get a message saying installation package could not be opened . Verify the package exist that you can access it Contact vendor

    Everytime I try to download iTunes I get this error message saying, "This Installation package could not be opened. Verify that the package exists and that you can access it.or contact the vendor to verify that this is a valid windows Installer package.

    I had this same issue occur today during update, searched and finally tracked to problem with windows registry. Used online version of windows registry tool "Fix It" (can also download portable version for offline check. I selected Apple updater utility from list to fix and it did it's thing. Returned to my downloaded 10 iTunes adn isntalled perfectly fine.
    http://support.microsoft.com/mats/Program_Install_and_Uninstall
    Good luck. Worked for me back up and running.

  • Unable to download itunes the installation package could not be opened verify the package exists and that you can access it or contact the application vendor to verify this is a valid windows package

    I have had to take my pc back to factory settins, so lost my itunes, tried to install again getting message saying
    the installation package could not be opened verify the package exists and that you can access it or contact the vendor to verify that this is a valid windows package,

    Hi
    Try the following:
    Uninstall iTunes and Quicktime
    Reboot
    in the task tray right click the quicktime icon and click exit.
    navigate to the folder in program files and remove the quicktime directory and all its files.
    Reboot.
    Now try install iTunes and quicktime and it should work
    Hope this helps. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • I purchased and downloaded Acrobat Pro XI.  After the pop-up requesting the language I got a message "The installation package could not be opened.  Verify that the package exists..."

    The full message was "The installation package could not be opened.  Verify that the package exists and that you can access it, or contact the application vendor to verify this is a valid Windows Installer package."

    OK, I got around this error by extracting the files to "C:\Program Files (x86)\Adobe Acrobat XI"
    Now I get a different error "1325.kstanwood is not a valid short file name".  I'm not certain why it's even trying to create such a file name.

  • This installation package could not be opened.verify that the package exists and that you can access it,or contact the appliacation vendor to verify that this is a valid windows installer package

    this installation package could not be opened.verify that the package exists and that you can access it,or contact the appliacation vendor to verify that this is a valid windows installer package how can i istaller itunes in my laptop windows 7 64 bits

    I'd first try downloading an installer from the Apple website using a different web browser:
    http://www.apple.com/itunes/download/
    If you use Firefox instead of IE for the download (or vice versa), do you get a working installer?

  • The installation package could not be opened. Verify that the package exists and that you can access

    Do you get the "The installation package could not be opened. Verify that the package exists and that you can access it, or contact the vendor to verify that this a valid windows installer package" error?
    download and install "right click take ownership"
    http://www.howtogeek.com/howto/windows-vista/add-take-ownership-to-explorer-right-click-me nu-in-vista/
    locate the adobe folder inside the programdata folder, mine was located at "C:\programdata\Adobe"
    right click the adobe folder,  and take ownership of the folder.
    Don't know if this will fix other peoples problems, but it fixed mine.

    Hi
    Try the following:
    Uninstall iTunes and Quicktime
    Reboot
    in the task tray right click the quicktime icon and click exit.
    navigate to the folder in program files and remove the quicktime directory and all its files.
    Reboot.
    Now try install iTunes and quicktime and it should work
    Hope this helps. Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.

  • When downloading itunes onto my windows 7 pc I get the following error message "this installation package could not be opened verify that the package exists and that you can access it"

    I am having trouble downloading Itune, icloud etc onto my Windows 7 PC and keep getting the following error message "this installation pack could not be opened, verify that the package exists and that you can access it"

    tried downloading the quicktime installer, I get the same message with it too

Maybe you are looking for

  • How to install Iperf in a MAC server

    I need to installed Iperf in our Mac server but I do not how to do it or where find the software, All I have found in the internet is windows base Iperf, We are trying to use the MAC mini server for IT work and network testing and is not easy for som

  • URGENT INFO NEEDED  - DVD's not burning on macbook - 4 brands now tried

    Hi. I've been trying to burn photos onto DVD's all week and I've now tried 4 different brands inc sony - my mac has a superdrive and is supposed to take -R, -RW, +R and +RW. I've tried all of these and they are either not being read/ ejected as not b

  • How to create a event for the form

    hi all i am very new in SAP B1 i had created a new form using screen painter now i need to create the code that handle the button click event so can any one tell me the deep procedure thanks in advence

  • When i'm starting adobe flash professional there is an error 5 what should i do?

    When i'm starting adobe flash professional there is an error 5 what should i do?

  • Correlation-3 recieves- Problem

    Hi All, I am using SOA, Jdev 10.1.3.4 I have an empty process. In that i am fetching data from 3 AQs by using 3 AQ adapters. I am using correlations while recievig messages. if my first recieve correlation Id is correct process gets initiated.. and f