Compress two .jar file into a new .jar file

Hi all, i would like to ask it there anyone know how to compress two or more .jar file into one new .jar file?
because i'm currently need to engage with one big project which have to add 34 .jar file into JCreator, so that the relevant classes can be found when compile the code.
another question is, what is the maximum archive can be add into JCreator? is it limited or unlimited?
So, any idea from you all?
Regards,
poh_cc

You should probably ask the authors of JCreator about the limitations of it.
The classloader can't read jars from jars and I would advice against extracting all jars and jar all classes into one big fat jar.
Kaj

Similar Messages

  • Copy data of two rows together into a new row

    Hello everyone.
    I have a question about copying data of two existing rows together into a new third row.
    See this short example:
    This is the current situation. The rows STATE_1 and STATE_2 contain different separated information.
    In the past data were saved randomly in one of those rows.
    This is the table State:
    ID
    Cust_ID
    STATE_1
    STATE_2
    STATE_3
    1
    88
    Customer is waiting.
    Call from yesterday.
    2
    11
    Mr. Smith, no answer.
    Waiting until December
    3
    11
    Pls create PO.
    Old PO was cancelled
    4
    5
    No access to system.
    From now on everything has to be saved to the empty STATE_3 but I also need the old entries from the past which also have to be copied together into STATE_3
    like this:
    ID
    Cust_ID
    STATE_1
    STATE_2
    STATE_3
    1
    88
    Customer is waiting.
    Call from yesterday.
    Customer is waiting. Call from yesterday
    2
    11
    Mr. Smith, no answer.
    Waiting until December.
    Mr. Smith, no answer. Waiting until December.
    3
    11
    Pls create PO.
    Old PO was cancelled.
    Pls create PO. Old PO was cancelled.
    4
    5
    No access to system.
    No access to system.
    Is there an easy SQL-command?
    Thanks for any help.

    Hi,
    DB2000 wrote:
    Hello everyone.
    I have a question about copying data of two existing rows together into a new third row.
    See this short example:
    This is the current situation. The rows STATE_1 and STATE_2 contain different separated information.
    In the past data were saved randomly in one of those rows.
    This is the table State:
    ID
    Cust_ID
    STATE_1
    STATE_2
    STATE_3
    1
    88
    Customer is waiting.
    Call from yesterday.
    2
    11
    Mr. Smith, no answer.
    Waiting until December
    3
    11
    Pls create PO.
    Old PO was cancelled
    4
    5
    No access to system.
    When you say "row", do you mean "column"?
    DB2000 wrote:
    Because in this case STATE_1 and STATE_2 are only text of a log file/history.
    So I think 1NF isn't really violated and because of performance of the database in this case it's better to put obsolete rows together.
    Why do you think that?
    The definition of First Normal Form is that every column of every row contains 1 piece of information, not a variable number of pieces.  Whether or not that data is only text of a log file/history has nothing to do with it.
    You might claim you have good reasons (such as performance) for violating First Normal form, but you can't say that you're not violating it.

  • How to compress .m2v and .aiff into a new movie

    I need to compress a large library of videos (1000+ movies) into several smaller versions for the web. The source movies were created using the DVD settings from Compressor 2 and 3. Therefore, for each source movie, I have two files: .m2v for video and .aiff for the audio.
    What I want to do (but what does not work): I want to drag the two corresponding .m2v- and .aiff-files of each source movie into Compressor 3, then assign three settings for the web (big, medium, small) and hit "Submit". The result would be three nice video files. (I would then try to automate that workflow.)
    The problem: Compressor 3 handles the two source files (.m2v and .aiff) as two separate jobs. But I want them to be combined into one job, as a video track and it's audio track. The resulting three videos should have both video and audio, obviously. I don't want to combine video and audio using QuickTime Pro for each of the three resulting videos, if I can avoid it.
    Has anyone ever tried this? Any suggestions?
    (My english is not very good, I'm from Germany.)

    Unfortunately, you'll need to use QuickTime Pro.
    Compressor doesn't combine streams.

  • Getting two different libraries into my new iphoto 11

    Hi
    I just got a new MBA today (Merry Xmas!!). We have two other macs, and I was wondering if I can transfer both iPhoto libraries (different) into the new mac. I know you can copy the iPhoto library from one mac to another, and all the library will appear in the iPhoto of the computer where it was copied. But here, I have two different iPhoto libraries, and I hope there is a way to unify them into my new MBA.
    Any suggestion will be appreciated.
    Thanks
    Laurent

    As Niel said (I read more about that on the help of iPhoto now), just copy the folder 'iPhoto Library' (in the 'Pictures' folder) of your wife MB, and paste it into the 'Pictures' folder of your MBP, certainly with a different name.
    Once it's copied, then hold the Control button while starting iPhoto: there, it's supposed to ask you which library to connect to, and you just select the one you want.
    Sounds easy, haven't tried yet.

  • Merging Two Graphics2D objects into one

    Is it possible to accomplish this:
    1) have a method in class A that returns a Graphics2D object
    2) have a method in class B that returns a Graphics2D object
    3) have class C call both class A's and class B's methods that return Graphics2D objects
    4) lay those two Graphics2D objects into a new Graphics2D object within a component's paint(Graphic g) method
    What I am trying to do is a lot like a Viso diagram, that is drag a graphic onto another graphic x numberof times and perform some kind of layering technique.
    Thanks

    Why don't you pass a graphics 2D into each method, and get method to draw onto that. Then it becomes very simple to combine each.
    MArk

  • LOOKUP OF beans between two jar files

    How to lookup beans between two jar file
    I have two jar files named as ejb1.jar , ejb2.jar .
    both the <ejb-name> are same..
    InitialContext ctx = new InitialContext();
    Object te = ctx.lookup("test");
    if i want to lookup for 2nd jar (ejb2.jar)which has the same <ejb-name> how to do..
    helpp !!!!!!!
    prakash

    Hi,
    No it would not be possible to differentiate the data just by using the dump files. You need to import these dump files in the database and then you can compare it for any difference.
    Regards
    Anurag

  • Insert PDF into new Adobe Form - merging two PDF files into one

    Hi everyone,
    I need to enable access to archive PDF files but within a new PDF file containing header and footer.
    Request is not to change archived PDF files at all.
    I use Web Dynpro application to upload PDF file and to display new PDF file.
    I thought converting archive PDF files into JPG files and than using an 'Image Field' object to display those in a new PDF file.
    I am dealing here with PDF version 1.3 files.
    I am also having trouble converting these PDF files into JPG files. Any sugestions one this problem?
    Does anyone have any suggestion on how to deal with this concerning the fact that archive PDF files can not be changed?
    Is there some other way to merge two PDF files into one using Adobe Designer?
    Regards,
    Amel

    Hello, Lukasz:
      I am also facing similar requirement from my customer.
      And I found one useful blog, hope this blog can help you.
      http://wiki.sdn.sap.com/wiki/display/WDJava/CombinePDFfileswithWebDynproforJava
      Best regards, Nick.

  • How to prevent images being compressed inside Jar?

    Hi There. I'm creating an applet that uses a Jar file. The Jar file contains three packages. A problem I'm having is when I create the jar using the switches -cvf all the files including some images that are used are compressed, then when the images are used in my application they are corrupted.
    I can switch off the compression entirely using the -0 switch, this fixes the problem but makes my Jar file 1.5 MB instead of 300KB! Is there any way when creating the Jar file to prevent it from compressing the images?
    Thanks.

    If you are using ImageIO, you should (for now) wrap the stream into a new BufferedInputStream.
    BufferedImage i = ImageIO.read(new BufferedInputStream(getClass().getResourceAsStream(path)));That does the trick ;)

  • Batch merging two TIFF files into one

    I have a lot of portrait B5-size TIFF files that were scanned from paper documents and I plan to scan more.
    I want to merge every two of these files into landscape B4-size TIFF files.
    I want to do this by a batch job.
    What is the best way?
    Are there any command-line tools to do this job?
    I do not have Adobe package software. Instead I installed MacGimp.
    Although I have some experience with shellscript and Applescript,
    I'm new to Script-Fu.
    I made a GUI script for the application Preview that reads a multi-page TIFF file and saves as a PDF file with 2-UP layout. This method has two flaws:
    (1) Preview aborts for large files.
    (2) Resulting PDF file is more than five times as large as original TIFF file.
    Namely, 40-page, g4-compressed, 400KB TIFF file results in 2.5 MB PDF file.
    Maybe, the Preview does not make inheritance of TIFF compression.
    So I decided to make multi-page TIFF files of 2-UP layout.
    Thank you for reading.
    iMac G4   Mac OS X (10.3.9)  

    Self-solved.
    convert file1.tif file2.tif +append result.tif
    The command-line tool `convert' can be installed by Fink
    as a part of ImageMagick.
    iMac G4   Mac OS X (10.3.9)  

  • IO - Read two image files and put them into one file

    Hi,
    i have 3 files in all. The two image files and one text file. I need to place the image in the first image file, followed by text in the text file and then the image in the second image file, into one file.
    Can anyone tell me how do i go about doing this ?
    i tried using fileinputstream and fileoutputstream, which works fine if all the 3 files have text but when the first and the third file have image, the code doesn't give any error but the result file displays only the image from the first file and nothing else.
    i am running short of time and need to do this really soon.
    if anyone has done anything like this. please let me know,
    thanx,
    poonam

    One approach would be to programmatcally create a single zip/jar file from the three input files. You can use the java.util.zip and java.util.jar packages for this purpose.
    The other apprach would be to create a single image by drawing images and text strings on a BufferedImage object.
    I think the first approach is preferable because you can easily extract the individual files from the zip/jar file

  • I would like to combine multiple profiles into a new computer. Which are the most important folder or files to migrate?

    The user profile in my old computer somehow became corrupted and I can no longer access it to log on. Unfortunately I was not aware of the Firefox sync feature at the time. I used a new profile and had to start from scratch to save new bookmarks and extensions/plugins. I did set up Firefox sync for this new profile. Now I have a brand new computer and desire to migrate the bookmarks to this new computer, including the original bookmarks in the old computer, as well as the bookmarks in the second profile. While I have located the profiles folder for each profile in my old computer (as well as extensions and plugin folders), the content of this folder is daunting. I would like to know which are the minimal folders I should select to migrate and would it be safe to simply copy and paste over the entire folder? Please note that I have also added new bookmarks into my new computer which I would not like erased. I hope these details are not convoluted.

    Firefox has two methods of bringing in bookmarks from another Firefox profile:
    * Restore a backup (JSON files in the bookmarkbackups folder): this completely replaces what you have, so is not the first step
    * Import from an HTML file: this is additive and will create an Imported Bookmarks folder or add them under Unsorted Bookmarks
    Restore is best if you tag your bookmarks because the JSON format preserves tags. If tags are not important, then it's easier.
    What I suggest is:
    (1) Export your current bookmarks to the HTML format; you can reimport these later. See: [[Export Firefox bookmarks to an HTML file to back up or transfer bookmarks]]. Open the file in Firefox (it's a web page) to make sure it looks complete before proceed.
    Next, get the bookmarkbackups folders from each of your old profiles that you want to restore, and look for the most-complete-looking JSON files (they will have the most recent dates and largest number of bookmarks indicated in the file name). Proceed from the smallest set to the largest, or oldest to newest; basically, restore the most important one last.
    (2) Restore a backup, then export to HTML. This article has the steps for a restore: [[Restore bookmarks from backup or move them to another computer]]. Then export to HTML and check for completeness.
    (3) Repeat #2 until you get to the last/most important restore. You don't need to export that one.
    (4) Import the HTML files you've made throughout the process.
    (5) In the Library dialog, reorganize. Firefox doesn't have a deduplicator, but you might find one or more extensions to do the job on the Add-ons site if you find a lot of overlap.
    Make sense?

  • Can I transfer Time Machine data from two separate hard drives into one new one?

    I'm using a MacBook Pro as my primary computer.  My 500 gig Time Capsule filled up a year or so ago, so I stopped using it with Time Machine for awhile so I could keep the data from those old back-ups.  There were a number of things I deleted from my computer's very limited hard drive after they were backed up to the Time Capsule.  I got a 1T external USB drive last year to use as my "filing Cabinet" to store files I didn't necessarily need all the time or that were filling up my small laptop hard drive--including my iTunes library--all organized in a way that made it relatively easy for me to find what I needed, even if I didn't remember exactly when I'd filed it or what I'd called it.  I got another 1 terabyte external (portable) drive last July and dedicated it to TimeMachine backups and labeled it "TimeMachine".
    Over the last couple of weeks, my friend has been helping me upgrade to Yosemite and clean up my laptop hard drive.  Last week he cloned my laptop hard drive to a new 1T hard drive and I exchanged it for my old drive in my computer today. All good.
    Here's the issue.  We replaced my Time Capsule hard drive with a 1 terabyte drive with the idea of transferring the data from the old Time Capsule (500G) drive and the newer USB 1T "TimeMachine" compact drive to the new 1T Time Capsule drive and beginning using the latter for my Time Machine backups going forward.  Originally he thought we could copy everything from each of my external drives (the old 500gig drive from my Time Capsule, the USB "TimeMachine" drive I've been using since July, and the "file cabinet" files) to my computer in their own folders and then start regular TimeMachine backups to the new Time Capsule drive, thus preserving all my old data and making regular backups going forward.  The "file cabinet" data was no problem at all, but when I tried to copy my USB "TimeMachine" data to my computer, I was unable to.  My friend found instructions for transferring old TimeMachine data to a new TimeCapsule, but I don't know if I can transfer the data from two separate disks to the new TimeCapsule drive. I'm afraid that one set of data will supersede the other and either my newer backups or my old ones will be lost if I try to transfer both. 
    Are my fears justified or is there a way to insure that no such problem will occur?  Of course, my data will still be on those two older drives, but that won't do me a lot of good if I can't access it when I need to. Also, the 1T drive now belongs to my friend; he used a brand new drive he'd bought for himself for my new internal hard drive and plans to take my 1T "TimeCapsule" drive in exchange, once the data has been transferred, so he will, of course, erase that drive. 

    Should we be able to bring up the old (500G) Time Capsule Drive to rename it using a SATA to FireWire harness and then copy the whole thing to the new Time Capsule drive?
    You can copy a whole sparsebundle from one drive to another. That is not a problem. Whether you can access the sparsebundle is something you should test before you even start though.
    If it's on the Desktop and I don't tell Time Machine to exclude it from backups, will it just automatically back it up?
    All drives you plug into the Mac are excluded by default.. you must include them. So no problems there.. but I hope I am understanding the question.
    Will both volumes or directories (which is the right term?) show up when I open Time Machine?
    No, Time Machine will only open what it is told to open... or its backup default location.
    You can force Time Machine to open alternative/old/no longer used backups by (now I have a problem as things have changed somewhat in Yosemite and I consider it alpha release software at this point in time). The old method was to right click on the TM icon and select a different TM backup. easy. Yosemite seems to have made easy stuff harder.
    Here it is on my current computer.. clearly not Yosemite.. Right click on the TM icon in the dock.. select Browse Other Time Machine Disks.. And supply the info of where that is located. Easy. If you cannot figure it out one of the other posters here (with more patience than me for Yosemite) will help you.
    Or will we have to partition the new drive somehow--is that even possible?
    I am getting more lost as I go down the list.. but the TC disk cannot be partitioned.
    If you have included all those USB drives in the new backup on a Time a Time Capsule.. you have made life rather hard because now your files are stored another layer deeper than they were.
    So to open a file from a disk you need to open the sparsebundle.. then dig down to the drive in question and then dig down to the backup.. and all of this means Time Machine has to work perfectly which is Yosemite is a very big ask.
    I thought you wanted to just backup your old drives to central location.. which means copying the files to a separate folder on the Time Capsule.
    One correction I need to make to my post, which will make my strategy make a bit more sense: my new Time Capsule drive is 4T
    It makes it much harder.. and I have to pose a real question of long term .. if you have put a 4TB drive in a Gen1 TC.. did you also replace its power supply because I can assure you the drive might be ok but the TC itself will not last forever.. and what happens when it dies. The Gen1 power supply is already well beyond its normal life span and the vast majority are dead. When the backup device is unreliable and the backups on it are made that much harder to get access to.. is this a great plan??
    If you are going to consolidate all your old files on one disk.. a task I find understandable. I have done much the same albeit the usefulness of files made on emac running OS9 may be questioned. A disk lying in the bottom of a draw is a more appropriate place for them.
    You want those files as easily accessible as possible (at the point of recovery) and not buried inside a sparsebundle.. particularly not a sparsebundle from the old TC disk buried inside a new sparsebundle.. keep files as accessible as possible as you can run searches.. and that is best done on a USB 3 (or faster ie thunderbolt) drive plugged into a new(ish) computer.. not network. And since the files are not being accessed on a daily/weekly or even monthly or yearly basis.. keeping them in actively running TC network storage.. I would say is a waste of space. That is only my opinion of course.. you might consider it highly important that files you will never look at are available any time of day or night when the urge comes to track down that elusive pimpernel email you sent 10 years ago... but I find it hard to justify. What the case.. the problem with TM and things like Mail is you cannot search it.. you must restore the whole library/files/program even before you can access it.. that makes file recovery out of a sparsebundle double step process.
    So.. summary.
    If you want to store files on the 4TB drive in the TC.. that is not a great strategy but it can work.. simply create a folder named.. OldFilesEMac for instance.. and do a simple copy and paste of all the file to that location. Do not use TM.. Since you have already used TM.. and from what I am reading you have already done the backup with the external drives included.. then you are going to end up needing to erase the TC and start over.. which you may not be prepared to do.. which is fair enough. (I am coming across as overbearing school master.. apologies).
    TM is to backup your main OS and current files.. not files from 10-20years ago.
    Please do read the issues involved in Pondini..
    See his FAQ. I recommend you read through Q14-17 so you understand what is involved in recovery.
    http://pondini.org/TM/FAQ.html
    I also recommend you read the first couple of articles here. http://pondini.org/TM/Home.html
    Particularly so you understand the complexity of Time Machine.
    And the articles here. http://pondini.org/TM/Time_Capsule.html
    Particularly Q3 on mixing data and backups on a TC.
    I wish I could spend an hour or two face to face and work it out.. the whole strategy to do this.. !!

  • Loading data from two flat files into one table

    Hi All,
    I want to load few fields from one file and few fields from another file and load the data into one table in the database.
    For Ex: I have two flat files file1.csv and file2.csv and file1.csv containes 25 columns and file2.csv containes 12 columns, i want to load 20 columns from file1.csv and 7 columns from file2.csv into the table
    how to combine the columns from both the files and load them into one table at a time?
    Any help is appriciated
    Thanks
    R.G

    Use external tables.
    If using Oracle9 or higher connect both your csv with database as separate external tables and load the requited fields in new/requited table.

  • Combining picts into one new file?

    Hi, does anybody know a way to combine a few pictures (for instance a sequence of two or three pictures) into one new file that can be exported after that? I mean within Aperture ofcourse.

    You can't. Use an image editor for tht.
    In order of price here are some suggestions:
    Seashore (free)
    The Gimp (free)
    Graphic Coverter ($45 approx)
    Acorn ($50 approx)
    Pixelmator ($50 approx)
    Photoshop Elements ($75 approx)
    There are many, many other options. Search on MacUpdate.
    Regards
    TD

  • Class.forname - Unable to load class if two jars with same package name

    class.forname - Unable to load class if two jars contains same package name exists in classpath.
    JVM is stopping search for class one it finds the package name in the jar file that is ahead in classpath,
    JVM is not continuing search in the remaining jar files.
    For this , I put the jar file that contained class ahead of of ther jar file containing same package name, then it worked.
    Is this a JVM bug ? (JDK 1.5)

    I reported as bug to sun. I got auto email, looks they have not assigned any Bug ID so far.

Maybe you are looking for

  • Soundflower, Logic Pro X and Ustream

    I broadcast a show on Ustream in which I play the saxophone against trax that I have loaded into iTunes. I play the sax into an apogee USB mic. I also use that same mic to talk to the audience while trax are playing, at which time I need to adjust th

  • Most updated drivers

    Hi guys, Some time I found a thread where, among other things, someone made a summary of the most updated drivers and the wifi one, for example, was way more reliable, etc. I would swear that thread was on this forum, but I don't seem to be able to f

  • CSA - Sort Client/Server Licensces by group??

    As Cisco CSA license charges are signficantly different from between server and client agents, we need a method, report, SQL query to be able to determine the number servers and number clients used in a given group. This is to allow internal "charge

  • HT204389 Different languages on Siri...

    Hi everyone, Today Siri can talk nearly 15 different languages except ours. Siri can find places or locations in many countries, but in my country, Turkey/Turkiye, Siri can not find any locations. I am asking to Apple Team that in the future will Sir

  • DAQmx, specify resource occpaied

    I am using a below function to get the digital port status of DAQ card. DAQmxErrChk(DAQmxReadDigitalU32 (Handle, 1, 10.0, DAQmx_Val_GroupByChannel, &SSR, 1, &read, NULL)); whole code as below: error = Init_DA_Brds (1, &BoardCode); DAQmxErrChk(DAQmxRe