The JBuilder package mystery

Dear all,
I've come across an interesting JBuilder problem that is slightly different to the other ones I've seen on this forum when i searched
Background:
I've been making an address book program for my computer to help me learn java and up to now i've just compiled it at the DOS prompt. To help learn a bit more about java, I created a package (called JLgeneric) to store some of the classes I am using in this project that I might use on another program (for instance one class that does some interesting things with strings). With a little messing around with CLASSPATH in Windows XP, and learning about how to import packages and the like i finally got it working. Please note, I put my JLgeneric packages (i.e. directory) in a completely different place on my hard disk to where I put the source files.
Now I've decided to start using JBuilder rather than javac as I think it will be more useful in the future. I can already use it to compile simple java programs - it is fine with these. But, using it to compile my addressbook program it comes up with several errors (66!!). The source of these errors is (I think) that it can't find my JLgeneric package, even though the javac (the java compiler at the command prompt) finds it ok.
The Problem
So my question is this, if I have my own package "JLgeneric" on a completely different place in my hard disk to the source files, how do I tell JBuilder where to find it. I tried adding its path via PROJECT|PROPERTIES|LIBRARIES but when I tried to compile the project it still didn't manage to find JLgeneric.
My packages are found using javac so why doesn't it work with JBuilder?!
Any help is much appreciated
Thanks
James

My packages are found using javac so why doesn't it
work with JBuilder?!Because the classpath you are using with javac is different than the one JBuilder is using.
With javac, you are either creating a CLASSPATH environment variable (which by the way isn't a good way to go if you are) or are passing -classpath [your classpath here] command-line arguments to it.
JBuilder doesn't use the CLASSPATH environment variable, and you don't pass command-line arguments to it, so it uses project settings to determine the classpath to use. It sounds like you're on the right track (mentioning using PROJECT|PROPERTIES|LIBRARIES), but apparently just haven't done it correctly. Keep playing with it - this is not really a Java question, per se.

Similar Messages

  • How does iWeb read the Domain package?

    My MacBook is having stability problems. Along the way with its MANY crashes, it has lost its path to my iWeb domain.
    The Domain package in the Application Support folder has its contents intact, but upon opening iWeb, the sites are missing, and there is no import feature. I also get a dialog box reading "Can't open the file "~/Library/ApplicationSupport/iWeb/Domain.sites."
    Ideas?
    I am the sole teacher in our district using a blog instead of a newsletter to communicate with parents. I am also using another site to blog notes on professional readings being done for my master's degree. It is difficult to convince others to take the digital leap when the risk-takers fail!
    Intel MacBook & Mac Mini Duo w/ 23" display Mac OS X (10.4.8)
    MacBook & Mac Mini Mac OS X (10.4.8)

    OP? I'm not a newbie, but neither am I a true geek...Pygmalion, I guess. Anyway, please help with the term.
    This happened before upgrading to 1.1.2, which I only just did today. I also tried dragging the domain to the trash, then allowed iweb to rebuild. It rebuilt a nothing file. I returned the old "full package deal" domain.
    Before iweb failed, MS Office apps began crashing, freezing on saves or attempts to print. Soon other apps were crashing on save. Then the iweb mystery occurred. All this since the last week in August when I got this MacBook for my classroom. Add to that the new third Mac Mini in that time period (the third is no longer turning on the display at all, but I'm out of fix-it time) and you're looking a a woman who is ready to become a luddite!
    I've kept all this under my hat at work, lest I provoke the real luddites. But that make's solutions finding (and venting) lonely. Hopefully someone here will have a brilliant solution...soon!
    Perhaps Apple should hire me as their quality assurance controller. If it passes my golden touch, their returns would be WAY down!
    Check out my classroom site http://web.mac.com/bkoopman1/iWeb/Site/Welcome.html
    and please tell me how to ressurect this work. There are elementary students waiting to Podcast THEIR tall tale! This Wednesday I'd planned on Podcasting a joint writing project between my students, local senior citizens and a nearby University.
    MacBook & Mac Mini w/ 23" display Mac OS X (10.4.8)

  • About the class packaging problem

    I used JBuilder 3 and 4 before and packaged some java classes together
    but now when I want to use earlier version of the JBuilder like 2007, the import can't resolve some of the packages.
    Any suggestions please.

    I think it doesn't know them.
    Do I need to add a JAR to the project manually? Yes, when you add a JAR you are telling JBuilder where to look which in turn sets your classpath, without this it will never find it.
    Do I need to do other operations before to add it?
    Because when I choose "Add JARs", there is nothing
    for me to add.Well I take it that it opens a File Chooser of some sort, you should then navigate to your JAR on drive.

  • Please reassign the 'dpkg' package back to me

    I was maintaining the 'dpkg' package until recently, but it has mysteriously been awarded to someone else.  I've been commenting for months that I'd be staying with the stable branch.  I chose not to update this PKGBUILD, as v1.4.25 was still listed as the current stable release in my web browser.
    Someone else has now become the maintainer of this package, but I wasn't notified by anyone that he intended to steal it from me.  I want to know which TU reassigned this package to him, without bothering to contact me first.  It will be interesting to see if you've got the balls to reveal this information and reverse the unwarranted change.

    It wasn't my intention to 'steal' the package from you and I'm sorry if I left you wih that impression.
    drcouzelis is right: I don't mind to give the package back to you if you want.
    But at least I have to make some points clear: I've sent you a mail to notify you that the package is outdated. I think it's the right decision to stay with the latest stable of dpkg in lenny but this latest version is 1.14.28 since the 12th january afaik. The package was only orphaned because 'someone' unflagged the package out-of-date and I already notified you. And in the end the only reason I made that request that soon was the somebody who unflagged the dpkg packege. And the hurry was that the source of your version wasn't on the mirror in the pkgbuild for some weeks.
    drcouzelis wrote:I am curious how you know what the current version of dpkg is.
    The latest version is 1.15.0. But the latest version in the stable branch of debian is 1.14.28. I think the most users that are interested in this package use it to pack debs for debian so this version is the right one in my opinion.
    Last edited by raubkopierer (2010-02-11 07:35:31)

  • Do I need basic cable to use the MLB package purchased through itunes to use on my Apple TV?

    I would like to purchase the MLB package through itunes to use on my Apple TV. Do I need to have basic cable in order to watch it on the tv like some of the other apps require?

    Yes sorry, I can see that from your question title.  Are you in the US? Ifv so movie redownloads should be available, but I believev some studios aren't onboard.
    In iTunes, go to the Store home page - on the right in Quick Links is there a Purchased/Purchases section? If so check if you can download the movies from there.
    If you can't see them go to expresslane.apple.com and raise a support ticket for iTunes store, asking them to enable download via iTunes.
    AC

  • 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?

  • ASA 5505 Failed to unzip the Anyconenct Package

    There is ASA 5505:
    - 8.4(2) IOS
    - FLASH: 128 Mb
    - DRAM: 256 Mb
    Requirements for 8.4(2) are acomplished:
    For the ASA 5505, only the Unlimited Hosts license and the Security Plus license with failover enabled require 512 MB; other licenses can use 256 MB.
    Are installed latest AnyConnect packeges for linux, some smatphones (each 4-5 MB). But for Windoes it's 21 MB and we got error "Failed to unzip the Anyconenct Package". In prior IOS version there was command cache-fs limit, by default it was 20 Mb. As i understand ASA now dinamically determines amount of cache memory and it's not enough.
    Because of the increased size of the AnyConnect package from 4MB in AnyConnect 2.5 to 21 MB in AnyConnect 3.0, you may need to upgrade the ASA flash and memory card first.
    If your ASA has only the default internal flash memory size or the default DRAM size (for cache memory) you could have problems storing and loading multiple AnyConnect client packages on the ASA. Even if you have enough space on the flash to hold the package files, the ASA could run out of cache memory when it unzips and loads the client images.
    So there is a question, after DRAM upgrade to 512 MB will be there enough cache memory for Anyconnect packeges with total size 35-40 Mb?

    I have having the same issue on an ASA-5510 with 256MB DRAM 256MB Flash.  I do not have this issue on an ASA-5550 with 4GB DRAM 256MB Flash, so I'm guessing the issue is with the memory size.
    Also, from:  http://www.cisco.com/en/US/docs/security/vpn_client/anyconnect/anyconnect30/release/notes/anyconnect30rn.html
    Flash and DRAM Requirements for Upgrade
    Check for the space available before proceeding with the AnyConnect 3.0 upgrade. You can use one of the following methods to do so:
    •CLI—Enter the show memory command.
    asa3# show memory     
    Free memory:       304701712 bytes (57%)
    Used memory:       232169200 bytes (43%)
    Total memory:      536870912 bytes (100%)
    •ASDM—Choose Tools > File Management. The File Management window displays flash space.
    Because of the increased size of the AnyConnect package from 4MB in AnyConnect 2.5 to 21 MB in AnyConnect 3.0, you may need to upgrade the ASA flash and memory card first.
    Caution The minimum flash memory required is 128MB for an ASA 5505; however, we strongly recommend 256 or preferably 512 MB. To support multiple endpoint operating systems and enable logging and debugging on the ASA, you will most likely need 512 MB of flash memory.
    If your ASA has only the default internal flash memory size or the default DRAM size (for cache memory) you could have problems storing and loading multiple AnyConnect client packages on the ASA. Even if you have enough space on the flash to hold the package files, the ASA could run out of cache memory when it unzips and loads the client images. For internal memory requirements for each ASA model, see Memory Requirements for the Cisco ASA Adaptive Security Appliances Software Version 8.3 and Later. For additional information about the ASA memory requirements and upgrading ASA memory, see the latest release notes for the Cisco ASA 5500 series.

  • I am trying to install itunes 10.5 but I get an error message that says click ok to try again or enter an alternate path to a folder containing the installation package iTunes.msi...I try to point iTunes to the .msi file but that is not working.

    i am trying to install itunes 10.5 but I get an error message that says "click ok to try again or enter an alternate path to a folder containing the installation package iTunes.msi..." I try to point iTunes to the .msi file on my c drive but then it gives me  a message says "the file location is not a valid installation packaage for the product iTuness.  Try to find the installation package 'itunes.msi' in a folder from which you can install iTunes".  Any help, insight, guidance would be greatly appreciated!!

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

  • I am trying to update itunes but keep getting 'The feature you are trying to use is on a network resource that is unavailable - Click OK to try again, or enter an alternate path folder containing the installation package 'itunes64msi' in the box below'. ,

    I am trying to update itunes but keep getting 'The feature you are trying to use is on a network resource that is unavailable - Click OK to try again, or enter an alternate path folder containing the installation package 'itunes64msi' in the box below'.
    I am unable to install and also i cannot uninstall itunes, can anyone HELP PLEASSSSSSEEEEEE!!

    (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
    (2) 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?

  • When I try to update itunes, I get the following:  The feature you are trying to use is on a network resource that is unavailable.  Click OK to try again, or enter an alternate path to a folder containing the installation package iTunes64.msi in the box..

    When I try to update itunes, I get the following:  The feature you are trying to use is on a network resource that is unavailable.  Click OK to try again, or enter an alternate path to a folder containing the installation package iTunes64.msi in the box below.
    This leads me to another dialog box that says:  The file .......is not a valid installation package for the product iTunes.  Try to find the installation package iTunes64.msi in a folder from which you can install iTunes.
    That doesn't work either.  What to do?
    Dean

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

  • How can i remove iTunes 10.1.0.54 saying the feature you are trying to use is on a network resource...enter an alternate path to a folder contaning the installation package 'iTunes.msi'?

    How can i remove iTunes 10.1.0.54 saying the feature you are trying to use is on a network resource...enter an alternate path to a folder contaning the installation package 'iTunes.msi'?
    < Edited by Host >

    Unfortunately, this sort of trouble has gotten more complicated to deal with ever since Microsoft pulled the Windows Installer CleanUp utility from their Download Center on June 25. First we have to find a copy of the utility.
    Let's try Googling. (Best not to use Bing, I think.) Look for a working download site for at least version 3.0 of the Windows Installer CleanUp utility. (The results from mydigitallife and Major Geeks are worth checking.)
    After downloading the utility installer file (msicuu2.exe), scan the file for malware, just in case. (I use the free version of Malwarebytes AntiMalware to do single-file scans for that.)
    If the file is clean, to install the utility, doubleclick the msicuu2.exe file you've downloaded.
    Now run the utility ("Start > All Programs > Windows Install Clean Up"). In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove".
    Quit out of CleanUp. Restart the PC, and try another iTunes install. Does it go through properly this time?

  • After trying to run the iTunes automatic update, I got this "The feature you are trying to use is on a network resource that is unavailable." Click OK to try again,or enter an alternate path to a folder containing the installation package 'itunes.msi"

    After trying to run the iTunes automatic update, I got this box on my pc "The feature you are trying to use is on a network resource that is unavailable. Click OK to try again, or enter an alternate path to a folder containing the installation package 'iTunes.msi" in the box below.. I ran a search for the file, and entered that into the box, to no avail. Then I launched iTunes and clicked on 'check for updates', and was told I had the latest version 11.0.1 I think it is. So, any clue on what to do? Thanks for any and all help.

    (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
    (2) 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?

  • When i try to download the newest version of itunes it says "the feature you are trying to use is on a network resource that is unavailable" and then it gives me an alternate path to a folder containing the installation package for itunes64.mis, help

    when i try to download the newest version of itunes it says "the feature you are trying to use is on a network resource that is unavailable" and then it gives me an alternate path to a folder containing the installation package for itunes64.mis, help

    (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
    (2) 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?

  • How can I use the security package in JCOP41V2.2?

    Hi all, I'm a newbie in javacard programming. I'm trying to develop a project with RSA_signature. But I found, the exception NO_SUCH_ALGORITHM will be thrown out when I new an instance of KeyPair.
    My java file Temp_1.java following:
    package temp;
    import javacard.framework.Applet;
    import javacard.framework.ISO7816;
    import javacard.framework.ISOException;
    import javacard.framework.APDU;
    import javacard.security.*;
    * @author lujj
    public class Temp_1 extends Applet {
    KeyPair myKeyPair = null;
         public static void install(byte[] bArray, short bOffset, byte bLength) {
              // GP-compliant JavaCard applet registration
              new Temp_1().register(bArray, (short) (bOffset + 1), bArray[bOffset]);
         public void process(APDU apdu) throws ISOException{
              // Good practice: Return 9000 on SELECT
              if (selectingApplet()) {
                   return;
              byte[] buf = apdu.getBuffer();
              if(buf[ISO7816.OFFSET_CLA] == (byte)0xEE)
                   try
                        myKeyPair = new KeyPair(KeyPair.ALG_RSA, KeyBuilder.LENGTH_RSA_1024);
                   catch(CryptoException e)
                        ISOException.throwIt((short)(0x6F00+e.getReason()));                    
                   return;
              switch (buf[ISO7816.OFFSET_INS]) {
              case (byte) 0x00:
                   break;
              default:
                   // good practice: If you don't know the INStruction, say so:
                   ISOException.throwIt(ISO7816.SW_INS_NOT_SUPPORTED);
    This package can be upload and the applet can be installed successfully.
    But if I send the apdu "EE 00 00 00 00" after selected the applet, "6F 03" will be returned.
    Is there anyone can help me? Thanks a lot.

    Thank you so much~
    Actually, it's only an applet for test. I cannot get the error code if I new the KeyPair in install function or Applet construct function. It will return "6A 80" when install the applet.
    And, I found that it support few algorithm. For example, it does not support ALG_DES_MAC4_ISO9797_M2,etc. Is there anything I can do if I want to use the algorithm? Shall I rewrite security package by myself?
    5555, security package is the standard package in JAVACARD API 2.1.1.

  • 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

Maybe you are looking for