Packages and such

OK, so.. we're learning about superclasses etc. I have a couple of problems. First of all I need to calculate profit in the SoldCar class below - one number - profit - can be declared within that class. The other number needed, dealerCost is within another class, Cars which is imported above. I have included the imported files as well as the one in question. SoldCars is currently throwing several compile errors also.
(Car.java compiles fine as does Date.java)
//******************************Car.java******************
package car;
public class Car
float dealerCost;
int idNumber;
String dateArrived;
public Car(float dCost, int idNo, String dArrive)
dealerCost = dCost;
idNumber = idNo;
dateArrived = dArrive;
public float knowdCost()
return dealerCost;
public int knowidNo()
return idNumber;
public String knowdArrive()
return dateArrived;
public void print()
System.out.println("Dealer cost:" + " " + dealerCost);
System.out.println("ID number:" + " " + idNumber);
System.out.println("Date arrived:");
System.out.println(dateArrived);
//***************************end Car.java****************************
//******************************Date.java****************************
package date;
public class Date
public int day;                         // Data fields
public int year;
public String month;
public Date(int newDay, String newMonth, int newYear)     // Methods
day = newDay;
month = newMonth;
year = newYear;
public int dayIs()
return day;
public String monthIs()
return month;
public int yearIs()
return year;
public void print()
System.out.println(month + " " + day + ", " + year);
//*****************************end Date.java*************************
//*****************************SoldCars.java*************************
//****************************the problem child!*********************
import cars.*;
import date.*;
package soldcar;
public class SoldCar extends Car
float price;
String customer;
Date dateSold;
float profit;
public SoldCar()
super(14000.0f, 1245632, Date);
public SoldCar(float price1, String customer1, Date dSold, float prof)
price = price1;
customer = customer1;
dateSold = dSold;
//profit = 14000.0f - price1;
public float knowprice1()
return price;
public String knowcustomer1()
return customer;
public Date knowdSold()
return dateSold;
public float calcprof()
return profit;
public void print()
System.out.println(price);
System.out.println(customer);
System.out.println(dateSold);
//************************end SoldCars.java***************************
To add to the fun, our assignment is to put "Car.java" into a subfolder named cars and Date.java into a folder named Date. Sold Cars and Car.java are in the same folder/subfolder.
Thanks in advance...K

Move Car.java in a folder called car, Date.java in a folder called date and SoldCar.java in a folder called soldcar. Then go to the parent folders of them and say: "javac soldcar/SoldCar.java". This tries to compile SoldCar.java, but while compiling it it notices that it first needs to compile Car.java and Date.java too and does the job for you.

Similar Messages

  • Pkgman - a bash script for local package and PKGBUILD management

    hi all,
    here is a script which manages a local repository and lets you edit
    PKGBUILDs and other related files, automatically generates checksums,
    build packages, add them to your local repo and so on.
    it also has AUR support for submitting tarballs, leaving comments, etc.
    get it from here:
    http://sourceforge.net/projects/pkgman/
    and AUR package:
    http://aur.archlinux.org/packages.php?ID=17100
    you need abs, curl and pacman and optionally namcap and desktop-file-utils.
    RTFM online:
    http://sourceforge.net/apps/mediawiki/p … n_man_page
    first of all copy the pkgman.conf and AUR.conf files from /usr/share/pkgman to ~/.config/pkgman/  or ${XDG_CONFIG_HOME}/pkgman - if ${XDG_CONFIG_HOME} is set,
    edit these two files and then run
    pkgman --runmefirst
    pkgman doesn´t install anything. if you want it just builds the package and moves it to your local repository. install it then with pacman.
    it also has no dependency handling. there are many other tools which provide this.
    the main intention was to keep track of package versions, different PKGBUILD versions and own AUR submitted tarballs; also to keep a clean local repository and clean build directories.
    pkgman is stable now. i´m using it for months without any issues.
    however, if there are problems or feedback please post them here.
    vlad
    changelog:
    version 2.4:
           *pkgman now respects the PKGDEST and SRCDEST variables from makepkg.conf. (though it still moves the src.tar.gz and .pkg.tar.gz to package backup directory).
    version 2.5:
           *pkgman uses PKGDEST if SRCDEST not set in makepkg.conf.
    version 2.6 -> r26:
           *changed version system: version 2.6 is now r26!
           *minor changes: > pkgman uses now the $SHELL variable.
                                    > new and more comprehensible manpage description (thanks to bender02)
    version r27:
           *changed SRCDEST since it's only a cache dir. all files (pkg.tar.gz and src.tar.gz) go to PKGDEST.
    version r28:
           *added new variable ShellCommand to pkgman.conf. Default is $SHELL.
           *One might use an external application (like screen or xterm) to switch to build directory and edit files simultaneously.
    version r30:
           *minor changes. nothing crucial
    r32: *OverwriteExistingPackage isn't used anymore. one can delete it from ~/.config/pkgman/pkgman.conf.
           *minor changes
    version r33:
           *"-l|--list" also shows installed package version and available ABS/AUR PKGBUILD version for given package.
           *"-a|--abs" can now also be used with other options (like "-e")
    r39: * when backing up src.tarballs it asks whether to backup the source file or not
           * more detailed "--list" option - also shows if package is installed or not and available ABS/AUR version
           * added prompt to clean up directory after makepkg
           * when checking pkg.tar.gz also possibility to check for conflicts with files of already installed packages
           * use $PAGER instead of less
           * --help directly shows the manpage
           * --shorthelp shows a brief usage overview
           * added a custom prompt, but only when using bash (is somehow experimental - works fine here for me)
           * minor internal changes
           * pkgman also reads ~/.aurvote file for getting aur name and password. if one already uses aurvote then there is no need for the
             ~/.config/pkgman/AUR.conf file.
    r40: * new manual page & rewrite of usage function
           * both option "--flush" and "--flushall" were omitted in favor of the more versatile "--cleanup" option
           * pkgman <packagename> checks now if <packagename> is owned by user
           * backup option after each editing
           * added license
           * minor internal changes
    r41: * just small bug fixes, nothing crucial.
    r42: * more bugs fixed.
    r45: * new options added:
              >   --listversions: list local and available versions of installed packages from LocalPackages directory
              >  --getownpackages: synchronize local own packages with AUR
           * added new variable in pkgman.conf:
              > ListOutputInPager: output of, for example, "--list" or "--own" is piped into $PAGER
           * added a new optional dependency "desktop-file-utils" for validating desktop entry files
           * also supports now auto-generation of sha sums not only md5
           * internal fixes due to AUR interface changes:
              > use of json interface
              > correct parsing of package category
           * added 2 proto files (located under /usr/share/pacman):
              >  proto.desktop: a template for *.desktop files
              > PKGBUILD-lib32.proto: a template for lib32 packages for x86_64
           * some code changes and fixes
    r46: * added new option to pkgman.conf (AutoGenerateSums).
             > if AutoGenerateSums=no then pkgman asks whether to generate checksums or not.
             > if set to yes it behaves like in former versions.
    r52: * "--getownpackages" with more than 100 packages works again
           * added new option "--cachecopy":
              For each package in CacheCopyList (new variable in pkgman.conf) get existing package from pacman's cache directory - if
              CopyPkgFromCache (new variable in pkgman.conf) is set to yes - and/or create a source tarball of PKGBUILD and related files from ABS -
              if CopySrcFromABS (new variable in pkgman.conf) is set to yes - and copy them to package backup directory.
           * added new variables to pkgman.conf:
               > "CacheCopyList=file" - batch backup file, one package per line - default location is "$HOME/.config/pkgman/package.list".
               > "CopySrcFromABS=[yes|no]"
               > "CopyPkgFromCache=[yes|no]"
           * some bugfixes
           * docs completed
           * CacheCopyList should look like
    package1
    package2
    #this is a comment
    ! this too
    package3
    !package4
    r54: * renamed "--listversions" option to "--diffversions". makes more sense!
              from the man page:
                  pkgman --diffversions
                  Show differing ABS/AUR versions of installed packages from LocalPackages.
    r55: * minor changes.
    r57: * testing release
           * added a new option "--rollback":
               "pkgman <packagename> --rollback" - checks  http://arm.kh.nu for available package versions,
                                                          lets you choose one, fetches the package and
                                                          moves it to the <packagename> backup directory (if "--repoadd" is used).
    r59: * stable release
           * new option "--rollback" (see r57):
                   it checks http://arm.kh.nu (Arch Rollback Machine) for available package versions,
                   downloads chosen file and moves it to local repository (if "-r|--repoadd"  is used).
            * posting files/comments/etc to AUR should work now again.
    r65: *stable release
           * new option "-M,--meta" to create metapackages and add them and their dependencies to local repository.
              it searches for deps inside the backup directories, pacman's cache and if the packages are not available, it tries to fetch the missing
              dependencies from the Arch Rollback Machine site (http://arm.kh.nu).
    r66: * minor fixes
    r68: * some bugfixes
           * "--repoadd" and "--Reporemove" now accurately removes old packages from LocalRepository
    r69: * small bugfixes when listing packages with similar names
           * curl retries now 5 times if connection is not established
    r75: * "--cachecopy" does not try to dl sourcefiles when backing up ABS PKGBUILDs
           * some work on package splitting
           * further internal changes
    r76: * minor mistakes with "ln" purged
    r79: * mostly small changes
           * "--cleanup" now also removes uninstalled packages from LocalRepository
    r81 & r80: * added AUR v1.6.0 support (use more json)
                    * small ARM changes ("--rollback")
    r85:
          * pkgman supports pkg.tar.xz packages
          * some code rewrite, bugs purged (hopefully)
    r113:
          * pkgman now supports building split packages through makepkg.
             If you already use pkgman you need to rerun "pkgman --runmefirst" after updating.
          * new  "-t,--template" option ("pkgman <packagename> --template <alt. packagename> [--pkgbuildversion <version>] [options]").
             Useful to create a new PKGBUILD and use an existing one as a template.
          * new option: "--conf /path/to/alternate/conf/file" - Specify another configuration file.
          * pkgman now uses ${XDG_CONFIG_HOME}/pkgman or $HOME/.config/pkgman - if first not set - as the default location for its conf files.
    r116:
          * check inet conection when submitting src tarballs to AUR
          * some bugs
          * updated manpage on sf
    For further details please read the manual page.
    Last edited by DonVla (2010-04-28 11:56:59)

    I'm having some troubles with it (perhaps missing dependencies, and forgotten hardcoded dirs?):
    jan@aconcagua 8:20PM ~ % pkgman --runmefirst
    /usr/bin/pkgman: line 77: /home/jan/apps/skripte/archscripts/pkgman/share/pkgman/color.bash: No such file or directory
    /usr/bin/pkgman: line 1293: initcolor: command not found
    /usr/bin/pkgman: line 312: highlight: command not found
    /usr/bin/pkgman: line 312: error: command not found
    /usr/bin/pkgman: line 313: highlight: command not found
    /usr/bin/pkgman: line 313: error: command not found
    /usr/bin/pkgman: line 314: highlight: command not found
    /usr/bin/pkgman: line 314: error: command not found
    /usr/bin/pkgman: line 315: highlight: command not found
    /usr/bin/pkgman: line 315: error: command not found
    /usr/bin/pkgman: line 317: error: command not found
    /usr/bin/pkgman: line 318: error: command not found
    /usr/bin/pkgman: line 321: highlight: command not found
    /usr/bin/pkgman: line 321: msg: command not found
    /usr/bin/pkgman: line 329: list: command not found
    /usr/bin/pkgman: line 332: list: command not found
    /usr/bin/pkgman: line 332: list: command not found
    touch: cannot touch `/bin/.pkgman.registered': Permission denied
    /usr/bin/pkgman: line 332: list: command not found
    /usr/bin/pkgman: line 332: list: command not found
    /usr/bin/pkgman: line 332: list: command not found
    /usr/bin/pkgman: line 332: list: command not found
    /usr/bin/pkgman: line 332: list: command not found
    /usr/bin/pkgman: line 337: msg: command not found
    curl: option --output: requires parameter
    curl: try 'curl --help' or 'curl --manual' for more information
    ^C/usr/bin/pkgman: line 209: cleanoutput: command not found
    /usr/bin/pkgman: line 209: cleanoutput: command not found
    (I terminated with ctrl-c).
    EDIT: errors resolved by correcting the path $HOME/apps/skripte/archscripts/pkgman/share/pkgman to /usr/share/pkgman in the pkgman itself.
    Last edited by bender02 (2008-05-23 01:28:58)

  • What are best practice for packaging and deploying j2EE apps to iAS?

    We've been running a set of J2EE applications on a pair of iAS SP1b for about a year and it has been quite stable.
    Recently however we have had a number of LDAP issues, particularly when registering and unregistering applications (registering ear files sometimes fails 1st time but may work 2nd time). Also We've noticed very occasionally that old versions of classes sometimes find their way onto our machines.
    What is considered to be best practice in terms of packaging and deployment, specifically:
    1) Packaging - using the deployTool that comes with iAS6 SP1b to package is a big manual task, especially when you have 200+ jsp files. Are people out there using this or are they scripting it with a build tool such as Ant?
    2) Deploying an existing application to multiple iAS's. Are you guys unregistering old application then reregistering new application? Are you shutting down iAS whilst doing the deployment?
    3) Deploying ear files can take 5 to 10 mins, is this normal?
    4) In a clustered scenario where HTTPSession is shared what are the consequences of doing deployments to data stored in session?
    thanks in asvance for your replies
    Owen

    You may want to consider upgrading your application server environment to a newer service pack. There are numerous enhancements involving the deployment tool and run time layout of your application that make clear where you're application is loading its files from.
    If you've at a long running application server environment, with lots of deployments under your belt, you might start to notice slow downs in deployment and kjs start time. Generally this is due to garbage collecting in your iAS registry.
    You can do several things to resolve this. The most complete solution is to reinstall the application server. This will guarantee a clean ldap registry. Of course you've got to restablish your configurations and redeploy your applications. When done, backup your application server install space with the application server and directory server off. You can use this backup to return to a known configuation at some future time.
    For the second method: <B>BE CAREFUL - BACKUP FIRST</B>
    There is a more exhaustive solution that involves examining your deployed components to determine the active GUIDS. You then search the NameTrans section of the registry searching for Applogic Servlet *, and Bean * entries that represent your previously deployed components but are represented in the set of deployed GUIDs. Record these older GUIDs, remove them from ClassImp and ClassDef. Finally remove the older entries from NameTrans.
    Best practices for deployment depend on your particular environmental needs. Many people utilize ANT as a build tool. In later versions of the application server, complete ANT scripts are included that address compiling, assembly and deployment. Ant 1.4 includes iAS specific targets and general J2EE targets. There are iAS specific targets that can be utilized with the 1.3 version. Specialized build targets are not required however to deploy to iAS.
    Newer versions of the deployment tool allow you to specify that JSPs are not to be registered automatically. This can be significant if deployment times lag. Registered JSP's however benefit more fully from the services that iAS offers.
    2) In general it is better to undeploy then redeploy. However, if you know that you're not changing GUIDs, recreating an existing application with new GUIDs, or removing registered components, you may avoid the undeploy phase.
    If you shut down the KJS processes during deployment you can eliminate some addition workload on the LDAP server which really gets pounded during deployment. This is because the KJS processes detect changes and do registry loads to repopulate their caches. This can happen many times during a deployment and does not provide any benefit.
    3) Deploying can be a lengthy process. There have been improvements in that performance from service pack to service pack but unfortunately you wont see dramatic drops in deployment times.
    One thing you can do to reduce deployment times is to understand the type of deployment. If you have not manipulated your deployment descriptors in any way, then there is no need to deploy. Simply drop your newer bits in to the run time space of the application server. In later service packs this means exploding the package (ear,war, or jar) in to the appropriate subdirectory of the APPS directory.
    4) If you've changed the classes of objects that have been placed in HTTPSession, you may find that you can no longer utilize those objects. For that reason, it is suggested that objects placed in session be kept as simple as possible in order to minimize this effect. In general however, is not a good idea to change a web application during the life span of a session.

  • What can I do about paying for Office from a commercial store, and itunes charging $100 for smart converter, ms office package and pack for ms office $41.99? It surely looks like double dipping

    Hi folks, I am puzzled when looking at my itunes account. I bought a store office 365 package for $100, and in the process of installing it, somehow ended up with fees for smart converter, ms office package and pack for ms office, totalling another $90 from itunes. Isn't this double dipping and if so, how do I go about a refund? Thanks jby

    Well, MS Office 2004 is available for the Mac and being a user of both the Windows and Mac versions, I think that the Mac version has a slight edge. The only downside is that it does not come with MS Access so if you use that then you have to stay with the PC version.
    But... if you are set on mainly using Windows then paying a substantial premium just for a computer that looks good rather than on the fact that it runs OSX and hence great packages such as iLife etc is probably a waste. This is especially true when you have to remember that Apple will not give any technical support to users running Windows.. nil, nada, nowt! Likewise, Microshaft (sorry Microsoft) also seem unwilling to give support at this time since (for some strange reason) they don't like the idea of Windows on a Mac.
    As I see it, the main reason for Apple to release the ability to run Windows was to:
    a> Produce an 'official' version rather than have an unauthorised version 'in the field' which if problematic, could give Apple a bad name.
    b> Give people who would like to have a Mac but have the occassional program which has to be run under Windows, the ability to switch to a Mac.
    Option b was the reason why I switched from years on a PC to the Mac.

  • Downloading packages and class files

    Hi Friends
    I have a query regarding downloading packages . I have a LdapHelper class defined in a package of com.beasys.commerce.bridge.ldap of wls 2.0 version . I want that package to be imported to my wls of 8.1 version . Is this feasible ? . Can i download Package files as such . If so how ? .
    thanks in advance
    Samia

    -------- Original Message --------
    Subject: [Fwd: downloading packages and class files]
    Date: Wed, 19 Jan 2005 13:14:24 -0700
    From: Jim Litton <[email protected]>
    Newsgroups: weblogic.developer.interest.portal
    Samia,
    It would probably be best to rewrite your application to take advantage
    of the 8.1 versions of Weblogic authentication and Portal property
    management.
    In 8.1 Portal :
    1. has an Authentication class where we basically use
    weblogic.servlet.security.ServletAuthentication.weak(username, password,
    request).
    http://e-docs.bea.com/wlp/docs81/javadoc/com/bea/p13n/security/Authentication.html
    2. has a AtnManagerProxy class where we check user existence and member
    of, have methods to add remove users and groups, etc.
    http://e-docs.bea.com/wlp/docs81/javadoc/com/bea/p13n/security/management/authentication/AtnManagerProxy.html
    3. has a LdapPropertyManager EJB which is configurable through the
    p13n_ejb.jar deployment descriptors (ejb-jar.xml and
    weblogic-ejb-jar.xml) for retrieving user properties from an LDAP
    Directory Server.
    In 7.0+ and 8.1 Weblogic Server a new more flexible security provider
    framework was added to permit more flexible use of multiple security
    stores, perimeter authentication, and role mapping.
    Samia Rahumani wrote:
    Hi Friends
    I have a query regarding downloading packages . I have a LdapHelper class defined in a package of com.beasys.commerce.bridge.ldap of wls 2.0 version . I want that package to be imported to my wls of 8.1 version . Is this feasible ? . Can i download Package files as such . If so how ? .
    thanks in advance
    Samia

  • Package and Deployment

    Hello all,
    I know in Visual Basic there is a Packaging and Deployment wizard that will allow you to create an executable setup to install your application, and I am wondering if there is such a tool for use in Java? I use TextPad as my editor, and not a GUI development tool, so would I need to download a special application to create installation packages? I'm not sure if those GUI development tools already include deployment solutions..
    I have been getting better coding wise in Java, but now I am getting to the point where I need to package and deploy my application, or atleast create an executable version of my application (does not necessarily need a Setup application), and I am not sure how to go about this. Would anyone be able to point me in the right direction, or give any suggestions/advice? I gladly appreciate it!
    Thank you,
    - Dave

    This probably describes what you want to do. You don't mention what the application is - an application, an applet, or a Web Start program. Choose the "Deployment" Link in the Basic trails, and then whichever one applies.
    http://java.sun.com/docs/books/tutorial/

  • I've purchased the photoshop/lightroom CC monthly package and It won't download?

    I've purchased the photoshop/lightroom CC monthly package and It won't download, plus, to add insult to injury, i've just checked my bank account and they have taken 2 payments out of my account. One yesterday and one today, i'm really not happy about this, to be honest I've had nothing but bother using  every Adobe product i've bought.

    Please read, and reply back here with information https://forums.adobe.com/thread/1499014
    -and try some steps such as changing browsers and turning off your firewall for downloads
    or
    A chat session where an agent may remotely look inside your computer may help
    Creative Cloud chat support (all Creative Cloud customer service issues)
    http://helpx.adobe.com/x-productkb/global/service-ccm.html

  • Scheduling Packages and providing Web Interface

    Hi All,
    I have Oracle Packages and procedures which are currently being scheduled by Crontab on UNIX. There are 20 odd jobs that run daily.
    I want to make a Web interface by which user can see what is running and can schedule a package.
    Oracle 11g has Oracle Scheduler which says that it can be given a web interface.
    Could anyone suggest as to how can I achieve to have a Web interface ?
    Are there any third party tools that can be used ?
    Please suggest.
    Thanks in Advance.

    Thanks Ravi,
    Here you go !
    http://www.oracle.com/technology/products/database/scheduler/htdocs/scheduler_fov.html
    "The Scheduler can execute OS jobs (shell scripts, executables etc.), PL/SQL blocks, and PL/SQL or Java stored procedures. OS jobs can run as any OS user on or across different operating platforms, such as Unix, Windows, z/OS and OS/400. It can be accessed using a Web Interface (EM) as well as an API - DBMS_SCHEDULER. The Web Interface makes the Scheduler accessible from anywhere using a web browser. The Scheduler provides complex enterprise scheduling functionality."
    Does Application Express comes with 11g only ? Coz currently our production DB is on 9i. I had downloaded 11g last nite, probably will make some sample web applications and see how it goes.
    Thanks a million.
    Champ

  • My App Store won't allow me to download any apps. It says such and such app is unable to download try again later  every time. I have enough storage all my devices are up to date on all updates  please help

    My App Store won't allow me to download any apps. It says such and such app is unable to download try again later  every time. I have enough storage all my devices are up to date on all updates  please help

    I am a librarian at a 1:1 iPad school and we are having this problem with all ~3000 student iPads as well at ~300 teacher iPads.  This is extremely frustrating.  I have tried suggested fixes found on other discussion boards but none have worked.

  • I just upgraded my iMac to Lion, and a few seconds ago, I upgraded the iWork package and now I'm having some problems with the new version of Pages (4.1) When I try to change something in a document, a message says "the program is not responding"

    I just upgraded my iMac to Lion, and a few seconds ago, I upgraded the iWork package and now I'm having some problems with the new version of Pages (4.1) When I try to change something in a document, a message says "the program is not responding", so I have to force it to close. By the way, the SAVE botton stays the same even I change erverything in my document. Please, a have a work to finish, **** me. What I can do abou it?

    I just upgraded my iMac to Lion, and a few seconds ago, I upgraded the iWork package and now I'm having some problems with the new version of Pages (4.1) When I try to change something in a document, a message says "the program is not responding", so I have to force it to close. By the way, the SAVE botton stays the same even I change erverything in my document. Please, a have a work to finish, **** me. What I can do abou it?

  • The pass 4 days now my iTunes Store is not responding, when I reload it all that comes up is a blank white page that says iTunes Store. Help please!!!! Cannot load my gift card to buy music and such!!!

    The pass 4 days now my iTunes Store is not responding, when I reload it all that comes up is a blank white page that says iTunes Store. Help please!!!! Cannot load my gift card to buy music and such!!!

    I tookyour suggestion and SUCCESS!  I can now access the Itunes Store.  A simple fix, and thanks so much!!.
    Below is the advice you forwarded:
    I found a solution to my problem.
    > start menu
    > accessories,
    > right click on the command prompt icon and choose "run as administrator".
    Once it opens, type in the following command...
    netsh winsock reset
    hit enter
    You should get a message that the winsock reset successful and you will need to reboot your computer.
    Reboot and when I reloaded itunes the store loaded fine.
    Thanks again, -Dean Stoneburner

  • HT204053 i used the same apple id for my iphone and my husbands now all our contacts and such are on both phones how do i fix this.  I dont need his contacts on my phone and the other way also.  Should i create a different icloud account for his phone?

    I used the same apple id for my iphone and my husbands now all our contacts and such are together.  How do I undo this?  Do i create him a different icloud account? 

    Yes, start with deleting your account on his device:
    (Settings > iCloud or Settings > Mail, Contacts, Calendar > Your Account)
    In the next step, create a new account on his device:
    (Settings > iCloud or Settings > Mail, Contacts, Calendar > Your Account)

  • I have 1 old coputer and 1 new 2 different versions of itunes. can they work together. ie can I use the new one to update our iphones and such and if so will our older itunes version8.2 get changed or lost?

    We have two computers. One is older and one is newer. The older has itunes on it (version 8.2) and can no onger update. We want to install itunes on our newer computer to allow us to update our iphones. Can we install 10.2 on the newer computer and use it for updates and such without affecting the older computer? Will my wife be able to still play her music from her older computer and if we buy new music will it upload to both computers.
    Example if she buys ten more songs on her computer(older one) will it automatically upload them to the newer computer when we turn it on? And if I buy a song on the newer computer would it show up on her older version of itunes or not?

    Have a look here...
    http://macmost.com/setting-up-multiple-ios-devices-for-messages-and-facetime.htm l

  • I'm trying to download office 365 small business package, and every time I try the website it says there is a runtime service error in the '/' application. Is this my mac or is it the website, and how can I fix it?

    I'm trying to download office 365 small business package, and every time I try the website it says there is a runtime service error in the '/' application. Is this my mac or is it the website, and how can I fix it?

    If a phone is sold from one friend to another and wants to use it on a different carrier the friend can contact the carrier it was sold by to request it unlocked.  I know AT&T, Verizon, and Sprint will give you the steps to unlock it as long as the original contract it was bought under has been completed.  eBay/Craigslist is really not the best place to try to get "unlocked phones" from, if it turns out the phone isn't unlocked then I'm really sorry you got stuck with that one and as stevejobsfan said above I would report them immediately and see if you can recover your money.  I sell phones for a living and this happens a lot

  • How to create package and import from jar file?

    Hi all,
    I am writing a software and I am not sure how to create a package for the classes.
    Say I have two classes in the same directory as follows:
    testA.java
    ==========
    package AB;
    public class testA
    public static void main(String[] args){
         testB myB = new testB();
         System.out.println("A test");
    testB.java
    ===========
    package AB;
    public class testB
    public testB(){
         System.out.println("B constructor");
    both file compile without the package heading;
    both file compile using: javac -classpath .\ *.java
    Question 1:
    I cannot run testA by: java -classpath .\ testA
    I think it is a syntax error. What is the correct one?
    If I run testA by: java testA
    The only output I get is: A test
    But I am expecting: B constructor /n A test
    What went wrong?
    Question 2:
    I need to use APIs of another software. I have downloaded a .jar file (xxx.jar) with all the classes in it. And I have put "import xxx.*;" in my source file. But the compiler complains about the importing. What is the right way to copmile it?
    I have read a couple of tutorials but they don't answer my question.
    (I am using windows2000 and don't have the classpath variable.)
    Hope some one can help.
    Thanks a lot

    Try moving testA out of the package and importing 'AB.*;'
    If you have:
    ./testA.class
    ./AB/testb.class
    Then to execute testA from ./ type: java -cp . testA

Maybe you are looking for

  • Can not import photos from my Nikon D810

    I recently bought the new Nikon D810. I just spent all weekend with it and got some fantastic images. So naturally I came home and immediately went to import them. I'm also using Lightroom 4. and I had no image previews, so I thought to myself perhap

  • How to define the Market Sales KF, in order to receive the desired result

    Hi all, I dont know how to define the Market Sales Kefigure, in order to get the following result. Any hint is more than welcome. Prd_ID = Product ID PS  =  Product Sales M_ID = Market ID MS  = Market Sales MS%  = Market Share ( formula in BEX PS/MS)

  • Multiple Channels for Campaigns

    Hi Folks , Is it Possible to possible to Execute a Campaign for Different Communications Channels at Once - If so , how is it possible ? Needed valueable inputs - Thanks in Advance. Regards, Amrita.

  • Windows Update failing with 80200056

    Hi, I have recently installed Windows Server 2012 R2 Standard as guest OS on Windows Server 2012 Standard with Hyper-V as host. All attempts to download and install updates using Windows Update have been failing with 80200056 error code. Here is what

  • Why is Firefox 9.0 using so much memory? 1,000,000K+

    I just upgraded to Firefox 9.0 - After first run of install, it reopened 3 pinned tabs, and one normal tab. Yet with only the few tabs open it was very laggy. So I opened taskmanager, and holycow! Firefox was using over 1,000,000k of memory. Screensh