Installed Extensions and System Package Names

I've read through reams of documentation about installed extensions and have experimented with putting jars into %JRE%/lib/ext, etc. My question is - is it possible to put jars that contain classes with system package (java.*) names and use them?
This might sound like a strange thing to want to do, but I've been experimenting with the Long Term Persistence mechanism (http://java.sun.com/products/jfc/tsc/articles/persistence2/) which comes as a jar with classes of the package 'java.beans'. To use this from the command line I have been using the -Xbootclasspath option to include the jar. However, I want to deploy my app through Java Web Start and cannot (as far as I know) use that as a JVM option.
My last hope is that I can install these jars as extensions on the client and see if I can pick up the classes there. Is this a security violation though - using system package names for extensions?
Cheers
AlanB
P.S. I could use JDK1.4 which has the persistence mechanism as standard but the app server I'm using has 'mucho grande' problems with clients using 1.4!

I think i may have a similar problem too. I would like to extend the new java logging classes and make a new handler. To do this, the handler needs to invoke methods in the package java.util.logging that are not public ( LogManager.getStringProperty() ). So it needs to be a part of this package and I am not sure if this is allowed. Is there a way to get around this?

Similar Messages

  • Installed Extensions and Package names

    I've read through reams of documentation about installed extensions and have experimented with putting jars into %JRE%/lib/ext, etc. My question is - is it possible to put jars that contain classes with system package (java.*) names and use them?
    This might sound like a strange thing to want to do, but I've been experimenting with the Long Term Persistence mechanism (http://java.sun.com/products/jfc/tsc/articles/persistence2/) which comes as a jar with classes of the package 'java.beans'. To use this from the command line I have been using the -Xbootclasspath option to include the jar. However, I want to deploy my app through Java Web Start and cannot (as far as I know) use that as a JVM option.
    My last hope is that I can install these jars as extensions on the client and see if I can pick up the classes there. Is this a security violation though - using system package names for extensions?
    Cheers
    AlanB
    P.S. I could use JDK1.4 which has the persistence mechanism as standard but the app server I'm using has 'mucho grande' problems with clients using 1.4!

    My last hope is that I can install these jars as
    extensions on the client and see if I can pick up the
    classes there. Is this a security violation though -
    using system package names for extensions?Unfortunately, I do believe this is the case... the only classloader that is permitted to load java.* packages is the bootstrap loader.
    There is one way to know for sure, though... ;-)

  • Tools menu is missing items I am expecting after I install extensions and other oddities

    In the process of installing and customizing Firefox 3..6.4 on a new laptop, I noticed that when I expand the Tools menu, I do not see items for a number of the extensions I installed, which I see in Firefox on my old system.
    For example, I installed the "PDF Download" extension and did not see a selection for "PDF Download - Options" in the Tools menu. I installed quite a number of extensions and in summary, the Tools Menu never changed one bit.
    A different example. After I installed the Launchy extension. I went to customize my tool bar but the button for Launchy was not available to add to my toolbar.
    Yet another example of strangeness was after I installed IE Tab. When I right-clicked on a link the "Open link in IE Tab" did not show up in the menu..
    I tried doing a clean uninstall of Firefox following instructions from several websites and then reinstalling Firefox. Regardless of what I did, I was unable to see the expected items in the Tools menu after installing my selected extensions.
    Things start to get weird. I performed a clean uninstall of Firefox 3.6.4 and downloaded and installed Firefox 3.5.10 and proceeded to install all of the extensions I had installed on my other system. Most of the items I was expecting to see in the Tool menu were there, BUT there were several lines that were blank which did not do anything when I selected them.
    I was able to determine that they were related to the AdBlock Plus, downthemall! and fireftp extensions. Once I uninstalled them, the empty lines in the menu disappeared. I tried reinstalling them one by one to see if any of them would appear correctly in the menu, but adblock plus and downthemall did not. I left FireFTP installed and left adblock plus and downthemall! uninstalled.
    I then upgraded from 3.5.10 to 3.6.4 to see if all of the Tools menu items would remain. They did remain.... I then tried to install adblock plus and downthemall! but there was no change to the Tools menu, considering that in Firefox 3.5.10 I was getting empty lines in the tools menu for where I should see "Adblock Plus Preferences" and "DownThemAll! Tools".
    Not sure what is going on here, but something odd is definitely going on here. I have not tried to install any other extensions, but my gut instinct is that I will see more issues when I install new extensions.

    I had a similar problem and could not get FireFTP to show in the Tools menu and did as someone else suggested (amongst other things), I 'Disabled' the ZoneAlarm Toolbar through 'Add-ons' on the Tools menu and presto FireFTP appeared on the Tools menu after restart. Good luck

  • Net Install, Creating and Preserving User Names & Prefs

    Hi
    I have 10.3.9 Server and a few 10.3.9 and 10.4.9 clients with iMacs, eMacs, Macbooks etc. I would like to install (not boot) from the server but I cant find much info about it except the Help which doesnt cover my question which is:
    1. How do I create a new unique user name for each machine if they are all installing from the same disk image?
    2. Can I preserve the desired prefs for each machine (they are all mostly the same but not all) How about for all the apps such as Office X, Firefox (incl Bookmarks), Scanning Software, OCR, VNC etc etc and other stuff like VPN which only the laptop users need.
    3. Regarding the 4 Sight Network Fax, Each user needs to log on with its own password - Does Net Install cope with this? If so how without a unique installer for each user?
    4. I realise I can create a served .pkg file that all can access but then I would have to manually set the prefs for each app (wouldn't I?).
    I gues my quesiton boils down to:
    How do I set up some kind of image that will include the OS, the Apps and all their finely crafted prefs but have flexibility when it comes to variations in finder and app prefs across the group to save time.
    (How you ever spent time customising Word and Excel VX menus and finding the changes don't stick!!)
    Hope someone out there has done this before!
    Many thanks
    G4 Tower & Clients Mac OS X (10.4.9) OS 10.3.9 Server
    G4 Tower & Clients Mac OS X (10.4.9) OS 10.3.9 Server

    Thanks Camelot
    From your text I understand that I can put a disk image of OS and Apps on the server as a network install to install new and update existing clients. After that, I create a "home directory" on the server for each client and populate it with the correct prefs for the finder and apps.
    At each startup the user doesnt know it but all their prefs are coming down from the server, as a result they can log in anywhere on the network adn everything is as they left it!
    If thats right, then after new system setup, how do I effect a standard suite of prefs for each client without repeatedly setting up each one? How about clients that have some prefs set slightly differently (like that fax server which needs unique pwd for each client)? Finally, what if I need to distribute a new app pref to each client?
    Many thanks
    G4 Servers, iMacs, eMacs, Powerbooks & MacBook   Mac OS X (10.4.9)   Many other Apple computers on my network.

  • What can I delete from Extensions and System folder?

    I just installed System 10.4 bundled with Classic Mode on my eMac. There seemed to be a lot of things that got installed that I won't need, such as: printer drivers, iChat, Quicken and World Book Encyclopedia. What can I safely delete from the Extensions folder that will not affect the operating system, keeping in that want to run on programs in Classic Mode? Is there anything else I can delete along these lines that will free up hard drive space? Is there anything I can safely delete from the System Folder?
    I chose the Archive and install for installation. It says it created a "Previous System Folder". Can I delete this Previous System Folder to make it run faster?  

    A standard install loads you up with a pile of unneeded printer drivers, foreign fonts and foreign language support. Did you do the optional install that allows you to omit these space-eaters? If not, as this is a new install, you might consider reinstalling and exercising the optional or custom install options.
    Back in the OS9 and earlier days when hard drives were tiny  and RAM was expensive, it was a real help to rid one's self of the extra unused extensions. They had "open" and easily understood file names making it a no-brainer to drag those extensions to an "unused extension" folder outside the System folder.
    Of all the eMacs made there were only two basic logic board architectures. The first would accommodate up to 1 GB RAM and the second could handle a total of 2GB RAM. Do "About this Mac" from your Apple menu and, in the resulting window, click the "More Info..." button to launch System Profiler.
    In Profiler's first screen you can tell which architecture you have. The second line in OS 104 is "Machine Model" followed by a code:
    code "PowerMac4,4" --the first architecture, with USB 1.1 and a max RAm of 1GB
    code "PowerMac6,4 --that later and desirable USB 2.0 logic board that can do 2GB RAM.
    If you have a 4,4 the RAM for that model is listed here:
    http://eshop.macsales.com/MyOWC/Upgrades.cfm?sort=pop&model=146&type=Memory
    "PC-133" RAM is preferred in 4,4 eMacs for best function.
    The same vendor has RAM for the 6,4 here:
    http://eshop.macsales.com/MyOWC/Upgrades.cfm?sort=pop&model=223&type=Memory
    I've bought 90 percent of my RAM from this vendor for the last decade and can vouch for their product quality and customer service.
    The point is that maxxing out your RAM is not expensive and saves you a lot of grief from deleting some file with a cryptic OSX name that the computer really needs.

  • Tried install ML and system says HD corrupt, been using Lion no problems

    Purchased ML and downloaded, went to install and after 3 minutes received message HardDrive corrupt, been using 10.7 with no problem.
    Now I am stuck without either OS system.  What is the best thing to do?  Try to download ML again but my hard drive said thread count wrong (should be 0)
    my count reads 80 in many library lines. Tried the restore and it did not work and do not want to erase with 250 GB of software.  Please some good news please.

    Hi, This latest update of Flash Player vs 10.2.152.26 had many updates while in beta. Now that this release it out, in addition to the Security issues there have been other changes. This is what I would refer to as a "major" new version of Flash Player.
    A Windows 7 user with the IE9 beta browser has Installed this new FP update and reports, no issues. They may be one of the few:-)
    You did not indicate that you Uninstalled your previous version of Flash Player, prior to Installing the Update. I understand that there is a difference of opinion among Mac users regarding that. Some hold that you don't have to Uninstall the previous version and others say you do. Adobe says you do, so I'll refer you to this Troubleshooting Guide for Mac.
    http://kb2.adobe.com/cps/865/cpsid_86551.html 
    If you prefer to Uninstall this latest version and Install the previous vs 10.1.102.64, the Archived FP versions are here. They are in a zip file, which you then extract the version you want. ALL Platforms are included.
    http://kb2.adobe.com/cps/142/tn_14266.html   
    Hope this helps,
    Thanks,
    eidnolb

  • Installing extensions and little circles just keeps going round and round, Help?

    When I try to install new extensions, the little circle just keeps on going and the extension doesn't install.
    When I go to extensions through the window>Extensions, it says there are three but only two work, onOne Software, which is installed on my machine, is empty.
    When advised to download the Adobe Support Adviser, I follow the link to the page, only to be told that Adobe doesn't support this anymore.
    Why can't I install any of the extension that I want and where are the onOne Software extensions?

    Please provide more details. Windows or Mac? Which version of Extension Manager (CS6, CC, 6.0.8, 7.2.1, ...)? Could you provide the download link of the extension if possible?

  • Conflit in class name and package name

    I have a small doubt. If the class name and the package name are the same in a folder, is there will be any conflict between these while using it. That means suppose a folder named 'animator' contain a package 'a' and a class name 'a'. I got any error in the 'Eclipse' tool that "a collides with a package". Is this can be solved my any change of setting in Eclipse? If then where can i change.? Can anybody help me to solve this issue??

    This works fine: just add an import to Test.java.
    import PackageName.MyClass;
    public class Test
        public static void main(String [] args)
            MyClass a = new MyClass();
    public class PackageName {}
    package PackageName;
    public class MyClass {}It's a pretty wacky, useless example, but it works.
    Plus I thought inner classes would have a dollar sign in their .class file names. When I compile this:
    public class OuterClass
        public static void main(String [] args)
            OuterClass outer = new OuterClass();
            System.out.println(outer);
        public String toString() { return "I'm an OuterClass"; }
        class InnerClass
            public String toString() { return "I'm an InnerClass"; }
    }I see two .class files: OuterClass.class and OuterClass$InnerClass.class
    Why make up examples like this? It's hard enough writing code, and it's easy to disambiguate for the compiler.

  • Are extensions for older Dreamweaver (CS5) archived somewhere? Can an installed extension be exported?

    Today's wild goose chase is the extension that restored the deprecated validator into CS5.
    I'm trying to re-install the validator extension for CS5, but the link (http://www.adobe.com/cfusion/exchange/index.cfm?event=extensionDetail&loc=en_us&extid=2188 524) just redirects to https://creative.adobe.com/addons, which no longer seems to offer any way to get to older extensions.
    Oddly, I can't seem to find the original package (I assume it was an mxp or zxp) on the computer where I already have the extension installed. Maybe it's got a different filename and is eluding my search, or maybe it just went into a temp folder I've long since emptied.
    I know that the Dreamweaver/Downloaded Extensions folder in Windows would contain the downloaded install file, but this is a Mac and I haven't been able to find out what the equivalent directory here is.
    I'd pack up the installed extension and copy that to the other computer if I knew how to do that, but I don't even know the filenames or locations involved in this extension.
    My employer isn't going to update my copy of Dreamweaver, so getting a current editor isn't an option.
    Blah, what a mess. Does anyone know where I can get my hands on an install file for this ancient extension? (Or have any other thoughts on how I can track it down?)
    Thanks!
    Al

    I don't think that extension exists anymore b/c DW ultimately put their built-in validation feature back in to CS6.  And CS5 is no longer supported.
    Why don't you just use W3C's online validation service which is much better than the DW feature? 
    CSS - http://jigsaw.w3.org/css-validator/
    HTML - http://validator.w3.org/
    If you have Firefox's Web Developer Toolbar Add-on, among many other things it allows you to run a W3C validation on your local files directly from Firefox's Tools Menu.  See screenshot.
    Nancy O.

  • Change system folders name in mavericks

    Hi all, there is a way to change the system folder name in Mavericks as described in this article? http://www.macworld.com/article/1046866/renamesystemfolders.html
    Thank you

    Hi,
    Just in case someone search for this argument.
    I wanted to change system folders name because some folders wasn't translated in my language in OSx (it's a long story the "why").
    Now I just find a solutions in this article: http://www.cnet.com/news/home-and-system-directory-names-not-translating-in-os-x /
    So I'm happy to say "thank you touch command"
    Thanks again,
    br
    fulvio

  • Can't install extensions in DW CS3 since downloading Photoshop CS6 trial

    I'm using Dreamweaver CS3 on Windows XP. About a week ago I downloaded the Photoshop CS6 30-day free trial. Since then, when I try to install an extension in Dreamweaver, the Adobe Extension Manager CS6 opens, with the message "This extension can not be installed, it requires Dreamweaver version 6 or greater." I looked at Add & Remove Programs on my computer to see if the Extension Manager CS6 could be uninstalled, but it's not on the list of programs so I guess the only way to remove it would be to uninstall the Photoshop trial, which I don't want to do. Is there any way around this problem? The extension I wanted to install is an update of a PVII product that I already have installed.

    Thanks Murray! I selected Commands>Manage Extensions, the old Extension Manager opened and I clicked File>Install Extension and the extension installed with no problem. The first time I had tried to install it by double-clicking directly on the file and that's when the CS6 Extension Manager opened and said the extension culdn't be installed. Thanks again!

  • Upgrading for SW CS6 to Creative Cloud can I access my installed extensions

    I am upgrading form DW CS 6 and wnat to retain access to my sites and extensions will this work automatically or do I have to re install extensions and import my site settings

    CC is a completely new suite.  It's the same as moving from CS5 to CS6.
    You will need to use the CC Extension Manager for CC and the CS6 Extension Manager for CS6 because they don't speak the same language.
    http://www.adobe.com/exchange/em_download/
    Important note: MXP type extensions are not supported in Extension Manager CC. The MXP format has been replaced by the ZXP extension format. An MXP extension can be converted to a ZXP extension using the “Convert MXP Extension To ZXP” tool which can be found in the Tools menu in Extension Manager for CS6.
    Nancy O.

  • JDeveloper Addin - Get Package Name

    I'm creating a new Wizard addin for JDeveloper that basically does the same thing as creating a new java file, however it will create the JavaSourceNode with content from a template using my companies coding standards.
    My question / problem is that I can't figure out how to get the package name from JDeveloper to display in my JDialog similar to how creating a new java file works.
    When creaing a new java file, you can select a package and click new and the package name that displays in the dialog is that package name.
    Can any one suggest how to get the package name in the same manner that creating a new java file works?

    Here is the code that I came up with that I think fits with creating a new java file;
    public String getPackageName(Context context) {
    JProject jProject = (JProject)context.getProject();
    String packageName = null;
    // Get a selected element
    Element element = context.getElement();
    // If element is not NULL and is of instance of PackageFolder then
    // set the packageName to the selected package.
    if ((element != null) && (element instanceof PackageFolder)) {
    // Set the packageName to the package that was selected
    packageName = element.getShortLabel();
    } else {
    // If no package was selected then try to get the first package
    // entry of the <defaultPackages> element of the jpr. If there
    // are no packages then just use the default jpr package
    // name.
    if (!(jProject.getDefaultPackages().isEmpty())) {
    packageName = (String)jProject.getDefaultPackages().get(0);
    } else {
    packageName = jProject.getDefaultPackage();
    } // end if not empty
    } // end if
    return packageName;
    } // getPackageName
    The plugin that you suggested is very cool, but a little different that what I'm trying to do.

  • What is this error message about, "The system extension "/Library/Frameworks/PrivateTunnel.framework/Versions/Current/Extensions/tap.ke xt" was installed improperly and cannot be used"?

    It appears as a window with the following text, "System extension cannot be used.  The system extension “/Library/Frameworks/PrivateTunnel.framework/Versions/Current/Extensions/tap.ke xt” was installed improperly and cannot be used.  Please try reinstalling it, or contact the product's vendor for an update."
    I close it by clicking "Ok", and it doesn't seem to affect the system performance in any way, but it's annoying knowing that it's there.  The problem is quite old, and has persisted through several OSX updates.

    hello,
    I have the same problem. does anyone have any ideas on what's going on and or how to fix it.
    Thanks!!
    Luis

  • Help with this error message: System extenstion cannot be used:The system extension "/System/Library/Extensions/AppleACPIPlatform.kext" was installed improperly and cannot be used. Please try reinstalling it, or contact the product's vendor for an update.

    I have this error message:
    System extension cannot be used
    The system extension “/System/Library/Extensions/AppleACPIPlatform.kext” was installed improperly and cannot be used. Please try reinstalling it, or contact the product’s vendor for an update.
    Please help. Is there a update or how do I reinstall?
    Thanks,
    John

    I submitted the above question, later finding that it has been answered by Buller already.  No one need reply as Buller's answer seems to solve the problem for others, and I'll try that.
    Jim

Maybe you are looking for

  • Bootcamp black screen with Windows 7

    Hello forum, This is one of my very first posts. I'm very experienced with computers, but new to Macs. I am currently trying to install a legally downloaded version of Windows 7 x64 Professional. Downloaded from the MSDN-AA program. I burned the imag

  • How to customize a Purchase Order without availability control in FM module

    Dear FM Masters, i have the following request : On our system All the Purchase order consume budget, today we are asked to customize a new type of purchase order which does not consume budget. How to do it ? i ve tried to find the link beetween value

  • Burn playlist in order

    I've not been able to burn a playlist in the correct order.  It's an entire album i bought and downloaded off of itunes.  I have it sorted correctly in itunes, random is off.  I've looked at a number of blogs on this, and nothing has resolved it so f

  • DM 6 -Impossible to configure Organizer Sync

    First time poster - Long time BB and DM user. As usual, BB Desktop manager is a second rate sync tool.  I just installed DM 6.x on a XP running PC and was "successful" installing it. The issue - and just a little one - I cannot "configure" the Organi

  • Missing Re-load Button

    On my computer Safari 4 has no reload button. Not in the toolbar nor in the address bar. There is not a reload button in the "customize tool bar" folder. Why was this "convenience" item removed? Does some Apple developer think it's cool to make it in