Forcing pack200 1.5 compatibility using 1.6

The documentation for Pack200.Packer in Java 1.6 states:
"In order to maintain backward compatibility, if the input JAR-files are solely comprised of 1.5 (or lesser) classfiles, a 1.5 compatible pack file is produced. Otherwise a 1.6 compatible pack200 file is produced."
What I want to do is force all Jar files irregardless of content to be output in 1.5 compatible format. Is it possible to do this?

I've got the same problem. People on MAC can't unpack my pack.gz files packed with 1.6. Also, I didn't find any standalone pack200 packer compatible with 1.5. pack200.exe from 1.5 bin folder contains dependencies to 1.5 dlls such as java.dll etc =(
However, I was surprised when I packed my jar with pack200 from 1.5 and got the same file sizes on all jars!!! It's very strange. Because I completely removed 1.6 from my system.

Similar Messages

  • I have to "force quit" every time I use iTunes or mail,does anyone know how I can fix this?

    When I use iTunes for more than a half an hour and when I use Mail at all,my computer won't shut down or log off unless I Force Quit those programs.It used to only happen once in a while,but lately it happens every timeI use them.Any suggestions on how to fix this problem would be welcomed.

    Please read this whole message before doing anything.
    This procedure is a diagnostic test. It’s unlikely to solve your problem. Don’t be disappointed when you find that nothing has changed after you complete it.
    The purpose of the test is to determine whether the problem is caused by third-party software that loads automatically at startup or login, by a peripheral device, by a font conflict, or by corruption of the file system or of certain system caches. 
    Disconnect all wired peripherals except those needed for the test, and remove all aftermarket expansion cards. Boot in safe mode and log in to the account with the problem. Note: If FileVault is enabled on some models, or if a firmware password is set, or if the boot volume is a software RAID, you can’t do this. Ask for further instructions.
    Safe mode is much slower to boot and run than normal, and some things won’t work at all, including sound output and  Wi-Fi on certain models. The next normal boot may also be somewhat slow.
    The login screen appears even if you usually log in automatically. You must know your login password in order to log in. If you’ve forgotten the password, you will need to reset it before you begin. Test while in safe mode. Same problem? After testing, reboot as usual (i.e., not in safe mode) and verify that you still have the problem. Post the results of the test.

  • Forcing Cisco VPN client to use NAT-T

    Is there a way to force the VPN client to use NAT-T when the device isn't NATed but ESP is otherwise blocked?
    My VPN client connects but tries to use ESP, even though IPSec over UDP is selected, after detecting that no NAT is taking place.

    Thanks. Using Linux's 'vpnc' as the VPN client provides a "force-natt" option which does the trick so a little disappointed I can't do it with the Cisco client.
    I also found references to a feature request #CSCdz58488 so I thought it may have been implemented in the current VPN client.

  • How to force the Netscape browser to use Java Plug-in 1.3.0_02?

    For Analyzer 6.2.1, how to force the Netscape browser to use Java Plug-in 1.3.0_02?

    Change the classid in the object tag here is some info.This applies to JRE's 1.3.1 and greater.How do I know what Class ID to use for a specific JRE?CAFEEFAC-0013-0001-0004-ABCDEFFEDCBACAFEEFAC = This tells the browser to force a specific JRE0013-0001-0004 = JRE version number 1.3.1_04 (1.3.1_08 would be 0013-0001-0008)ABCDEFFEDCBA = Just needs to be there.1.3.0_02 = E19F9331-3110-11d4-991C-005004D3B3DB, it seems like they did not implement the standard until v.1.3.1Any good JRE Version = 8AD9C840-044E-11D1-B3E9-00805F499D93, this class id will just look for any good JRE.http://java.sun.com/j2se/1.4.1/docs/guide/plugin/developer_guide/version.html

  • How to force a Mail account to use IMAP instead of POP?

    I'm trying to setup a new mail account on my wife's iPhone 3G (4.2.1) and after putting in the in initial info (name, e-mail address, password), Mail picks up the POP server information (which is valid), but I don't want to use POP, I want to use IMAP. I know that the account supports IMAP as it's configured and working in Outlook. Changing the incoming server from pop.netcabo.pt to imap.netcabo.pt (which I know is the correct server) does nothing, it still functions as a POP server.
    I know that in some cases a big IMAP/POP selection button appears at the top of the mail configuration screen but in this case it doesn't. There appears to be no way to force iPhone Mail to use IMAP.
    The only way I know to get around this, which is a pain in the ***, is to configure the account as IMAP in OS X Mail and then sync the account to the iPhone, but I don't want to go there if I don't have to.

    If your having problems getting your Apple Mail or Mac Mail to sync across your devices, I thought this might be helpful.  It could be because you have your email accounts set up with POP rather than IMAP configuration.  Try this solution.
    I had set up my gmail account a long time ago (5 years) before I know the differnce between POP and IMAP.  IMAP allows you to sync across devices... POP is OLD SCHOOL technology of the 90's.  Now that I know better, and have more than one device I want to sync, so I want to change the settings in mac mail to convert the gmail emails from a POP account type to an IMAP accont type, but I cannot afford to loose all of my previous emails that I'd saved (100's of them), which is what will happend if you delete this account to start anew. 
    Odly, even after I set up the email as IMAP in gmail, it still did not update the account type in Apple Mail.  Apparently this has to be done from scratch.
    !.WARNING, BEFORE PROCEDING THROUGHT THE FOLLOWING, BACK UP YOUR  MAC.!
    What worked for me was actually rather simple, but to be safe BACK UP.
    Note:  It did dissassociate all of my "Signatures" but did not erase them from my email acconts (I have 14 email accounts with google apps).  Your exprience could be different, so please ba safe and back up.
    1) First I dissabled the existing email account in my Apple Mail program. 
    2) Then recreated the account from scratch as an IMAP.* 
    * Be sure to change the account to an IMAP in  gmail first (Click the Gear on the right > Settings > Forwarding & POP IMAP > Disable POP then Enable IMAP
    ***Deactivating took the account out of view (hidden) but retained all of the saved emails from the past.  At the same time it allowed me to recreate the account in Apple Mail from scratch and it auto pulled up the IMAP configuration, with the same gmail account I was using before set up as POP. ***
    Now I'm left with the best of both worlds and all syncs perfectly.
    Just don't forget and accidentally delete the inactive account, or you will lose ALL of the emails you saved during the time when the old POP email account was active.
    Good Luck!

  • Forcing a web browser to use the system cache

    Greetings,
    We are setting-up an "enterprise configuration" of JWS where we want JWS applications installed under the system folder (e.g. "<Windows Directory>Sun\Java\Deployment") rather the user "Documents and Settings" folder. The install script will run on thousands of desktops the same day. Since we do NOT want the JAR files downloaded to all these desktops at the same time, the script does not run "javaws -import" at the end - it simply copies the files deployment.properties and deployment.config under the sysem folder with the following properties set:
    deployment.system.security.trusted.certs = C\:\\WINDOWS\\Sun\\Java\\Deployment\\keystore.jks
    deployment.system.cachedir = C\:\\WINDOWS\\Sun\\Java\\Deployment\\cache\\
    deployment.system.config = file:\\C:\\WINDOWS\\Sun\\Java\\Deployment\\deployment.properties
    deployment.system.config.mandatory = true
    The install script also copies a shortcut with the target "jawaws -system...."
    This setup works fine and the shortcut does cause the application to be downloaded at the proper system location.
    However, if the user starts the app from IE (e.g. http://xx.xx.jnlp), it ignores the system configuration and downloads the app to the local user folder.
    Is there anyway to force the download to occur in the system folder ? What I find pretty odd is that even lanuched from IE, JWS does read the deployment.properties and deployment.config files from the system folder. I've put a typo and it there and JWS complained right away.
    Thanks

    No that is not possible with code on web pages (userContent.css could probably do this).<br />
    The persona is only used as the background for the user interface (toolbar) area and not for websites.<br />
    The dimensions of the persona with the height of 200px is also not enough to cover a page.

  • On one mac, is it possible for just one user to download and use windows, or will it force all the users to use windows?

    I want to download windows on the guest identity, so that I can play pc games (which only work on windows), but I dont want to have to use windows on my regular user identity. Does anyone know if it will only download for the one user?

    no user is forced to use Windows.

  • Force Acrobat 9.4 to use 8.5" by 11"?

    Scenario: A user scans several documents to jpg format, then attempts to combine them into one pdf using Acrobat 9; some of the scanned docs are typical letter-size (8.5" x 11"), yet some others are much smaller (say, 4" by 4"). When the pdf is created, naturally some pages display as normal letter-sized pages, while others are shrunken. Is there a way to force all pages in a pdf document to be 8.5" by 11" so the document preview and printing options are uniform?

    "No option to specify the fields in WHERE condition", what does this mean?
    How is s_kunnr filled when this query runs?
    How does your Z03 index look like?
    "Even the table also going to short dump", what does this mean?
    What dumps are you seeing, time outs?
    A hint only affects this very statement where it is used, no other statements in the same or other programs.
    Introducing or removing indexes can affect your entire system.
    Thomas

  • Force word wrap in JTextPane (using HTMLEditorKit)

    Hi!
    I have a JTextPane on a JScrollPane inside a JPanel. My text pane is using HTMLEditorKit.
    I set the scrolling policies of my JScrollPane to: JScrollPane.VERTICAL_SCROLLBAR_AS_NEEDED & JScrollPane.HORIZONTAL_SCROLLBAR_NEVER.
    I did not find in JTextPane�s API any relevant property I can control word-wrapping with (similar to JTextArea�s setLineWrap) and I have tried a few things to force word-wrapping but nothing worked...
    What happens is my text is NOT being wrapped (even though there is no horizontal scrolling) and typed characters (it is an enabled editable text componenet) are being added to the same long line�
    I�d like to force word-wrapping (always) using the vertical scroll bar whenever the texts extends for more then one (wrapped) line.
    Any ideas?
    Thanks!!
    Message was edited by:
    io1

    Your suggestion of using the example only holds if it fits the requirements of the featureDid your questions state anywhere what your requirement was?
    You first questions said you had a problem, so I gave you a solution
    You next posting stated what your where currently doing, but it didn't say it was a requirement to do it that way. So again I suggested you change your code to match the working example.
    Finally on your third posting you state you have some server related issues causing the requirement which I did not know about in my first two postings.
    State your problem and special requirments up front so we don't waste time quessing.
    I've used code like this and it wraps fine:
    JTextPane textPane = new JTextPane();
    textPane.setContentType( "text/html" );
    HTMLEditorKit editorKit = (HTMLEditorKit)textPane.getEditorKit();
    HTMLDocument doc = (HTMLDocument)textPane.getDocument();
    textPane.setText( "<html><body>some long text ...</body></html>" );
    JScrollPane scrollPane = new JScrollPane( textPane );If you need further help then you need to create a [url http://homepage1.nifty.com/algafield/sscce.html]Short, Self Contained, Compilable and Executable, Example Program (SSCCE) that demonstrates the incorrect behaviour, because I can't guess exactly what you are doing based on the information provided.
    And don't forget to use the [url http://forum.java.sun.com/help.jspa?sec=formatting]Code Formatting Tags so the code retains its original formatting.

  • Can I force Mac O/S to use Adobe Reader for a downloaded file?

    We are having problems with students who use Macs downloading PDF forms from our website and then saving them from Preview instead of Reader.  There is a known bug in Preview on the Mac O/S, in that it corrupts PDF forms when it saves them.  So when these students upload, the files don't work properly.  I would like to do something (perhaps setting a special MIME type?) that would force the Safari browser to open the file using Adobe Reader instead of Preview.  Is there a way to do this?

    As Michael says, no. However you can go into each computer while no students in the Room/Lab open a Group of PDF and from finder choose Get summary info.  then click on open with and choose Acrobat or Reader.
    see this: http://www.screencast.com/t/rUKY3wdeEq
    Now click on the button below with title Change All then quit out of get info.
    Now when they download and open PDF's  they will automatically open with Reader.
    You have to select a group of at least 5 or 6.  And make sure any saved PDF have a mix of PDF icons (Adobe and preview).
    Do with each computer affected.

  • Force oracle 9i installer to use green thread

    I want to install Oracle 9i on freebsd but I was unable to launch the installer because of the java runtime envoronnment, for the Oracle 8i installer We had to specify the installer to use green threads but I was unable to find where to specify it to the 9i installer.
    Any help would be welcome.
    Thanks in advance

    <How can I force oracle 9i to use more CPU >
    Never seen that before; usually we're trying to get Oracle to use LESS CPU!
    Comparing 10g and 9i are difficult and probably an exercise in futility. 10g is a different database and will perform differently. If all of your initialization parameters are identical between instances, the OS is the same version with the same settings, and the hardware is identical then there's not a lot of things to look at. If any of these things are not identical they may or may not be a factor as to why the systems are performing differently.
    The lower CPU on the 9i side suggests something else is slower, possibly data access. You could perform traces on both systems to see things like I/O and memory reads.

  • How to force the optimaizer to stop using an index ?

    Hello,
    I have an index on a very large table and I want to see how the applications running on this DB handles a situation in which this index does not exists.
    Therfore I have 2 options:
    1. drop the index - but this is too risky as if i will need to recreate it , it will last forever and will result in long application downtime which I can not afford.
    The test and Dev environments does not contain ammounts of data like the prodicution so its hard to predict from these environments.
    2. the second option is Modify the index columns statistics (which I have done) giving it low NDV (number of diftinct values) -- but sadly this did not work.
    when cheking event 10053 I see a the line "Using prorated density: [ 1/(2*num_rows) ] of col #n as selectivity of out-of-range value pred" which I guess meens the High value of the column is lower then the value given it the query ( I do not run statistics every day , the current statistics for all columns (execpt this one ) suits best and I do not want to handle plan changes . also it will take a lot of time to gather table stats on daily basis.
    So - to make a long story short - how do I force Oracle to avoid using an index but continue builing it and without dropping it?
    I can not use the 'NO_INDEX' hint as it will requre change in many Applications.
    I don need something like NO_INDEX hint on system level.
    I am using Oracle 10g Enterprise edition.
    the optimaized_mode is set to COST BASED.
    Thanks in advance for any help resolving this complicated issue.
    Regards,
    Amit Zor.
    ADBA.

    user3698066 wrote:
    Hello,
    I have an index on a very large table and I want to see how the applications running on this DB handles a situation in which this index does not exists.
    2. the second option is Modify the index columns statistics (which I have done)
    I'm still wondering if there is a way of modifying the statistics of the index in such a way so that it is not used by the optimizer.
    Since the main contributors of the formula for an simple b-tree index access path are the height of index, the number of leaf blocks and for the table access the clustering factor, may be you could come up with all those values bumped up to very large values for that particular index.
    Unfortunately the only component of the formula that is not multiplied by a factor is the height of the index, which is sanity checked (at least in 10.2) when set manually and is limited to a (already quite unreasonable) 255, so you can't set it greater than 255, but the remaining attributes can be set more or less to whatever you want.
    So you could come up with an manual modification of the index statistics like this. Note that I don't modify the NUM_ROWS and DISTINCT_KEYS values in an attempt to limit the risk of unwanted side effects of this modification.
    begin dbms_stats.set_index_stats(
    ownname=>'<index_owner>,
    indname=>'<index_name>',
    indlevel=>255,
    numlblks=>1000000000,
    clstfct=>1000000000,
    avglblk=>1000000000/<num_distinct>,
    avgdblk=>1000000000);
    end;
    /In a quick test I was successfully able to prevent a very selective index access path using these settings, but depending on your remaining statistics and the access paths chosen by the optimizer this might not work for you, at least not in all possible cases, e.g. an index unique scan won't cost more than 256 even using these settings because only a single leaf block by definition has to be visited in this case.
    Of course I haven't checked thoroughly what other side effects this statistics fudging does have, so use at your own risk resp. test it in your non-production environment before even thinking about applying it to an production system.
    Regards,
    Randolf
    Oracle related stuff blog:
    http://oracle-randolf.blogspot.com/
    SQLTools++ for Oracle (Open source Oracle GUI for Windows):
    http://www.sqltools-plusplus.org:7676/
    http://sourceforge.net/projects/sqlt-pp/

  • Is there a way to force my new MacBook to use 802.11n only?

    I am trying to force my new aluminum MacBook to only use 802.11n as I am experiencing slow connectivity. Does anyone know if this is possible?

    niceshoes6 wrote:
    Join the club. everyone is experiencing slow connectivity
    Not "everyone" because I am not. All is just as it was with my original MacBook, and plenty fast. I am using Wireless-G (MacBook 2.4 is only machine here which has Wireless-n in it).
    Phil

  • Force macbook air (2012) to use only 5ghz wifi of time capsule?

    Hello!
    Is it possible to force the macbook to use only the 5 ghz band of the time capsule wifi?
    Otherwise it is loosing lots of speed while switching between the 2.4 and 5 ghz.
    (There are approx. 20 other hotsports using the 2.4 ghz band around here...)
    Thx in advance!

    I would suggest that you configure the Time Capsule to provide a separate name for the 5 GHz network, and then "point" your MacBook at that network.
    Open Macintosh HD > Applications > Utilitiies > AirPort Utility
    Click on the Time Capsule icon
    Click Edit
    Click the Wireless tab the top of the next window
    Click Wireless Options at the bottom of the window
    Enter a check mark next to 5 GHz Network Name  (this will add "5 GHz" to the name of the network)
    Click Save
    Click Update
    Then, make sure that your Mac is set to connect to the "5GHz" network as a priority
    Open System Preferences (gear icon on the dock)
    Click WiFi on the left
    Click Advanced at the lower right
    Make sure your 5 GHz network is at the top of the list. If not, drag it there
    Click OK
    Click Apply

  • Forcing iPod to play while using apps

    Not sure if this is possible, but is there a way to force the iPod to play even when using apps? I turned off the app audio, but the app keeps stopping music from ipod on the iPad.
    Want iPod to always have priority. Again not sure if this is possible.

    Not sure if this is possible, but is there a way to force the iPod to play even when using apps? I turned off the app audio, but the app keeps stopping music from ipod on the iPad.
    Want iPod to always have priority. Again not sure if this is possible.

Maybe you are looking for

  • HT1190 Nord Modular g2 demo, MAC OS x 10.7.4

    helo i have mac os x 10.7.4, i want to make nord modular g2 ( http://www.clavia.se/products/nordmodular/demo.htm ) work. but it says: the PowerPC architecture is no longer supported. can somebody help me?

  • Parameters for substr and dbms_lob.substr

    The syntax for substr in SQL functions and for the function in dbms_lob package is not matching and hence confusing for programmers. It will be less confusing if parameters for both functions are of the same order. In Sql functions the the syntax for

  • Flash Player crash dumps

    since i installed flash player 11, my computer keeps crashing, going to memory dump at random times. the only way around this (other than remaining in safe mode) is to re-download flash player in safe mode and it allows the computer to come back to (

  • TS3274 Small lock appearing on the top bar and display not rotating.

    My apple ipad ii showing a small lock symbol on right top bar and the display is not rotating. This happened after kids were playing games. Any wrong key pressed or why?

  • Indesign issues after downloading trial

    I downloaded Indesign 6 via cloud and now I have Chinese characters in tool bar ie the button at the top for switching between character and paragraph formating has chinese symbols on it