Executing class in jar file that is not in classpath
I need to execute a class that is in a jar file that is not in the classpath. Do I need to write my own ClassLoader or is there another way to do this.
Thanks,
Scott
You could write your own classloader. Or you could use a URLClassLoader (it's in the java.net package). Or you could change the classpath so that it includes the jar file.
Similar Messages
-
Ojvmtc reports xy.jar is not a class or jar file
Hi
I am a little bit confuced because ojvmtc reports an error I can not imagine about:
oracle@cikic-desktop:~/Downloads/dom4j-1.6.1$ ojvmtc /u01/app/oracle/product/11.1.0/mds/jdk/jre/lib/jce.jar
/u01/app/oracle/product/11.1.0/mds/jdk/jre/lib/jce.jar is not a class or jar file
The set is closed
But jce.jar is a jar file and I can inflate it:
oracle@cikic-desktop:/tmp/fo$ jar -xf /u01/app/oracle/product/11.1.0/mds/jdk/jre/lib/jce.jar
oracle@cikic-desktop:/tmp/fo$ ls -l
total 8
drwxr-xr-x 3 oracle oinstall 4096 2010-05-03 19:40 javax
drwxr-xr-x 2 oracle oinstall 4096 2010-05-03 19:40 META-INF
And if I do a ojvm on a class file everything is working like expected:
oracle@cikic-desktop:/tmp/fo$ ojvmtc javax/crypto/Mac.class
The set is not closed
96 classes are missing
So It must be a configuration mistake somewhere ...
Can you please help me out.
Thanks
Christian MaierCoole thanks, this works pretty well!
Chris
oracle@cikic-desktop:~$ cp /u01/app/oracle/product/11.1.0/mds/jdk/jre/lib/jce.jar /tmp/
oracle@cikic-desktop:~$ ojvmtc /tmp/jce.jar
The set is not closed
131 classes are missing -
Can I increase heap memory without specify any class or jar file??
Hi,
I tried to increase my heap memory in this way :
java -Xms256m -Xmx256m
but I got an error ... it's seem that I must specify a class java or a .jar file ...
This is the error :
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
where options include:
-client to select the "client" VM
-server to select the "server" VM
-hotspot is a synonym for the "client" VM [deprecated]
The default VM is client.
-cp <class search path of directories and zip/jar files>
-classpath <class search path of directories and zip/jar files>
A ; separated list of directories, JAR archives,
and ZIP archives to search for class files.
-D<name>=<value>
set a system property
-verbose[:class|gc|jni]
enable verbose output
-version print product version and exit
-version:<value>
require the specified version to run
-showversion print product version and continue
-jre-restrict-search | -jre-no-restrict-search
include/exclude user private JREs in the version search
-? -help print this help message
-X print help on non-standard options
-ea[:<packagename>...|:<classname>]
-enableassertions[:<packagename>...|:<classname>]
enable assertions
-da[:<packagename>...|:<classname>]
-disableassertions[:<packagename>...|:<classname>]
disable assertions
-esa | -enablesystemassertions
enable system assertions
-dsa | -disablesystemassertions
disable system assertions
-agentlib:<libname>[=<options>]
load native agent library <libname>, e.g. -agentlib:hprof
see also, -agentlib:jdwp=help and -agentlib:hprof=help
-agentpath:<pathname>[=<options>]
load native agent library by full pathname
-javaagent:<jarpath>[=<options>]
load Java programming language agent, see java.lang.instrument
-splash:<imagepath>
show splash screen with specified image
can I increase heap memory without specify any class or jar file??
thxchiara wrote:
Hi,
I tried to increase my heap memory in this way :
java -Xms256m -Xmx256m
but I got an error ... it's seem that I must specify a class java or a .jar file ...
This is the error :
Usage: java [-options] class [args...]
(to execute a class)
or java [-options] -jar jarfile [args...]
(to execute a jar file)
can I increase heap memory without specify any class or jar file??The job of java.exe is to execute java bytecode.
What is it supposed to do with your request to use 256m of memory for heap
when you are not giving it a class or a jar to run? -
To include a JAR file that contains enterprise beans in a WAR module
1)I'm studying java ee tutorial in 6 but I do not understand what he means by "To include a JAR file that contains enterprise beans in a WAR module, add the JAR to the WEB-INF/lib directory of the WAR module" at this link:
http://docs.oracle.com/javaee/6/tutorial/doc/gipio.html
how do I create a file. jar to hold the enterprice beans in netbeans?
2)
as regards the case study prensete always in the tutorial "dukes-forest" I do not understand how it is structured, I think that the "dukes-store" is a web application (web module. war) to which are added other projects "entities "etc. .. is that correct? if it is right how do I create the project "entities" in netbeans? how do I add it to the project "dukes-store"?
link at case study del tutorial:
http://docs.oracle.com/javaee/6/tutorial/doc/glnpw.htmlHi,
I have also tried putting the actual jar file in my
jar file that I created, that didn't work either.
I didn't try extracting the contents of the jar file
into mine because the directory structure would
conflict my dir structure in the jar file (manifest
file that is)Out of curiosity are you trying to use executable jar files? If so you might want to put the classpath in the manifest using Class-Path: blah.jar etc. Be remember that this resolves to the disk filesystem not the internals of the jar that is being executed. In other words - the blah.jar file resides in the same directoy on the disk as your executable jar.
If you could clearly describe what you are trying to achive and how it is structured I am sure we could give you more pointers.
TTFN -
Importing classes from Jar files..?
I've run into a problem that I am having some difficulty solving. I currently trying to port a two part Java UI project from Solaris to Windows. The first is a package of core classes out of which I (successfully) create a jar file. The second is a product-specific package that imports the core classes from the package created in the first. The problem is that the second package fails to build because javac says the package from part one does not exist. Here's what I know:
- This UI (built via a Makefile) builds successfully under Solaris
- The jar file that I created in the first part exists in the appropriate directory.
- When I view the contents of that jar it appears as though everything is there.
- The jar file is appropriately included in the classpath of the second build.
Any suggestions you could provide, or resources you could point me to would be greatly appreciatedjh.jar is a static, 3rd party component. Doesn't seem to be giving me any grief, at least not yet.
Correct on your second point.
This is interesting. When I open my "CoreConsole.jar"
file, I DO NOT see any reference to the
com.emc.avalon.core.server package, only a list of
class files that make up that package. You should see the .class files on the left and the relative path on the right.
Also, all of the class file listings have absolute paths according
to the location on my machine they were built, for example:
m:/xpe/CoreConsole/classes/com/emc/avalon/core/server/MessageLogUtility.class
Is this a problem..?Yes, that should be a relative path, with the first entry being the first name in the package statement. So you should see an entry MessageLogUtility.class, and the path should be com.emc.avalong.core.server.
If you can't see the class that's missing, that would explain why the class loader can't find it, either. -
Coldfusion having trouble while loading classes in Jar file
Hi everybody.
I have some weird problem with Coldfusion.
I try to use a Jar file, that i put in the Coldfusion classpath. It works well (i can call some classes in the Jar file using the createObject() function ), but not every classes.
For example,
<cfset ServiceObject = createObject("java", "com.google.api.ads.dfp.v201204.NetworkServiceInterface")>
<cfdump var="#ServiceObject#">
this call works well, and i can the see the dump file.
<cfset dfpServiceObject2 = createObject("java", "com.google.api.ads.dfp.v201204.NetworkServiceSoapBindingStub")>
<cfdump var="#ServiceObject2#">
This call fails, and i got a 500 error :
ROOT CAUSE:
java.lang.NoClassDefFoundError: Could not initialize class com.google.api.ads.dfp.v201204.NetworkServiceSoapBindingStub
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java: 39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorIm pl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at coldfusion.runtime.java.JavaProxy.createObjectWithDefaultConstructor(JavaProxy.java:191)
If i check in the Jar file, i can see the NetworkServiceSoapBindingStub class. Moreover, when i do the same thing directly in a java application, it works well. Nevertheless, Coldfusion is not able to load this class. How can this be possible? Do you have any idea to help me?I have not been able to resolve this to date. Does anyone have half a clue as to what I might be doing wrong?
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Alison Stohrer ([email protected]):
Were you able to resolve this? I am having the same problem.<HR></BLOCKQUOTE>
null -
Oracle 8i installation, adding a file that is not native to the install
I am installaing Oracle 8i to a workstation using the Universal Installer. I have made the modifications to the ORAPARAM.INI and the CLIENTADMIN.RSP files. I need to know if there is any way that I can tell the installer to grab another file that is not part of the installtion and install it to a specified directory
Hi,
First thing you want to check is auto versioning is Enable. Following document help me resolving this issue.
Enjoy,
Jigar
ACTION PLAN
===========
1) Make sure use the latest version of Oracle Drive....
Install and run your testcase using Oracle Drive version 10.2.0.0.3
(please see readme file for details)
Oracle Drive version 10.2.0.0.3 is found here:
http://www.oracle.com/technology/software/products/contentdb/index.html
2) Next --- Use all exact details from this Note --->
Article-ID: Note 359028.1
Title: Tips, Tricks, and Debugging for Oracle Drive
3) In the above note -- see the following about "Edit in place" --->
".....If you are having problems with edit in place (ie. login to ODrive and
then using CS Webui, right-click on a file and select 'edit' option), please
check the following:
a) Is Internet Explorer being used? Edit in place only works with IE;
Mozilla and Firefox will fail
b) What version of IE is used ?
Please paste the exact version from Help, About IE
c) Make sure the exact same server name and port when connecting with IE
and Oracle Drive. Make sure all letters are lowercase, to avoid issues.
d) Verify if the Edit-in-place add-on has been added to IE. Do the following:
(1) - Click on 'Tools'
- Choose Manage Add-ons
- Make sure 'InPEditor Class' exists and is enabled
(2) What version of InPEditor class is installed :
- Go to C:\WINDOWS\Downloaded Program Files
- Right click on "InPEditor Class"
- Click on the Version tab
........." -
How to read contents of files that do not fall under public security group?
Hi,
I need to read the contents of a WCM based xml file that does not fall under public security.
The process is like this:
First the user makes chnages to the content.
The workflow will be triggred based on the security group metadata that is associated with the content.
Once the content is finally approved our workflow calls a custom idoc script.
First we tried directly reading the xml contents from the idoc script which was still in the context of workflow. But since content item is still in workflow I was not able to read the changes. So I created a separate content publisher thread and read the DOC_INFO and checked for the dStatus value. If the value is RELEASED then I reading contents by calling ssIncludeXml idoc script.
This was working fine for public content. But now the requirement is that all content cannot be public. Content authors should not be able to edit the content that does not belong to their group, So we created security groups (and roles) and are associating that groups to the relavent content.
Beacuse of this change I am not not able to read the non public content. The call to DOC_INFO_BY_NAME service, which gives all the content files' metadata, is expecting the user to be logged in to give the details.
I tried calling the CHECKIN service with sysadmin and captured the cookies returned by that service and use cookies for the DOC_INFO_BY_NAME service call. But the service call was faling. It is throing the 401 forbidden error with the message that user needs to be logged in to get the details.
How to address this problem. Someone please help.
Note: I also tried using ridc for this. I was able to get it working but since it is executing in the context of server ridc api is changing server's environment properties like HTTP_HOST, HTTP_CGIPATHROOT etc. It also seemed like system was becoming non functional after using ridc. When I called check-in the system metadata values like security group are no more loading. Not sure if ridc is the culprit here but worried that it might be causing this issue.
Regards,
PratapSorry, I posted too much details while posting this question. I was saying "not able to read *non* public content".
Anyway, I was able to resolve the issue. I was able to authenticate with sysadmin credentials in the request to service using basic authentication and was able to read doc info with that credential.
But I realized there is more than option for reading secure content.
- I could set user name as sysadmin in the m_environment (if I am in the context of a service) and the call the DOC_INFO_BY_NAME service.
- I can post an HTTP request to DOC_INFO_BY_NAME service with sysadmin credentials and do basic authorization via the connection. (This is what i have done successfully as of now )
- I could add guest role to all security groups with R (read) privileges.
I will look into all options and implement the one which is more apt.
Regards,
Pratap -
Where to put common classes and jar files
hi,
i want to put some classes and jar files in a common folder so that it can be accessed by other applications is there any way doing that.In tomcat server they have common and shared directories once any classes are into that folder they are being accessed easily ,but i am having problems with sun one .
Regards
Ameem SamiDid you find a solution for this? I'm having the same problem.
Thanks,
Tony -
I have added a jar file to my eclipse project, and inside the jar file are the classes I want to access, but when I try to import them into my classes, the import wont find them.
How can I use an import statement on them?
e.g. import ocss.nmea.api.NMEAReader;
the import cannot be found, but ocss is inside a jar file that I put in the lib file of my project.
ThanksJoachimSauer wrote:
Did you just put the jar in your project or did you add it to your build path (the build path is the Eclipse way to configure the classpath).Thanks, added the build path.
;) -
I can not install the newest version of iTunes because of a file that can not be found. This is what I am seeing:(The feature you are trying to use is on a network resource that is unavailable. C:\Documents and Settings\Aubrie\Local Settings\Application Data\Apple\Apple Software Update\)
(1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page).
http://majorgeeks.com/download.php?det=4459
Here's a screenshot showing the particular links on the page that you should be clicking:
After clicking one of the circled links, you should be taken to another page, and after a few seconds you should see a download dialog appear for the msicuu2.exe file. Here's a screenshot of what it looks like for me in Firefox:
Choose to Save the file. If the dialog box does not appear for you, click the link on the page that says "CLICK HERE IF IT DOES NOT". Here's a screenshot of the page with the relevant link circled:
When the dialog appears, choose to save the file.
(2) Go to the Downloads area for your Web browser. Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
(3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
(4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
(5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time? -
the "complete" option in "save as" produces a folder w/ 36 kb files that will not open anything - can't I save the page as a single offline file?
This is not really an answer just my comments on your question.
I am sure I recollect efforts being made to get mhtml to work with FF.
Probably the important thing to remember about .mhtml is that if other browsers do support it they may need addons, and may not necessarily render the content correctly/consistently.
There are FF addons designed for archiving webpages, you could try them, but that then assumes the recipient has the same software.
You could simply save the page from FF to your XP pc; then offline open it with and save it using IE, before then emailing using FF, and attaching the .mht or mhtml file that you have now created on your PC.
As an alternative method, in some cases it could be worth considering taking a screen grab of the required page, then sending that to the recipient as a single email attatchment using either a bitmap or jpeg file format for instance.
Something such as an airline booking may be designed with a print option, possibly it could be worthwile looking at sending the print file itself as an email attachment. -
How can I see any files that did not originally come on the mac
I downloaded and erase a few things here and there and ever since I did that I feel a slight differnce in the power of my book.. and I am completely new to mac so I am not sure how to navigate through everything completely just yet. I know how to use finder etc. but like is there a way to just look at recent files that are not natural to a mac so i can delete them
I have the brand new Macpro btw i dont think that should make a differnce with any of the answers but just incase.....
I thank you guys in advance for any help I can get I love making sure I have no trash or malware on my computer that i just paid 3k forI'm afraid that my way and Tom's way of perceiving your question are quite different. It would be confusing to have two people dragging you into different realms of troubleshooting, so I will leave this question for you and Tom to work out. To many cooks spoil the broth.
Below is my treatise on trying to fix slow computers:
Things You Can Do To Resolve Slow Downs
If your computer seems to be running slower here are some things you can do:
Start with visits to: OS X Maintenance - MacAttorney;
The X Lab: The X-FAQs;
The Safe Mac » Mac Performance Guide;
The Safe Mac » The myth of the dirty Mac;
Mac maintenance Quick Assist.
Boot into Safe Mode then repair your hard drive and permissions:
Repair the Hard Drive and Permissions Pre-Lion
Boot from your OS X Installer disc. After the installer loads select your language and click on the Continue button. When the menu bar appears select Disk Utility from the Utilities menu. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the installer.
Repair the Hard Drive - Lion/Mountain Lion/Mavericks
Boot to the Recovery HD:
Restart the computer and after the chime press and hold down the COMMAND and R keys until the Utilites Menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD disk icon and click on the arrow button below.
When the recovery menu appears select Disk Utility. After DU loads select your hard drive entry (mfgr.'s ID and drive size) from the the left side list. In the DU status area you will see an entry for the S.M.A.R.T. status of the hard drive. If it does not say "Verified" then the hard drive is failing or failed. (SMART status is not reported on external Firewire or USB drives.) If the drive is "Verified" then select your OS X volume from the list on the left (sub-entry below the drive entry,) click on the First Aid tab, then click on the Repair Disk button. If DU reports any errors that have been fixed, then re-run Repair Disk until no errors are reported. If no errors are reported, then click on the Repair Permissions button. Wait until the operation completes, then quit DU and return to the main menu. Select Restart from the Apple menu.
Restart your computer normally and see if this has helped any. Next do some maintenance:
For situations Disk Utility cannot handle the best third-party utility is Disk Warrior; DW only fixes problems with the disk directory, but most disk problems are caused by directory corruption; Disk Warrior 4.x is now Intel Mac compatible.
Note: Alsoft ships DW on a bootable DVD that will startup Macs running Snow Leopard or earlier. It cannot start Macs that came with Lion or later pre-installed, however, DW will work on those models.
Suggestions for OS X Maintenance
OS X performs certain maintenance functions that are scheduled to occur on a daily, weekly, or monthly period. The maintenance scripts run in the early AM only if the computer is turned on 24/7 (no sleep.) If this isn't the case, then an excellent solution is to download and install a shareware utility such as Macaroni, JAW PseudoAnacron, or Anacron that will automate the maintenance activity regardless of whether the computer is turned off or asleep. Dependence upon third-party utilities to run the periodic maintenance scripts was significantly reduced since Tiger. These utilities have limited or no functionality with Snow Leopard or later and should not be installed.
OS X automatically defragments files less than 20 MBs in size, so unless you have a disk full of very large files there's little need for defragmenting the hard drive.
Helpful Links Regarding Malware Protection
An excellent link to read is Tom Reed's Mac Malware Guide.
Also, visit The XLab FAQs and read Detecting and avoiding malware and spyware.
See these Apple articles:
Mac OS X Snow Leopard and malware detection
OS X Lion- Protect your Mac from malware
OS X Mountain Lion- Protect your Mac from malware
About file quarantine in OS X
If you require anti-virus protection I recommend using VirusBarrier Express 1.1.6 or Dr.Web Light both from the App Store. They're both free, and since they're from the App Store, they won't destabilize the system. (Thank you to Thomas Reed for these recommendations.)
Troubleshooting Applications
I recommend downloading a utility such as TinkerTool System, OnyX, Mavericks Cache Cleaner, or Cocktail that you can use for removing old log files and archives, clearing caches, etc. Corrupted cache, log, or temporary files can cause application or OS X crashes as well as kernel panics.
If you have Snow Leopard or Leopard, then for similar repairs install the freeware utility Applejack. If you cannot start up in OS X, you may be able to start in single-user mode from which you can run Applejack to do a whole set of repair and maintenance routines from the command line. Note that AppleJack 1.5 is required for Leopard. AppleJack 1.6 is compatible with Snow Leopard. Applejack does not work with Lion and later.
Basic Backup
For some people Time Machine will be more than adequate. Time Machine is part of OS X. There are two components:
1. A Time Machine preferences panel as part of System Preferences;
2. A Time Machine application located in the Applications folder. It is
used to manage backups and to restore backups. Time Machine
requires a backup drive that is at least twice the capacity of the
drive being backed up.
Alternatively, get an external drive at least equal in size to the internal hard drive and make (and maintain) a bootable clone/backup. You can make a bootable clone using the Restore option of Disk Utility. You can also make and maintain clones with good backup software. My personal recommendations are (order is not significant):
1. Carbon Copy Cloner
2. Get Backup
3. Deja Vu
4. SuperDuper!
5. Synk Pro
6. Tri-Backup
Visit The XLab FAQs and read the FAQ on backup and restore. Also read How to Back Up and Restore Your Files. For help with using Time Machine visit Pondini's Time Machine FAQ for help with all things Time Machine.
Referenced software can be found at MacUpdate.
Additional Hints
Be sure you have an adequate amount of RAM installed for the number of applications you run concurrently. Be sure you leave a minimum of 10% of the hard drive's capacity as free space.
Add more RAM. If your computer has less than 2 GBs of RAM and you are using OS X Leopard or later, then you can do with more RAM. Snow Leopard and Lion work much better with 4 GBs of RAM than their system minimums. The more concurrent applications you tend to use the more RAM you should have.
Always maintain at least 15 GBs or 10% of your hard drive's capacity as free space, whichever is greater. OS X is frequently accessing your hard drive, so providing adequate free space will keep things from slowing down.
Check for applications that may be hogging the CPU:
Pre-Mavericks
Open Activity Monitor in the Utilities folder. Select All Processes from the Processes dropdown menu. Click twice on the CPU% column header to display in descending order. If you find a process using a large amount of CPU time (>=70,) then select the process and click on the Quit icon in the toolbar. Click on the Force Quit button to kill the process. See if that helps. Be sure to note the name of the runaway process so you can track down the cause of the problem.
Mavericks and later
Open Activity Monitor in the Utilities folder. Select All Processes from the View menu. Click on the CPU tab in the toolbar. Click twice on the CPU% column header to display in descending order. If you find a process using a large amount of CPU time (>=70,) then select the process and click on the Quit icon in the toolbar. Click on the Force Quit button to kill the process. See if that helps. Be sure to note the name of the runaway process so you can track down the cause of the problem.
Often this problem occurs because of a corrupted cache or preferences file or an attempt to write to a corrupted log file. -
How can i delete a file that is not working?
Hi there. I have the following problem. Under the all files folder there are a couple of .avi files that do not appear anywhere else on my system, they are not working and they cannot be deleted or opened! When I click on them, I get a message that says delete, repair alias or ok. Click delete or ok and nothing happens, click repair and it says locate the original file. When I do so, again nothing happens!!
Can anyone please help? I want to get rid of them as they are taking over a precious 10GB on my macbook air
Thank youOK, this officially crosses over to the bizarre.
I believe booting from the Lion recovery partition and selecting Disk Utility is next. Run "repair disk". I believe that it will find some directory corruption and should fix it.
Here are a couple of places to go for more help, courtesy of Pondini.
Verify your internal HD, per #6 in Using Disk Utility.
If that doesn't help, see Where did my Disk Space go? -
I am trying to clear files from my computer. I have a bunch of .m4v protected files that will not delete. They are lectures from college that I do not need anymore and would like to delete them to make room on my computer. I have looked at the help sites and they seem to give directions to change files that people are saving in the future and not regarding past files. I am unable to change anything about the file including the name, so I can not change these past files from .m4v to something else which is deletable such as .mp4 etc. Any help would be much appreciated!!!!
Well, most of what we can tell you is already stated in the message you are getting. A phone can only sync with one library at a time. You have apparently synced your phone with a different iTunes library in the past, or changes have been made to this library so the phone no longer recognizes it as the library with which it was synced. To know which you will have to provide the information.
If you bought them using the AppleID you use with this phone it may simply be easier to re-download them directly to the phone rather than sync them, though you will want to resolve that issue at some point.
Downloading (using iOS or computer) past purchases from the App Store, iBookstore, and iTunes Store - http://support.apple.com/kb/ht2519
Maybe you are looking for
-
Can't export Pages document to PDF
I have been trying to export a Pages document to PDF a number of times and get the following message: "The application Pages quit unexpectedly." I have rebooted and still can't export. Can anyone help, please? Thanks so much.
-
What to do if the message "unable to check for update" appear? iPad is connected to the Internet.
-
Hi Folks, I would like to know which configuration path in SPRO is used to define IDoc number range
-
Lightroom CC will not install!
I am using the Creative Cloud Packager to build individual Adobe packages for installation through SCCM on Dell PC's. I have successfully built and deployed quite a few packages including Photoshop, InDesign, Fireworks, and Bridge, but for some reaso
-
I have iPad 2 and trying to connect to apple tv. Have gone into videos and music and put in my apple id and password but won't work. Pick up my PC fine though. Any ideas? Have tried usual switching on and off again but no change