NetBeans mount archive (.zip, .jar) won't finish

Trying to mount src.zip from J2SE so I can step into the code during a debugging session, but it's not working:
1. Select Mount Filesystem
2. Select 'Archive'
3. Browse to C:\Program Files\j2sdk_nb\j2sdk1.4.2
4. Select src.zip, which is then plugged into the archive name text area
5. The 'Finish' button remains greyed out.
Using NetBeans V3.51 on Win98 SE. Any solutions? Thanks in advance.

OK, I figured it out. Even though NetBeans says it supports .zip files for mounting, but it doesn't. Renamed src.zip to src.jar and everything fine.
I should be able to reward myself with the 10 Duke Dollars, eh lol

Similar Messages

  • Reading Archives (zip/jar etc)

    I am currently trying to figure out the best way to read an XML file and a series of images locally with a J2ME application. Ideally I want these to be read in as a single entity using the file browser on JSR-75 capable devices. I have been looking for ways to implement zip compatibility and have come accross solutions such as the GZIP implementation by TinyLine. The problem is that; as far as I know you can only read in single files within the archive with such solutions.
    Does anyone know of any other ways in which I could achieve this? It doesnt matter what type of archive the files are in. The goal is to simply have a single file containing the XML / images.
    Thanks,
    Dan.

    Hi!
    Here's a method I use to read images from a JAR-archive:
         * Method to load icons.
         * @param location     The location of the image we want to load.
         * @return icon          The icon we just loaded.
        public ImageIcon loadImage(String location) {
             ClassLoader loader = getClass().getClassLoader();
             // Null url for security
              URL url = null;
              try {
                   // Try to load the file
                   url = loader.getResource(location);
              } catch(Exception e) {
                   e.printStackTrace();
              // Create a image icon from file
              ImageIcon icon = new ImageIcon(Toolkit.getDefaultToolkit().createImage(url));
              return icon;
         }The parameter location could be: images/MyImage.jpg if you have a directory inside the archive named images and a file called MyImage.jpg.
    Hope it helped!
    /Andrew

  • Dynamically loading and registering JDBC driver from an archive (zip - jar)

    I'm programming an JDBC driver tester.
    I have to load dynamically any driver from an archive (jar or zip) after the user uploaded it.
    I think i did it well with my ClassLoader, i can get an instance of the driver and use any method like (getMinorVersion()) but when i registering it fail.
    There is no error but the driver is not registered.
    I rode the DriverManager log (with his logwriter) and he says :
    skipping: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@5439fe]
    skipping: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@2b7db1]
    (two times, it looks curious isn't it ?)
    This is a part of my code :
    Driver pilote = (Driver)Class.forName(driverClass.getName(), true,this).newInstance();
    System.out.println("Minor Version = "+ pilote.getMinorVersion());
    PrintWriter printwriter = new PrintWriter(new OutputStreamWriter(System.out));
    DriverManager.setLogWriter(printwriter);
    DriverManager.registerDriver(pilote);
    System.out.println("Driver registered\n");

    I have made a simple test :
    public static void main(String[] param)
    System.out.println("Loading Driver from JAR ...");
    try
    File jar = new File("c://mbm//drivers//oracle.jar");
    URL aurl[] = {jar.toURL()};
    URLClassLoader urlclassloader = new URLClassLoader(aurl, ClassLoader.getSystemClassLoader());
    Class.forName("oracle.jdbc.driver.OracleDriver", true, urlclassloader);
    PrintWriter printwriter = new PrintWriter(new OutputStreamWriter(System.out));
    DriverManager.setLogWriter(printwriter);
    Enumeration listDriver = DriverManager.getDrivers();
    System.out.println("[---------Drivers-----------]");
    while (listDriver.hasMoreElements())
    Driver driver = (Driver) listDriver.nextElement();
    System.out.println("->> "+driver.getClass().getName());
    catch (MalformedURLException e)
    e.printStackTrace();
    catch (ClassNotFoundException e)
    e.printStackTrace();
    This displays that :
    Loading Driver from JAR ...
    skipping: driver[className=oracle.jdbc.driver.OracleDriver,oracle.jdbc.driver.OracleDriver@9ec21d67]
    [---------Drivers-----------]
    D:\www\tomcat\webapps\mbm\WEB-INF\classes>
    I think there is in this case only one instance

  • I have burned to my external blu ray burner 3 times, but twice ended up with glitches in the project. now it stops at 59% and won't finish sharing. How do I get it to finish sharing?

    I have burned to my external blu ray burner 3 times, but twice ended up with glitches in the project. now it stops at 59% and won't finish sharing. How do I get it to finish sharing?

    It's a complex project and there are a lot of possibilities. Among them is the length; there are a number of reports of projects that are approaching 2 hours failing to burn.
    If it's a question of jarring Create Disk into action, one thing that has worked for some users is simply to click on and the Apply button (s) in the Settings pane of the Blu Ray Share window and then hitting Cancel. This can be tested by duplicating your project and selecting a tiny section of your sequence and exporting. Change the Output Device to Hard Drive and see whether Create Disk successfully writes a disk image.
    You can also  check that a specific clip isn't rendering properly. Since the process got to 59%, it may just mean that the burn couldn't be initiated by Create Disk – or it may indicate a problem with a clip toward end of your sequence. (If you can check the log, there may be something useful in there.)
    Use the duplicated project and this time set a range for the last 30 minutes or so of the project and export it, using the Blu Ray destination. Again, set Output Device to HD and see whether it will complete.
    Good luck.
    Russ

  • Snow Leopard (10.6.8) Web Browser, App Store, iTunes Store image won't finish loading.

    Hello,
    I've recently upgraded from Leopard to Snow Leopard by clean installing. Once I upgraded to Snow Leopard (10.6.3) everything seemed to work perfectly except for the new keyboard that I purchased (requires upgrade to 10.6.8). So as I upgraded to 10.6.8 by "Software Update…".
    Once the update was completed and the machine restarted I've noticed when I opened opened couple of common sites in Safari (such as: Flickr, YouTube, and Amazon) and some of the images won't finish loading with a "?" in the middle where the image would be and browser assumes that the site was done loading. First I thought this was a refresh problem so I hit refresh on the browser but nothing really happened. I thought this was strange so I decided to download Google Chrome and Firefox to try it out as well. Same situation as well… Then I opened  the App Store and iTunes Store and the same things happened there as well. I'm assuming that all these images exists online so anything that access the web to load images will just crap out. One odd thing is that this problem don't seem to happen on any of the sites on Apple when I view it in the web browsers.
    I couldn't figure out the reason so I decided to reinstall Snow Leopard (10.6.3) again by cleaning out the hard drives as before. Once it finished installing I opened up iTunes Store and Safari and the images loads fine. So went ahead (crossing my fingers) to "Software Updates…" to 10.6.8 and the the problem happened again.
    I naively went ahead and tried to clean installing it again, thinking "Third time is the charm!" But same situation once I upgrade to 10.6.8. After the third time I let the browser sit there after it didn't load those images. I waited about five minutes and hit refresh and the images loaded. This happened the same with App Store and iTunes Store images as well. This is very odd because my interment connection hasn't been a changed before I upgraded to 10.6.8. Seems like browsers just cuts off the loading time of the whatever that's lagging instead on that site.
    Is there a solution in the preferences for this or is this some kind of a bug that I'm having with my OS disc or network card? I don't think this has nothing to do with my modem or my interment service because it was working fine before I upgraded to 10.6.8.

    I get that same problem too-you could try checking your network settings, release and renew your IP address, see if that helps. There is a tweaking menu you can get in Firefox that can help somewhat (google Firefox tweaks) but you'd have to raise the hood in FF and tinker a bit, but it does help. How much RAM do you have on your Mac Pro?, also update your Java and shockwave
    sorry I can't be of more help
    Jon B

  • My dad has a brand new iMac. If he quits an app, this window closes, but the app won't finish shutting down, Force quitting does not work.  Once another app is opened, it will not close either.  Now none of the apps are responding. Any ideas?

    My dad has a brand new iMac. If he quits an app, this window closes, but the app won't finish shutting down, Force quitting does not work.  Once another app is opened, it will not close either.  Now none of the apps on the dock are responding. I asked him to click on the apple, and drop down to "About this Mac", but that wouldn't open either. Any ideas?  If I was at his house, I would call Apple Care in a heartbeat, but am home with my sick daughter,,,  Thanks!

    For starters, have him open Disk Utility in Applications>Utilities, select the volume (the indented listing) and Verify Disk. If it reports any problems, have him try a Safe Boot by holding the Shift key at startup. This boot will take much longer than usual. It's checking and trying to repair the drive directory, if possible. Once in Safe Boot, have him repair Permissions.
    For other Disk repair remedies see
    http://support.apple.com/kb/TS1417
    Also, have him try a PRAM Reset. At the startup chime, hold down CMD-Option-P-R together, listen for two more chimes, total three, then let go to finish booting.
    Also, is he running any AV? If so, have him uninstall it. It might be responsible for this behavior. (There are no viruses for OS X.)

  • Downloaded new ios7 and new itunes 11.1 and now iphone 4 won't finish syncing - just stays on last step and never finishes or cancels on its own. Tried reinstalling itunes with no success.

    Downloaded new ios7 and new itunes 11.1 and now iphone 4 won't finish syncing - just stays on last step and never finishes or cancels on its own. Tried reinstalling itunes with no success.

    I have the same problem.. latest version of iTunes (11.1.5) and latest version of ios (7.1) but it gets stuck at "waiting for changes to be applied" and I can't cancel the sync manually. It doesn't cancel on it's own either (at least not the 8 hours over night that it was syncing) and if I unmount the phone then the phone keeps the sync going (the little spinning arrows in the upper left corner) and doesn't recognize that it's been disconnected..
    I've tried restoring the phone (with little success, managed to get one more song on there) and syncing over wi-fi but nothing seems to work. Any thoughts, anyone?

  • I installed Snow Leopard on my Macbook. Now it won't finish bootup.

    I installed Snow Leopard on my Macbook. It said the install completed perfectly, but now it won't finish booting up.
    It just sits on the start-up window with the spinning wheel and the apple logo. I can't even eject the install disk or anything. I waited for 7 hours before giving up and just turning it off. I can't bring up any options or anything... am I done for?

    http://support.apple.com/kb/HT2674
    also see similar questiion answered by forum members
    https://discussions.apple.com/message/17943137#17943137

  • Problem with running the app outside NetBeans (loading fxml from jar)

    Hello.
    this problem occurs only when NOT using NetBeans (becouse NB may use this normal file sctructure, without jars)
    here is part of my main class, start method
            //load FXMLs
            FXMLLoader primaryLoader = new FXMLLoader();
            URL primaryLocation = getClass().getResource("PrimaryStage.fxml");
            primaryLoader.setLocation(primaryLocation);
            Parent root = (Parent) primaryLoader.load();
            Scene primaryScene = new Scene(root);
            FXMLLoader secondaryLoader = new FXMLLoader();
            URL secondaryLocation = getClass().getResource("SecondaryStage.fxml");
            secondaryLoader.setLocation(secondaryLocation);
            System.out.println("sec loader = " +secondaryLoader.toString()
                    +"\n sec loc from loader = "+secondaryLoader.getLocation()
                    +"\n sec loc url = " + secondaryLocation
                    +"\n pri loc url = " + primaryLocation);
            Parent secondaryRoot = (Parent) secondaryLoader.load();
            Scene secondaryScene = new Scene(secondaryRoot);and the thing is the 1st url (primaryLocation) is loaded properly, and the secondLocation aint.
    those 2 files are both in the same jar, same folder (packege) as main class.
    the outcome looks like this
    sec loader = javafx.fxml.FXMLLoader@5bde2a20
    sec loc from loader = null
    sec loc url = null
    pri loc url = jar:file:/C:/test_workspace/NetBeans/MZlike/dist/MoreAdvStuff.jar!/moreadvstuff/PrimaryStage.fxml
    Exception in Application start method
    java.lang.reflect.InvocationTargetException
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at com.javafx.main.Main.launchApp(Main.java:486)
            at com.javafx.main.Main.main(Main.java:638)
    Caused by: java.lang.RuntimeException: Exception in Application start method
            at com.sun.javafx.application.LauncherImpl.launchApplication1(Unknown Source)
            at com.sun.javafx.application.LauncherImpl.access$000(Unknown Source)
            at com.sun.javafx.application.LauncherImpl$1.run(Unknown Source)
            at java.lang.Thread.run(Unknown Source)
    Caused by: java.lang.IllegalStateException: Location is not set.
            at javafx.fxml.FXMLLoader.load(Unknown Source)
            at moreadvstuff.MoreAdvStuff.start(MoreAdvStuff.java:55)
            at com.sun.javafx.application.LauncherImpl$5.run(Unknown Source)
            at com.sun.javafx.application.PlatformImpl$4.run(Unknown Source)
            at com.sun.javafx.application.PlatformImpl$3.run(Unknown Source)
            at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
            at com.sun.glass.ui.win.WinApplication.access$100(Unknown Source)
            at com.sun.glass.ui.win.WinApplication$2$1.run(Unknown Source)
            ... 1 morewhere 55 line is
    Parent secondaryRoot = (Parent) secondaryLoader.load();any ideas how to fix it? loading the file manually from the jar may be a way, but its a workaround, not a solution
    Edited by: Radosław on 2012-05-17 07:55

    Hi,
    The root cause of the exception appears is here:
    sec loc url = nullThis means that the URL returned here by getResource() was null:
            URL secondaryLocation = getClass().getResource("SecondaryStage.fxml");So the only thing you have to do is figure out why this call returned null. Usually it returns null if the resource is not found in the jar/classpath.
    Last time it happened to me it was because I had misspelled the file name.
    Check that your file is not named SecondaryStage,fxml instead of SecondaryStage.fxml or something like that. Also check that it's actually present in the jar - or in the build/ directory and at the expected place (next to the class that loads it).
    Hope this helps,
    -- daniel

  • TS1424 My film I rented from iTunes has frozen half way through downloading and won't finish downloading, any ideas?

    My film I rented from iTunes has frozen half way through downloading and won't finish downloading, any ideas?

    TRy to close itunes by double tapping the home button then slide up all of the open apps and try again.
    another option is to turn off your ipad, logout from your itunes account and try again downloading the movie. If it still gives you error, call apple support and ask for itunes agent to see if there is something wrong with the movie you are trying to download

  • Tried to download us calendar.  But it stopped and won't finish downloading! Can I have help please?

    Tried to download us calendar to my iPad & iPhone.  But it stopped and won't finish downloading! Can I have help please?
    I have downloaded Japanese calendar to my calendar already.  Can't I download more than one holiday calendar?

    Plug your device into the original charger & block in a wall outlet and leave it alone for a couple of hours. Then, while it is still plugged in, restart it by holding down the home button and the power button for 10-15 seconds until you see the Apple, then let go.

  • HT201272 my movie won't finish downloading

    I just bought a movie through iTunes and it won't finish downloading on my iPad....anyone know why?

    Check your purchase history to be sure you have purchased it.
    You can click Store>Check for Available downloads to see if it is still waiting to download.
    If not, then report the issue. Apple should resolve in a day or less:
    http://support.apple.com/kb/HT1933

  • How to extract ZIP/JAR files?

    Hello,
    How can I extract zip/jar files ?
    Eric

    If you are talking java, you can use the java.util.zip classes.
    ZipFile, ZipEntry, ZipInputStream, ZipOutputStream
    You can find lots of examples through google:
    http://www.google.com/search?hl=en&q=java+zip+code+example&meta=Cheers,
    evnafets

  • OBIEE Dev VM Install Issue:Cannot open archive "ARCHIVE.zip" as archive

    All,
    I downloaded all eleven files for the OBIEE 11.1.1.6.2 BP1 - Sample Application (V207).
    I checked the MD5 Sum of the first two files and the MD5 Sums match, however when I use 7zip to extract the files, I get an error that says: Cannot open archive "ARCHIVE.zip" as archive
    Has anyone encountered this issue? I verified that the files are not read-only and that they are not "blocked" by Windows.
    I am running 64-bit Windows 7 Home Edition on a Dell laptop.
    I encountered this error on two separate archives with correct MD5 Sums.
    Any help would be appreciated! Thanks!
    Nathan

    Hi,
    I got the same problem. Have you found any solution for this? Thanks.

  • I'm having trouble with my computer, I boot it up and within a few minutes it freezes and I have to restart it, I tried updating it to the latest mavericks but it won't finish the installation it's stuck at the end, what can I do to fix this?

    As stated I'm having trouble with my computer, I boot it up and within a few minutes it freezes and I have to restart it, I tried updating it to the latest mavericks but it won't finish the installation it's stuck at the end, what can I do to fix this? I need it for homework tonight.

    Crowntheme,
    you can try this: boot your MacBook Pro into Recovery mode by holding down a Command key and the R key as it starts up. Once the Mac OS X Utilities menu appears, select Disk Utility. On the left-hand side of the Disk Utility window, select your internal disk’s boot partition (typically called “Macintosh HD”). On the right-hand side, press the Verify Disk button if it’s not greyed out; if it is greyed out, or if it reports that errors were found, press the Repair Disk button. Once the verification/repair is completed, exit Disk Utility and select Restart from the Apple menu to restart in normal mode. Does it still freeze after a few minutes?

Maybe you are looking for

  • Blue Screen when I plug my Ipod Touch 8GB(Late 2009)

    My problem is when I plug my Ipod touch 8gb to my laptop(Acer Aspire 5632wlmi,intel core 2 duo processor T5200-1,60 GHz-533MHz L2 cache,1GBDDR 2,Up to 384MB NVIDIAGeForce GO7300 TurboCache,System: Microsoft XP Professional Version 2002 Service Pack 3

  • CS3 InDesign & Illustrator Install Exit Code 7; Other CS3 Apps Install Fine

    I feel like I'm beating a dead horse... (no offence to horse lovers out there - it's just an expression) I'm having trouble performing an silent install of the CS3 suite from a network share on Windows 7.  I've read through a number of posts on here,

  • Cannot be played on this ipod

    MoneyTalk OnDemand was not copied to the ipod because it cannot be played on this ipod. after downloading an mp3 (money talk on demand)to my play list, I am unable to drag it to my ipod. It plays fine with itunes on my computer, but will not transfer

  • How to improve the performance of 11i?

    Dear all, We just upgraded from 10.7 to 11i and found that the performance is not acceptable. Currently there are about 120 staff in our company. Can someone kindly suggest some way to improve the performance? Thanks, George

  • FMLE won't recognize audio drivers.

    My FMLE will only recognize my microphone as a potential audio input source, and won't recognize RealTek Audio at all. In the dropdown menu, the only option is for the microphone. Is this a bug, or something I can fix?