Any other option to a JAR file?

i am learning java SE and netbeans makes all my programs into a jar file. now the jar files execute fine on my computer but on computers of most people i share them to they tend to launch a zip utility. is there any other type of executable one can make of a java program which can guarantee proper execution of the program?
neerav

For win:
@echo off
set CMD_LINE_ARGS=%1
if ""%1""=="""" goto doneStart
shift
:setupArgs
if ""%1""=="""" goto doneStart
set CMD_LINE_ARGS=%CMD_LINE_ARGS% %1
shift
goto setupArgs
:doneStart
java -jar YOUR_JAR %CMD_LINE_ARGS%
For Linux :
#!/bin/sh
java -jar YOUR_JAR $*
Note: Must to set exec permition to shell script via chmod eg: chmod +x myscript.
Edited by: dekassegui on 14/09/2008 14:42

Similar Messages

  • Since I have the newest version of itunes, I can't back up like normally. The only way is to considilate files and then put them on an external drive which I don't have. Are there any other options? If I can't back up to a disc like I used to, can I inste

    Since I have the newest version of itunes, I can't back up like normally. The only way is to considilate files and then put them on an external drive which I don't have. Are there any other options? If I can't back up to a disc like I used to, can I instead just keep everything on my ipod and then if I have to get a new computer or something just download all my songs from the ipod to my new computer's itunes? Will that work? Will I still be able to keep all my songs that way?

    I'm going to assume the consolidating files does not work due to hard drive space limitations.
    Since you're moving to Windows 7, have you tried using the Windows files and settings transfer utility?  That will move everything for you to the same location on the new computer, it also allows some control over what actually gets moved.
    Alternatively, if you know the location of all of the media, it can be manually moved by copying it from the old computer to the new computer in the same location.
    Also, using the Apple article on moving the library, take a slight twist on what it says.  Move the iTunes library to the external drive, update the settings in iTunes to reflect the library being on the external drive, then consolodate it.
    The options are endless for moving the library... it simply takes a little effort to make it happen and possibly a twist on existing "standard" methods depending on your unique situation.

  • My i pod is disabled because i forgot my password, do i have to restore my i pod because i dont want to loose all my files, is there any other options?

    my i pod is disabled because i forgot my password, do i have to restore my i pod because i dont want to loose all my files, is there any other options?

    Maybe a data recovery company can help. Otherwise you will have to erase the iPod tn order to regain use of the iPod. You can also restore from your last backup. The Disbled is a good security feature.
    Disabled
    Place the iOS device in Recovery Mode and then connect to your computer and restore via iTunes. The iPod will be erased.
    iOS: Wrong passcode results in red disabled screen                         
    If recovery mode does not work try DFU mode.                        
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings        
    For how to restore:
    iTunes: Restoring iOS software
    To restore from backup see:
    iOS: How to back up     
    If you restore from iCloud backup the apps will be automatically downloaded. If you restore from iTunes backup the apps and music have to be in the iTunes library since synced media like apps and music are not included in the backup of the iOS device that iTunes makes.
    You can redownload most iTunes purchases by:
    Downloading past purchases from the App Store, iBookstore, and iTunes Store        

  • Adobe XI when i use signature option i try to use rectangle, it gives option of certificate signature, does not give me webcam or digital signature or any other option to sign

    when i use signature option i try to use rectangle, it gives option of certificate signature, does not give me webcam or digital signature or any other option to sign, have downgraded to Adobe X, no options show. Have upgraded back to XI no change. Free software I am using currently.

    There are two types of signatures in PDF: electronic signatures, which are just images (stamps, text, image) and digital signatures.
    If you want to use electronic signatures in Acrobat XI go to Fill&Sign->Place Signature. If a drag rectangle for the digital signature dialog comes up, you have selected digital signatures and Acrobat/Reader remembered it. Cancel it, go back to Fill&Sign->Place Signature and click a triangle to the left of "Place Signature". Then click on "Changed Saved Signature" and select the electronic signature type you want to use.
    If you want to use digital signatures you can create custom digital signature appearance. Go to Edit->Preferences->Signatures->Creation&Appearance->More. In the "Appearances" section click "New". You will be presented with the dialog that allows you to create a custom appearance. If you want to put there your picture or image of your ink signature, you need to prepare this image as a file beforehand, select "Image" radio button, browse to the location of your image file. In Reader you can use only PDF as your image file. In Acrobat you can use many more file formats: JPEG, PNG, etc.

  • My profile in camera calibration in lightroom 5 show only embedded. How to set profile to landscape or portrait. I can't find any other option, only embedded.

    My profile in camera calibration in lightroom 5 showing only embedded". How to set profile to landscape or portrait. I can't find any other option, only embedded. How to install all profile's?

    The profiles are there, but they only display and are only available for raw images. The image that you are highlighting is either a JPEG or some other non--raw file format. The only profile available for non-raw images is the embedded profile.

  • The sleep button on my 4G iPod Touch is stuck?  Any other option besides the genius bar?

    I have a 4th generation iPod Touch.  Everything with my iPod was working well till about a week ago.  A week ago I went to use my sleep button and discovered it wasnt working.  When I removed my case I discovered the sleep button was stuck pressed into the iPod. 
    What I was wondering is if I had any other options?  Is it my best bet to run to the Genius Bar before my warranty goes out in a few weeks?

    I resolved my 3194 error by deleting all the references to apple out of the hosts file.  I am still having major troubles but I was able to resolve this specific error.

  • Have "OK to DiscoTried to reset, didn't work. Any other options other than restoring?

    Have "OK to Disconnect" frozen with low light backlit. Won't turn off or able see any files. Tried to reset, didn't work. Any other options other than restoring?

    By a reset, I assume you mean pressing and holding both the Select (Center) and Menu buttons together long enough for the Apple logo to appear?  Is the hold/lock switch in the On position?
    If you cannot get the iPod to reset, your only other option at this point is to just sit and wait for the iPod's battery to full drain.  Then charge it back up and restore in iTunes if necessary.
    B-rock

  • I can't change my apple id password because my security answers don't match. It won't give me any other options and just keeps asking for the answers. What do I do?

    I can't change my apple id password because my security answers don't match. It won't give me any other options and just keeps asking for the answers. What do I do?

    Contact the Apple ID Security site from http://support.apple.com/kb/HT5699 or call the AppleCare support number from http://support.apple.com/kb/HE57 and ask to speak with the Account security Team.

  • How do I change an Apple ID payment method to 'None'? I've tried everything and the only solution is to get a new e-mail and start all over again. Any other options?

    How do I change an Apple ID payment method to 'None'? I've tried everything and I found the only solution is to apply all over again with another e-mail address. Any other options?

    Buy an iTunes Music Card and redeem it to your account - the "none" option should be available then.

  • I have a macbook purchased in dec 2009 with OS 10.6.8, i can't install Mavericks as it is not finding any place to install. It says it cant be install on the harddrive and i dont have any other option to select .. what to do?

    i have a macbook purchased in dec 2009 with OS 10.6.8, i can't install Mavericks as it is not finding any place to install. It says it cant be install on the harddrive and i dont have any other option to select .. what to do?

    imnyaar wrote:
    ... It says it cant be install on the harddrive
    What does the message say, exactly?
    Try this:
    From the Finder's Go menu, choose Computer:
    Double-click your hard disk icon. It is usually named "Macintosh HD":
    Look for this folder:
    If it appears in that window, drag it to the Trash.

  • My ipod 4G won't connect to my wifi at home with new router. Says "unable to connect" and won't give me any other options. Have tried resetting network connections. Help.

    My ipod 4G won't connect to my wifi at home with new router. Says "unable to connect" and won't give me any other options. Have tried resetting network connections. I don't want to lose anything. I have tried turning everything off and back on again. Desktop and laptop are working fine. Sometimes it turns on suddenly and I can use it for like 20 mins but then shuts off again. Same thing is happening with my dad's iphone, Help.

    Does the iOS device connect to other networks?
    Does the iOS device see the network?
    Any error messages?
    Do other devices now connect?
    Did the iOS device connect before?
    Try the following to rule out a software problem:                 
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Power off and then back on your router
    .- Reset network settings: Settings>General>Reset>Reset Network Settings
    - iOS: Troubleshooting Wi-Fi networks and connections
    - Wi-Fi: Unable to connect to an 802.11n Wi-Fi network       
    - iOS: Recommended settings for Wi-Fi routers and access points
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    If still problem and it does not connect to any networks make an appointment at the Genius Bar of an Apple store since it appears you have a hardware problem.
    Apple Retail Store - Genius Bar

  • I have my iPhone 4s backed up on my mac but it seems it was encrypted with a password which i do not remember is there any other option to retrieve to the backup without restoring the device as a new one. Also I do not have access to a windows system.

    I have my iPhone 4s backed up on my mac but it seems it was encrypted with a password which i do not remember is there any other option to retrieve to the backup without restoring the device as a new one. Also I do not have access to a windows system.

    Sorry no, if you don't knnow the encrypted password, then you can't use that backjup.

  • Is there any other option for using internal table in badi

    hi
    i know we cannot use internal table in badi
    but is der any other option
    plz write in d codez too
    with Regards
    Rohan Shetty
    Edited by: Rohan Shetty on May 6, 2008 2:14 PM

    of course you can use internal table in BAdi, do like this.
    data: itab type table of ....
    data: wa type ...
    Example:
    data: itab type (standard, sorted, hashed) table of mara.
    data: wa type mara.
    Or create your own type within the badi.
    types: begin of ty_xxx,
                fielda  type c,
                fieldb  type n,
                fieldc  type d.
    types: end   of ty_xxx
    data: itab type table of ty_xxx.
    data: wa type ty_xxx.
    Edited by: Micky Oestreich on May 6, 2008 2:16 PM

  • I just purchased a secondhand iPad in carboot and I didn't realised that the old account is still linked to the device now can't  activate my accnt.i don't know where  and how to contact the original owner.what should I do?is there any other option?

    I just purchased a second hand iPad in carboot.i didn't realised that the old accnt is still linked to the device,now I icant activate my account .I don't  know where and how to contact the original owner.what should I do activate my accnt?is there any other option?

    Apple cannot help you locate the original owner. If you have no way to contact him/her, and you purchased directly from the seller rather than through a site that offers buyer protection, then the iPad is useless to you and you have wasted your money. The iPad is quite probably stolen and you should turn it in to the police.
    This is why it's very risky and usually unwise to purchase out of a car boot from someone you don't know.
    Regards.

  • How can I turn off auto-renewal for subscriptions? I have been in the manage my account but I can't see any other option than to auto-renew?

    how can I turn off auto-renewal for subscriptions? I have been in the manage my account but I can't see any other option than to auto-renew?

    Follow the instructions in this article. You can turn off the auto-renewal on either your i-device or via iTunes on your computer:
    Manage your auto-renewing subscriptions - Apple Support
    Cheers,
    GB

Maybe you are looking for

  • Ipod Classic 160gb firmware keeps reseting to factory settings

    Model:mc293 Version:2.0.5 My songs started jumping and skipping on my ipod so i tried to update it with itunes but it was the latest version, so i pressed eject and unplugged it, the ipod said i had no songs on it but in the place where you can see h

  • To Clean Oracle and Install

    I want to clean my oracle from my computer, i need to install from the beginning, I did Deinstall, but still is not remove, i have a problem when i install a gain thanks est

  • Iphone 4 wiped after upgrade to ios5.

    I tried to update my iphone 4 to ios5.  The back-up failed and I lost everything, contact, pictures. My apps are in itunes, but that is all.  Plus, the phone doesn't even work as a phone.  The iris screen is gone.  It just says iPhone.  What happened

  • When attempting to stack certain photos they disappear

    Why do some photos when stacked together disappear, all of them, and others do not?

  • No more bus list!

    Hi, has anyone met this before : in one of my concerts (not all of them, that's the strange part), I'm not able to see the bus and output list anymore, when trying to send a channel into a bus!! However the existing Sends are working, so the busses a