AutoInstallation from a disk, on multiple platforms?

I know that Java is cross-platform, and can run on almost any OS. But what about deployment?
If I packaged a program in a jar file, put the jar file in an installer, both for Linux & Windows (deb & exe), and put them on a disk, how can I set up the disk so that it will run the appropriate installer when it is inserted into the disk drive? I've seen autorun files on some disks, but I'm not sure how to use them or how to make it cross platform.
Can someone please help?
Thanks.

replying to self after a bit of research, it seems that autorun is not supported on all Linux installations, but apparently on those on which it is, you can [include an executable "autorun" script|http://linux.die.net/man/1/autorun] that launches your installer, probably something like
#!/bin/sh
./myInstallerVerify on a CD-Rewritable that both OSes auto-install, before burning to an actual CD.

Similar Messages

  • VirtualBox from hard disk, nvidia glx conflict

    Howdy folks, I recently started getting into arch linux and set it up for dual booting. Being a graphics engine developer for multiple platforms I began to work on adding support for linux.
    What I was trying to set up was so that I can use VirtualBox to load my arch install from hard disk, which I have gotten running, so that I can use virtual box to test if things work when developing simultaneously for windows, and boot over to arch for performance optimization type stuff.
    The problem I am having however is that in VirtualBox I can not get the glx extensions to load, looking at the log file it's definitely trying to load the nvidia glx extensions. My PC has an Nvidia Geforce 9600GT, so for proper support in arch I of course installed the drivers for it.
    As per suggested in the wiki I removed the xorg.conf (actually just renamed it), along with a few other files in /etc/X11/xorg.conf.d that were causing problems in virtual box (mainly the 20-nvidia.conf file). I have verified it does boot into arch with full 3D support as it did when the xorg.conf was in place. But still having the problems getting the glx extension to load when inside VirtualBox.
    I would greatly appreciate any help ya'll can provide, being able to load my arch install from virtual box would make developing this graphics engine of mine so much easier. But I still want to be able to boot into arch. Having to use a VirtualBox instance booting from a virtual hard disk is a real pain since it add to the places I need to sync up source code.

    I think you misunderstood ngoonee. Just trying to get open gl working from within virtual box, I know it's only serving as a layer over the graphics stuff.
    The problem however is that to allow gpu acceleration when I boot into it, the nvidia driver will need to remain there. But it appears the glx in the nvidia driver will not play nice with what virtual box needs.
    Idea is to use the same arch install for both virtual box and the dual boot.
    Last edited by chronosifter (2010-07-21 04:28:54)

  • Thanks so much for the offer of help. I'm using 10.9.2 OSX. I have Numbers 2.3 (554). I tried the new version but it was "dumbed down" so much (to make it usable on multiple platforms) that it was of no use on iMac.   I still can't get my contacts to open

    Thanks so much for the offer of help. I'm using 10.9.2 OSX. I have Numbers 2.3 (554). I tried the new version but it was "dumbed down" so much (to make it usable on multiple platforms) that it was of no use on iMac.
    I still can't get my contacts to open in Numbers like they used to do. I have a group of five addresses in a test folder in Mail called "untitled group." But no amount of pasting, dragging, etc can get them to open up in Numbers. My "real" folder has almost 100 addresses so I can't do it one by one.
    Thoughts?
    Thanks again.
    Bob

    Bob,
    You can place contacts in a table In Numbers by the following methods:
    Numbers 2.3:
    drag from contacts
    Numbers 3.2
    copy from contacts, then paste into Numbers
    In both cases you need to open System preferences, then select the "Security & Privacy panel and allow Numbers aaccess your contacts information.

  • I want to set up a home network to be able to watch my movies and litsen to music across multiple platforms without keeping my laptop connected.

    I want to set up a home network to be able to watch my movies and litsen to music across multiple platforms.  I have movies purchased from itunes as well as movies from my DVD collection that i converted to an .m4v format.  I currently have these movies stored on an external harddrive. To watch a movie on my apple tv I have to ensure my external hard drive is connected to my macbook pro, then play the movie on my macbook pro and "mirror" it to my apple tv.
    Ideally I would like to be able to watch movies from my collection without having to have my laptop on and work from that.  Is it possible to navigate my collection from my Apple TV and play it on my Apple TV.  My macbook pro is the machine I primarily use for work and school it is quite the protological nuissance to have to hook all that up everytime I want to watch a movie.
    My thoughts are that I could take my old dekstop pc, attach an external hard drive to that and make that my "media storage".  If I were to do that would I then be able to watch movies as well as select which movie I want to watch from my library through my apple TV without my macbook pro being in the equation?  Or if I should desire to watch a movie from my library through my Macbook Pro, Iphone 4s, and ipad is that possible?  I basically want to set up my library to be accessible from any of my devices.
    My devices are; the previously mentioned Apple Tv, macbook pro, iphone 4s, ipad 3. I also have a desktop PC running windows 7, xbox 360 and playstation 3 (the xbox and PS3 would be nice if they could too but wouldnt break my heart as they are my roommate's and not mine so I rarely use them.)
    Thank you for any help/advice you guys may have!

    atv's can only access media from
    1. a computer which is turned on running itunes
    2. the internet
    no other options
    and NAS's which say they can work as itunes libs don't work

  • Issues while migrating data from a disk based table to a memory optimized table

    Hi All,
    I have a Disk based table with 400000000 rows in it, We are trying to convert it into a memory optimized table.
    We have  already created a memory optimized table with similar structure and trying to import data into this mem optimized table using 'insert into' from the disk table.
    I am trying to Migrate around 10000000 rows at a time,  but I am getting an error 'There is insufficient system memory in resource pool 'default' to run this query.' Altough we have 128 GB RAM on the server and SS is utilizing more than 120 GB RAM.
    Altough the query has been cancelled.
    Wanted to Know how could we migrate the table with the available RAM or do we have increase our RAM?
    aa

    Josh,
    Microsoft's documentation on this subject isn't at its best right now (I believe there will be incremental improvements for better understanding), but here is what I read so far.
    http://msdn.microsoft.com/en-us/library/dn133190.aspx
    "A hash index consists of a collection of buckets organized in an array. A hash function maps
    index keys to corresponding buckets in the hash index."
    Judging by this statement, a hash index is a hash table just like the ones used as work tables for hash operators in queries (hash matching or grouping). Doesn't contain (or include) other columns, i. e. it doesnt store any data.
    "Multiple index keys may be mapped to the same hash bucket."
    This means there is some kind of mapping, but this is not explained in the article above. However...
    http://msdn.microsoft.com/en-us/library/dn282389.aspx
    "For each hash index in the table, each row has an 8-byte address pointer to the next row in the index. Since there are 4 indexes, each row will allocate 32 bytes for index pointers (an 8 byte pointer for each index)."
    Each row (in the table) has a pointer (for every index, 1:1 ratio) that points to a row (also known as bucket) in the hash index. So that is how the aforementioned mapping works huh!
    > What happens if you include a column in two or three different indexes, or is that not allowed?
    My conclusion is that the hash indexes works the same way as a hash worktable, with the addition of the column in the base table that is added to store pointers to the hash index.
    When you create a new index, even if you use the same column twice, a hash table is created, hash calculations are distinctly made for each key and stored on it, and while this is done, the column that is exclusively used for this new index is populated
    with pointers to this index. You can add a given column to the set of keys of different hash indexes as many times as you want. Correct if i'm wrong, I'm also new on this subject :D

  • Removable disks and multiple catalogs

    HI,
    I have a new system and I am wondering what my options are to get my images onto the system.
    I have the disks from my old system that have about 300 GB of images each. These images are divided by years so that 2 years are on one drive and two years on another.
    The new Vista system has a 640 GB drive for data, so I could copy the data from these disks onto the new drive. However, that would leave me with little disk space on the new drive.
    I am wondering if I can place the two disks into removable housings and access them as external drives. If I do so I have some questions.
    1) Can I stick the images into one catalog that would include images from the 2 external drives and the new 640 GB drive? Are there issues if the external drives are not always present?
    2)Or should I create 3 catalogs?
    If I so. do the catalogs reside on the external drives, or with Lightroom on an internal drive? I am also concerned about what happens if I disconnect the external drive and remount another drive. No doubt the drive letters would be reused, but the content would not match.
    Any suggestions?

    As of Mountain Lion what I read says that TimeMachine can have multiple disks to back up to and will write backup data to whatever drives you add to your "pool".
    This does not seem to work if any drive is smaller than the dataset you are backing up.  That is, apparently TimeMachine wants to put all the data from one machine in one place on one drive and if the drive it is looking at is too small it bails out with an error and tells you to reduce the data set size or get a bigger disk?

  • How to load an image from local disk?

    Hi!
    I have spent hours on the net searching for an example, that
    could
    show me how could I make a flex script that user could browse
    (like fileReference.browse() ) for a
    file (picture) and then show this picture in the browser (so
    the source of some existing picture would change).
    I found only multiple solutions on how to upload a picture,
    but
    that is not the thing I wanna do. I want a user to load a
    picture from
    his disk and simply to be seen in a browser (on a page).
    I tried programming it alone, but the FileReference class has
    no attribute path or similar, that I could use for source of my
    image.
    Please help, I need to do this urgently.
    Thank you very very much
    Gus

    OK, I tried without FileReference, simply by changing String
    variable of the source path when calling image.load(path), but it
    works ONLY FOR REMOTE pictures (online), I also tried with
    [Bindable]
    [Embed(source="C:/somePicture.jpg")]
    public var _img0:Class;
    , but it appears that you CANNOT CHANGE THE PATH DOURING
    EXECUTION (dinamically)
    So please, someone?
    Is it even possible to do that?
    I could try uploading picture and then downloading, but why
    would I need a server side if I don't need it...
    Help

  • How do I import photos to iPhoto from a disk?

    Hi,  I have tried multiple times to import photos from a disk off of an old (5 yrs old) Apple computer into my new (3 month old) Mac.  The only picture that will transfer is the first one.  I have put in the disk, "selected" all photos and tried to "import" photos.  It goes through saying that it is importing 300+ pictures but then the only one in the library is one photo.  What can I be doing wrong?   This seems so easy but it's driving me crazy!  Thanks for your help. 

    You may have trouble importing multiple photos off the disk for some reason. Try inserting your disk and after it appears on your desk top, open it and try clicking on a singel photo and dragging it onto your desk top. Then click on it and after opening iPhoto, click on the desk top photo and drag into iPhoto when you have "Photo" opened in iPhoto.
    If that works and you cannot make the same proceedure work when you select multiple photos, you have a long road ahead just moving one photo at a time.
    Good luck...virg

  • HT201364 how do I remove items from startup disk to load OS X Mavericks?

    I'm trying to load OS X Mavericks and I'm getting a message to remove items from startup disk. Can anyone tell me how to do that??

    For information about the Other category in the Storage display, see this support article. If the Storage display seems to be inaccurate, try rebuilding the Spotlight index.
    Empty the Trash if you haven't already done so. If you use iPhoto, empty its internal Trash first:
    iPhoto ▹ Empty Trash
    Do the same in other applications, such as Aperture, that have an internal Trash feature. Then reboot. That will temporarily free up some space.
    According to Apple documentation, you need at least 9 GB of available space on the startup volume (as shown in the Finder Info window) for normal operation. You also need enough space left over to allow for growth of the data. There is little or no performance advantage to having more available space than the minimum Apple recommends. Available storage space that you'll never use is wasted space.
    When Time Machine backs up a portable Mac, some of the free space will be used to make local snapshots, which are backup copies of recently deleted files. The space occupied by local snapshots is reported as available by the Finder, and should be considered as such. In the Storage display of System Information, local snapshots are shown as  Backups. The snapshots are automatically deleted when they expire or when free space falls below a certain level. You ordinarily don't need to, and should not, delete local snapshots yourself. If you followed bad advice to disable local snapshots by running a shell command, you may have ended up with a lot of data in the Other category. Reboot and it should go away.
    See this support article for some simple ways to free up storage space.
    You can more effectively use a tool such as OmniDiskSweeper (ODS) or GrandPerspective (GP) to explore the volume and find out what's taking up the space. You can also delete files with it, but don't do that unless you're sure that you know what you're deleting and that all data is safely backed up. That means you have multiple backups, not just one. Note that ODS only works with OS X 10.8 or later. If you're running an older OS version, use GP.
    Deleting files inside an iPhoto or Aperture library will corrupt the library. Any changes to a photo library must be made from within the application that created it. The same goes for Mail files.
    Proceed further only if the problem isn't solved by the above steps.
    ODS or GP can't see the whole filesystem when you run it just by double-clicking; it only sees files that you have permission to read. To see everything, you have to run it as root.
    Back up all data now.
    If you have more than one user account, make sure you're logged in as an administrator. The administrator account is the one that was created automatically when you first set up the computer.
    Install the app you downloaded in the Applications folder as usual. Quit it if it's running.
    Triple-click anywhere in the corresponding line of text below on this page to select it, then copy the selected text to the Clipboard by pressing the key combination command-C:
    sudo /Applications/OmniDiskSweeper.app/Contents/MacOS/OmniDiskSweeper
    sudo /Applications/GrandPerspective.app/Contents/MacOS/GrandPerspective
    Launch the built-in Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning to be careful. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The application window will open, eventually showing all files in all folders, sorted by size. It may take a few minutes for the app to finish scanning.
    I don't recommend that you make a habit of doing this. Don't delete anything as root. If something needs to be deleted, make sure you know what it is and how it got there, and then delete it by other, safer, means. When in doubt, leave it alone or ask for guidance.
    When you're done with the app, quit it and also quit Terminal.

  • Unable to wipe ZFS partition table from the disk

    I used an SD card as part of a zfs zpool made of three SD cards, without partition table. ZFS was managing the entire devices, not just partitions.
    I subsequently retired this zpool but did not run “zpool destroy”. This worked for two of the cards, but it seems as if one of the SD cards just can’t shake the zfs_member marker, no matter what I do.
    So far I tried multiple times, on several different machines (including two without ZOL installed, so zfs cache file is not an issue here):
    1. dd the entire device with zeros. Four times.
    2. zpool labelclear -f /dev/sdc
    3. create new msdos partition table in gparted and fdisk
    4.
    $ mkfs.btrfs -f /dev/sdc
    $ mount /dev/sdc /mnt/usb
    mount: unknown filesystem type 'zfs_member'
    Unable to wipe ZFS partition table from the disk
    5. Windows format and Partition Minitools windows equivalent of gparted.
    As you can see, none of those methods wrote over the zfs data. It remains intact and invulnerable to anything I tried.
    I am out of ideas. It looks like google is out of ideas, too.

    Yeah, somehow while writing the first post I missed that wipefs also does absolutely nothing.
    # wipefs /dev/sdc
    offset type
    0x23000 zfs_member [raid]
    LABEL: SD
    UUID: 9662645799256520897
    # wipefs /dev/sdc -o 0x23000
    /dev/sdc: 8 bytes were erased at offset 0x00023000 (zfs_member): 0c b1 ba 00 00 00 00 00
    # wipefs /dev/sdc
    offset type
    0x23000 zfs_member [raid]
    LABEL: SD
    UUID: 9662645799256520897

  • How to boot from rescue disk

    Hi,
    I am running Macbook Pro, snow leopard 10.6.8
    My resuce disk is based on 10.6.4
    I tried to boot from rescue disk to repair the main disk.
    I failed to boot from the rescue disk as my rescue disk (from CD) is not being recognized. I tried multiple options such as holding down  "C", "c", "option" key etc while the system is restarting. Only the main disk was being shown as the bootable option (while holding down the option key when restarting) but not the rescue disk.
    I verified that my rescue disk is good. Infact, I could boot a Lion MacBookPro using my resue disk.
    Any inputs are appreciated.
    Thanks
    gb

    It was 10.6.4 (Snow Leopard). It was the same as the rescue disk version.
    thanks
    gb

  • Disk Utility will sometimes refuse to make image from dvd disk

    Our company puts disk images of media collections on a central server so that they are available to all the staff. But, recently I keep finding disks that refuse to be copied as a disk image. The Disk Utility runs for just a few seconds rather that the usual 20-30 minutes and the final disk image is only a couple of KB of data. I've tried the disks on multiple computers with the same results. All our macs have the same OS so I've been unable to test if this is an issue with the current OSX.
    I thought there might have been some sort of data protection put on the discs, but was surprised when disks from the same collection of media would have different results.
    These are not Video dvds, but rather standard UDF data discs, being copied to a network drive.
    I'm able to manually create an empty image and copy in the data but this takes much longer.
    Any help would be appreciated.

    I was having similar problems, although I don't think my issues was related to a double-layer DVD. What worked for me was selecting File > New > Disk Image from Folder. Select the DVD in the file open/save dialog with the same options you used before (e.g., DVD/CD master, etc).
    HTH
    - Dave

  • I need to install photoshop cs4 extended from a disk to a new computer because my old computer had a hard drive crash. There is no serial number on the back of the case.  How can I obtain a usable serial number?

    I have to install Photoshop CS4 extended on a new computer from a disk because my old computer had a hard drive crash.  There is no serial number on the back of the case.  How can I obtain a usable serial number?

    Find your serial number quickly
    You can activate software without following up and registering it... at least that was the case in the past.  The serial number is normally located on the disc case or a box inside the main box.  If you did not purchase the disc from Adobe then it is possible you would have dealt with a redemption code, in which case it would have been up to you to keep a record of the serial number, especially if you did not follow up and register the software.

  • RE: Getting multiple values from more than one multiple select popup window

    I have a button on a JSP of mine that when clicked creates a popup window (right now it is called popup.html) with a multiple select menu.
    My question is how do I get all the values selected from the menu into my JSP (sample.jsp) so that I can set each of the values for my bean.
    The other problem is that I have more than one select multiple menu.
    Please help if you can. Any advice or suggestions here would be greatly appreciated!
    Thank you!

    I realize that I can use request.getParameterValues to get the values selected from my html because I am passing them to the hidden inputs I have and then using the request.getParameterValues to get each of the values.
    MY PROBLEM IS WHAT IF I HAVE 4 MULTIPLE SELECTS??? How can I use the same html popup menu to get the values from the 4 different multiple selects????
    I look forward to your response.
    This code is from my JSP:
    <INPUT TYPE="TEXT" NAME="Field1" SIZE="15">
    <INPUT TYPE="hidden" name="F1Rad1">
    <INPUT TYPE="hidden" name="Permission">
    <input type=button name=choice onClick="window.open('optionPicker.html','popuppage','width=250,height=100');" value="Options"></TD>
    Here is my optionPicker.html code for the pop up menu:
    <html>
    <head>
    <script language="JavaScript">
    function sendValue(s)
    var boxSize= s.options[0].value;
    var restrict     = s.options[1].value;
    window.opener.document.addNewForm.F1Rad1.value = boxSize;
    window.opener.document.addNewForm.Permission.value = restrict;
    window.close();
    </script>
    </head>
    <body>
    <center>
    <form name=selectform>
    <select multiple name=selectmenu size="2">
    <option value="large">Large Text Input Area
    <option value="restrict">Restricted Access
    </select>
    <p></p>
    <input type=button value="Select Option(s) For Field" onClick="sendValue(this.form.selectmenu);">
    </form>
    </center>
    </body>
    </html>

  • Adding music folder from hard disk to itunes causes the original music  to vanish

    what is causing itunes to delete original music folder from hard disk when selecting add folder to itunes

    iTunes doesn't have any automatic way of re-creating your directory structure in terms of folders and playlists in iTunes.   You will have to drag each music folder to a playlist and then arrange these in folders inside of iTunes (which I warn you can can slow down iTunes a lot).   I guess the once chance of speeding this up will be if somebody has written an Applescript to do it, but I don't remeber seeing any anywhere.

Maybe you are looking for

  • How do I install iphoto for my mac with my start up discs for my mac?

    I have an mac OSx which was bought in may 2005. Mac gave any new mac users the iphoto program into the mac installed discs. ( I have 2 I dont know which one its on) My iphoto needs to be reinstalled as its not importing photos anymore. I need to inst

  • Excess Material Consumption Report - For a Particular Period

    Hi, For a particular Time Period, say 30 days, I require excess material consumption report. This report is for the materials ( say ROH, or HALB) that are confirmed through co11n. Taking MTS into consideration with Strategy Group 40, please suggest a

  • How do i get rid of payload and cameraraw files?

    im trying to install photoshop elements 11 and i keep getting these errors during installation.....Exit Code: 7 -------------------------------------- Summary -------------------------------------- - 0 fatal error(s), 9 error(s), 13 warning(s) WARNIN

  • No Audio; headphones, internal speakers, nothing.

    I'm sorry for another thread, I know there are a lot more that address this problem. I've read a lot of them, none of them have helped me. Alright so my audio won't work at all. I was plugged into external speakers and then it just stopped. My intern

  • Error Regarding Incoming Payment

    Dear All I am using SAP B1 with patch level 9, when i am selecting Incoming Payment in Banking Module System is showing error like ''Linking primary sales accounts has not been completed'' so wht could be the solution for this ? Regards, Kashinath