Trivial Windows XP package name problem

I'm trying to run some of my Java apps under XP (I usually work with Linux) and haven't been able to get my package names recognized. (There are many postings on this subject but I haven't found one that solves the problem).
I'm trying to run apps from the 'Command Prompt' (is there another way?). Unnamed packages are no problem, i.e.
java TestClassworks, so the JRE is correctly installed. But things like
java package0.package123.MyClassyield the java.lang.NoClassDefFound exception.
I executed the above command from the directory containing the top level package ('package0'). I also tried
java -classpath . package0.package123.MyClassand
java -classpath C:\FULL\PATH\TO\DIR package0.package123.MyClasswith the same results.
Could the problem be that my package names are longer than 8 characters?
I'm sure there is a very simple solution. Any suggestion would be greatly appreciated - this is driving me nuts.
Thanks,
bw

1. you have to have at the begining at your java file:
package package0.package123;
//import statements
class MyClass{}
2. your MyClass.class should be in the directory structure
package0\package123\MyClass.class
3. if you have this directory structure for instance in c:\temp, then type java -classpath c:\temp package0.package123.MyClass or
java -classpath "c:\temp" package0.package123.MyClass

Similar Messages

  • 30EA2 - Search Source Code results - Go To package name problem

    As mentioned here 2.1 RC1 - Search Source Code results -> Go To <package name> doesn't work , Reports -> Data Dictionary -> PLSQL -> Search Source Code -> right-click -> Go To doesn't go to the specific line: can this be fixed?
    Alessandro

    Sorry Vadim, but the procedure to reproduce the bug is different:
    1) Open the Reports tab
    2) Expand Data Dictionary node
    3) Expand PLSQL node
    4) Click on Search Source Code
    5) Select a Connection
    6) Click on Text Search, enter a string to search and click Apply
    7) On the results page, right-click any line and select Go To <package name>
    8) The package opens on line 1, not the line shown on step 7
    While we're at it, do you think it would be possible to make the above process more user-friendly? Like, for example, right-clicking on a Connection and have the Search Source Code option there (that would take me directly to step 6)?
    Regards.
    Alessandro

  • When I want to install Itunes, it comes the message that there is a windows installer package related problem

    Thanks for help everybody

    Please repair your Apple Software Update.  START/CONTROL PANEL/PROGRAMS N FEATURES/ highlight "Apple Software Update" then click REPAIR button

  • Cannot install itunes 10.6. pop up msg states "There is a problem with this Windows Installer package. A program required for this install to complete could not be run.Contact ur support personnel or package vendor

    Cannot install itunes 10.6. pop up msg states "There is a problem with this Windows Installer package. A program required for this install to complete could not be run.Contact ur support personnel or package vendor.Please advise.

    Follow Microsoft instructions below on how to take control of the Folder. You may apply this on your C:\Program Files(x86)\iTunes
    You may take the ownership of the folder and then use the steps to grant permission to everyone–
    Locate the file or folder on which you want to take ownership in windows explorer 
    Right click on file or folder and select “Properties” from Context Menu 
    Click on Security tab 
    Click on “Advance”  
    Now click on Owner tab in Advance Security Settings for User windows 
    Click on Edit Button and select user from given Change Owner to list if user or group is not in given list then, click on other users or groups. Enter name of user/group and click ok. 
    Now select User/group and click apply and ok. (Check “Replace owner on sub containers and objects” if you have files and folder within selected folder) 
    Click ok when Windows Security Prompt is displayed 
    Now Owner name must have changed. 
    Now click Ok to exist from Properties windows 
    Once you have taken the ownership of file or folder
      Grant Permissions to everyone- 
    Go to C: and then click right click on folder and chooseproperties. 
    Then go to security tab and click Edit then clickAdd => Advanced. 
    If you click on advanced now click on Find Now and chooseeveryone and click Ok. 
    Then again click Ok and now click onAllow => Full control => Ok.

  • Hi! I can't upgrade my iTunes 10.3.1.55 on my Windows XP 2002 SP3 to the latest version of iTunes. Got the message: "A problem has occured with the Windows Installer-package. A program needed for this installation could not be run." What to do?

    Hi! I can't upgrade my iTunes 10.3.1.55 on my Windows XP 2002 SP3 to the latest version of iTunes. Got the message: "A problem has occured with the Windows Installer-package. A program needed for this installation could not be run." What to do?

    Perhaps let's first try updating your Apple Software Update.
    Launch Apple Software Update ("Start > All Programs > Apple Software Update"). Does it launch and offer you a newer version of Apple Software Update? If so, choose to install just that update to Apple Software Update. (Deselect any other software offered at the same time.)
    If the ASU update goes through okay, try another iTunes install. Does it go through without the errors this time?

  • I am trying to install iTunes on my PC, but I get this error: "There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor." Help!

    I am trying to install iTunes on my PC (using Windows 8.1), but I get this error: "There is a problem with this Windows Installer package. A DLL required for this install to complete could not be run. Contact your support personnel or package vendor." The iTunes file (64-bit) I am trying to install, is named "iTunes64Setup.exe". What seems to be the problem? Help!

    Hey madnest,
    Thanks for the question. After reviewing your post, it sounds like you are having difficulty installing iTunes in Windows. I would recommend that you read this article, it may be able to help you resolve or isolate the issue.
    Issues installing iTunes or QuickTime for Windows
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • I keep getting the following error message when I try to update my itunes, "There is a problem with this windows installer package. Aprogram run as part of the set up did not finish as expected.  Contact your support personnel or package vendor."

    I keep getting the following error message when I try to update my itunes, "There is a problem with this windows installer package. Aprogram run as part of the set up did not finish as expected.  Contact your support personnel or package vendor."

    Yes, I had found a similar solution also.  I'm running XP Pro, SP3.  I went Control Panels/ Add-Remove programmes/apple software update/ change/ repair.  Then run the 10.5 exe.
    While the programme updated from version 8 of iTunes, my new iTunes is now a mess.  Not all of my music was in the same folder previously but it all showed up on iTunes.  Now many albums have been left out, some have only a few tracks and some have two copies of some tracks as well as having other tracks missing.  I haven't begun to work on that.

  • I get the errer message "There is a problem with this windows installer package. A program required for this install to complete could not be run."

    I have Wondows Vista... I tried to upgrade to Itunes 10.5, and received an error orginially stating that I was trying to install a version older than the one I had.  I uninstalled all of itunes, and now I'm getting the error  message "there is a problem with this windows installer package.  Aprogram required for this install to complete could not be run.
    Help!  I have an IPhone, and I would like to get my Itunes upgraded so I can download the new Iphone software...
    Thanks!

    I have been in touch with Apple support in reference to my problem. We went through every solution available, and found no fix. The tech then suggested I contact Microsoft concerning this issue. I thought that suggestion was just to get me pointed somewhere but Apple. Boy was I wrong!! I contacted Microsoft, and was directed to a free download called Microsoft Fix. This program fixed something in the regisitor, and wala everything was fixed!! I now have I-Cloud and I-Tunes loaded and working well. So, if you can't install Apple Software and are running Window 7 you might give Microsoft Fix a try, it fixed my problem.....

  • Can't install itunes due to a problem with windows installer package

    hello there i can't install itunes due to a problem with the windows installer package i found a page on this site (here is the link) http://docs.info.apple.com/article.html?artnum=304405 i done every thing on it and i still haven't been able to fix the problem i have tryed the following unstalling itunes deleteing the registry keys deleteing all the temp files disableing all anit-virus software and anit-spyware. runing cc clearner downloading a new installer for itunes and windows installer and the script thing. and trying to reinstall. nothing seems to work i don't know what else to do this is the error message i get when i try to install i tunes. "there is a problem with this windows installer package.
    A program required for thsi install to complete could not be run.
    Contact your suupport personnel or package vendor."
    Please Help i would be most greatfull for any advise given
    Message was edited by: Joe_TLC

    I pulled my brains out trying to figure this bug out and I may have a solution for you.
    All of it installed fine in my desktop, but a friend's laptop got the error you mentioned on quicktime, itunes, flash, officeXP and about anything else I tried to load for him.
    If you look in: C:\documents and settings\<username>\Local Settings\Temp there will be an iTunes install log...open it in Notepad and see if it isn't exiting with a 1619 error while running msiexec.exe
    If this is the case, this fix should work for you.
    Seems some configurations of XP (and possibly Vista) aren't allowing full administrator rights to the account you set up when you installed XP (even though User Editor says you do have those rights.)
    I read 2 MS articles and turned off simple file sharing, then gave ownership of the entire C: drive to the administrator. Logged the admin account off, logged his "admin" account in, and then gave rights to his personal directory to his account (c:\docs and settings\<username>)
    Once I did that, every install that had previously errored out performed flawlessly.
    The MS articles in question:
    http://support.microsoft.com/?kbid=316309 (1619 error)
    and
    http://support.microsoft.com/?kbid=308419 (how to set special permissions)
    Hope this helps!
    Doc

  • HT1926 when trying to setup itunes on my pc i get the following message: there is a problem with this Windows installer package. A program required for this install to complete could not be run. How could I solve this problem?

    when trying to setup itunes on my pc i get the following message: there is a problem with this Windows installer package. A program required for this install to complete could not be run. How could I solve this problem?

    Repair your Apple software update.
    Go to START/ALL PROGRAMS/Apple Software Update. If it offers you a newer version of Apple Software Update, do it but Deselect any other software offered at the same time. Once done, try another iTunes install
    If you don't find ASU, go to Control Panel:
    START/CONTROL PANEL/Programs n Features/highlight ASU and click REPAIR,

  • ITunes 10.5 Upgrade fails to Install. The Error Message is: "There is a Problem with this Windows Installer Package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor."

    When Upgrading on my laptop from iTunes 10.2.11 to 10.5.0 the message I get is: "There is a problem with this Windows Installer Package.  Aprogram run as part of the setup did not finish as expected. Contact your support personnel or pacakge vendor.

    After reading all these posts, one by one did not resolve my problem until I got the very end.  Regardless of what step would resolve your problem, these are the steps I would recomment to everyone for a what seems to be a safe and fool-proof upgrade to iTunes 10.5.
    1. Stand alone upgrade to the latest Quicktime version
    2. Go to control panel and "change" then select repair to the following applications in the order specified by the post on Oct 27. (Notice I skipped Quicktime because it had been upgrade manually,and Bonjour did not have a "repair" option)
    iTunes; Apple Software Update: Mobile Device Support; Apple Applications Support
    Some of these applications may not appear if they do not apply to your configuration (no iPhone, or no iPad, or other apple devices).
    Once all updated, I did not need to restart nor launch any applications, I simply went straight into the 10.5 upgrade, and where it normally got stuck, this time the installation continued for a while longer until it completed successfully.
    Great work everyone who contributed!  Thank you very much!

  • How to re-install iTunes after receiving "There is a problem with this Windows Installer package ..." message?

    Hi,
    This is how it all started. When the new update for iTunes 11 came out, I tried to update it. After I had updated it I found nothing had changed. So i tried rebooting my computer and everything and found that still nothing had changed. So I tried uninstalling it. After that I tried to re-install it, but it came up with the
    "There is a problem with this Windows Installer package ..." message. So I looked around the internet and found a website that told me to uninstall all Apple products. So i did that. When i tried to uninstall Apple Software Update, it came up with the 'problem with windows' message again. So I used Revo to uninstall it. So I rebooted and tried to install it again. It installed Bonjour and all of the other programs but stopped halfway and gave me the 'proplem with windows' message again. I've looked around and most of the solutions have been to try and repair Apple Software Update, but the problem is, I've already deleted it. So can someone PLEASSEEEE help me fix this problem! (Sorry for droning on)

    http://support.microsoft.com/mats/Program_Install_and_Uninstall  try this an see if it fixes it.

  • I'm not able to download Itunes.  I keep getting this Apple Software Update message that states "There is a problem with this Windows installer package.  A program required for this install to complete could not be run.  Contact your package vendor"

    Not able to access Itunes store anymore.  Just quit working for no reason.  I've tried deleting Itunes and related components from the Control Panel, but when I try to remove Apple Software Update, I get a message that states "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".  Not sure what this message means.  Am I suppose to contact Apple ?  What is meant by package vendor ?

    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

  • When I try to install iTunes 10.5, it says, "There is a problem with this Windows Installer package.  A program run as part of the setup did not finish as expected.  Contact your support personnel or package vendor."  I have Windows XP and I need help.

    5, it says, "There is a problem with this Windows Installer package.  A program run as part of the setup did not finish as expected.  Contact your support personnel or package vendor."  I have Windows XP and I need help.

    After reading all these posts, one by one did not resolve my problem until I got the very end.  Regardless of what step would resolve your problem, these are the steps I would recomment to everyone for a what seems to be a safe and fool-proof upgrade to iTunes 10.5.
    1. Stand alone upgrade to the latest Quicktime version
    2. Go to control panel and "change" then select repair to the following applications in the order specified by the post on Oct 27. (Notice I skipped Quicktime because it had been upgrade manually,and Bonjour did not have a "repair" option)
    iTunes; Apple Software Update: Mobile Device Support; Apple Applications Support
    Some of these applications may not appear if they do not apply to your configuration (no iPhone, or no iPad, or other apple devices).
    Once all updated, I did not need to restart nor launch any applications, I simply went straight into the 10.5 upgrade, and where it normally got stuck, this time the installation continued for a while longer until it completed successfully.
    Great work everyone who contributed!  Thank you very much!

  • Error message on window 7 for install iTune and iCloud!!!"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."

    Hi,
    I just try to install the setup download from apple website for iTune and iCloud.
    During the installation, there was error message prompt out "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."
    I am using Window 7 32 bit. I have try several time for install, but the result is getting same error message.
    Anyone can help on this??????
    Thanks.
    Justin

    I have also tried extracting the individual components to the temp file and attempting to install them individually despite being unable to remove the previous install of Apple Software Updater.  The outcome, both Apple Software Updater and itunes encountered the same error message during the install process.

Maybe you are looking for

  • How to find links in a website

    Hello, Well i have studied the example in page http://java.sun.com/docs/books/tutorial/networking/urls/readingURL.html and coded it. The program reads the url and outputs the html code of the site , as i understood. Well, how am i supposed to find th

  • How to expand background.

    Hi there, I have this photo here and I would like to make it such that the grey'ish background extends all the way to the edges (width = 480px). Any ideas? Thank you in advance for your pointers! Oana

  • Safari won't launch on on iPad - Where to get help?

    As of 7:00 pm last evening (2/16/2013) my Safari won't launch via my iPad. It is not a wireless connection problem as my other devices work just fine and load. I have narrowed it down to Safari just not connecting. Any help or direction would be appr

  • Mail from external system to SAP

    Hi, There is a FM to post a message from the SAP system to the external ID. Is there any FM or procedure to get a mail from the external system to the SAP sysem? Regards, Amit Jain

  • Updating a subtype from another subype

    Hi all, I need update the subtype of an infotype while transaction for other subtype is being run. We can't use bdc for this as the pernr would be locked for the previous subtype. Right now i am updating those fields using the update statement. thank