Why -jar option used to install a software which is in executable jar file?

Hi all,
i have a query, i have a generic installer which is used to install the oracle weblogic 10.3 software in unix platform(i.e., which is in .jar extension) which is executable jar file.
To install this software which have to use -jar option to install
java -jar net_server<version>_generic.jar
my question that why we use -jar option to install or to extract the software
can any one clarify my doubt...
thanks in advance
abhi
Edited by: sumanth_abhi on Jan 27, 2009 11:50 PM

According to the Jar Guide (http://java.sun.com/j2se/1.4.2/docs/guide/jar/jarGuide.html)
Executable Jar Files
On Microsoft Windows systems, the Java 2 Runtime Environment's installation program will register a default association for Jar files so that double-clicking a Jar file on the desktop will automatically run it with javaw -jar. Dependent extensions bundled with the application will also be loaded automatically. This feature makes the end-user runtime environment easier to use on Microsoft Windows systems.
The Solaris 2.6 kernel has already been extended to recognize the special "magic" number that identifies a Jar file, and to invoke java -jar on such a Jar file as if it were a native Solaris executable. A application packaged in a Jar file can thus be executed directly from the command line or by clicking an icon on the CDE desktop.
Despite that every JAR file can be executed as a program if and only if the META-INF/Manifest.mf contains the Main-Class tag. This done through java -jar jarfile.jar
--olaf                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

Similar Messages

  • My auto install for Premiere Elements failed and told me i needed to do a restart and try installing again. Having restarted my laptop, how do I install the software? There are two .exe files in the folder - oem and start-up. Which should i run?

    My auto install for Premiere Elements failed and told me i needed to do a restart and try installing again. Having restarted my laptop, how do I install the software? There are two .exe files in the folder - oem and start-up. Which should i run?
    thanks

    for windows you should have an exe and a 7z file.  put both in the same directory and double click the exe.
    Downloadable installation files available:
    Suites and Programs:  CC 2014 | CC | CS6 | CS5.5 | CS5 | CS4, CS4 Web Standard | CS3
    Acrobat:  XI, X | 9,8 | 9 standard
    Premiere Elements:  13 | 12 | 11, 10 | 9, 8, 7 win | 8 mac | 7 mac
    Photoshop Elements:  13 |12 | 11, 10 | 9,8,7 win | 8 mac | 7 mac
    Lightroom:  5.7.1| 5 | 4 | 3
    Captivate:  8 | 7 | 6 | 5.5, 5
    Contribute:  CS5 | CS4, CS3
    Download and installation help for Adobe links
    Download and installation help for Prodesigntools links are listed on most linked pages.  They are critical; especially steps 1, 2 and 3.  If you click a link that does not have those steps listed, open a second window using the Lightroom 3 link to see those 'Important Instructions'.

  • Hello Everyone. I have an older version of aperture, aperture 2, that I wanted to install on my MAC. I attempted the installation, and during the install there was a check to see if my computer was capable of installing  the software, which it was.

    Hello Everyone. I have an older version of aperture, aperture 2, that I wanted to install on my MAC. I attempted the installation, and during the install there was a check to see if my computer was capable of installing  the software, which it was. After the install completed I tried running the software, and I got a message telling me I can't run this version with my operating system. Does anyone know why I can't run the aperture software, and why I was allowed to install it without some notification.

    Hello Everyone. I have an older version of aperture, aperture 2, that I wanted to install on my MAC. I attempted the installation, and during the install there was a check to see if my computer was capable of installing  the software, which it was. After the install completed I tried running the software, and I got a message telling me I can't run this version with my operating system. Does anyone know why I can't run the aperture software, and why I was allowed to install it without some notification.

  • Trying to watch a video on quick time player and i keep getting this message You may need to install additional software to open this type of file. what do i need to install and how

    Trying to watch a video on quick time player and i keep getting this message You may need to install additional software to open this type of file. what do i need to install and how

    I believe there is a technique which uses some similar suggestion to unwittingly tempt the user into installing malware, in order to be able to watch some (usually sexually explicit) video, so be aware of this ruse.
    The only things I would download would be Perian that extends Quicktime, available here,
    http://www.perian.org/
    and if that did not do it, then try VLC to use instead of Quicktime.

  • Synchroniz​ing 8830 using previously installed Desktop Software

    I have 8830 and a Curve.  I have installed the Desktop Software that came with the Curve.  When I tried to install the software that came with 8830, I received an error message and I can't install it.  Neither am I able to sync 8830 with the current Desktop Software. 
    Since I need to use both the Curve and 8830, how do I go about synchronizing both devices using the same Desktop Software?
    Thank you

    The error message is "no applications configured for synchronization". 

  • I need Adobe Flash 11.1 or higher, so why am I redirected to install 10.3, which I already have?

    I need Adobe Flash Player 11.1 or higher, so why am I redirected to install Adobe 10.3, which I already have??  I tried to open a web page, which requires the flash player.  It took me to the Adobe site, and I proceeded to download and install what was presented to me.  When I went back to the site, the same message popped up, saying I needed Adobe 11.1 or higher.  What am I doing wrong?

    Hi rae8rae4,
    What is the operating system and browser you are using when downloading/installing Flash Player (presumably from get.adobe.com/flashplayer)?
    For reference, the current system requirements are posted here http://www.adobe.com/products/flashplayer/tech-specs.html.  If the os/browser combination is not listed, then 10.3 is offered for download.
    Maria

  • Why won't my MacBook install new software updates?

    When I click on Software Update it says "Install 11 items." Among them are iTunes 10.6.3, Safari, Garage Band Update, iPhoto Update and so on.
    When I click "Install 11 Items" it doesn't install anything. It says I must restart my computer to finish installation. So, I restart. Afterwards it asks for my password, I figure for installations.
    But nothing is changed, and when I click updates I get the same 11 program updates. This has happened at least seven times in the past seven tries.
    Plus, my battery is stuck. It won't come out of the computer. Though the abve issue is most troubling.
    Thanks.

    Mac OS X 10.7 (Lion) is a purchased product, you can get it from the Mac app store. If your MacBook can support it though you may want to wait and purchase Mac OS X 10.8 (Mountain Lion) which will become available sometime later this month. It will also be a purchase, but it is not necessary to get Lion first, and it is going to be $20 rather than the $30 for Lion. You can find out if your MacBook will run it on this page.
    That security update can be found here. The Java update is available here. You can search for other updates on this page.
    I don't know why the installer is not performing as it should. It is highly unlikely that the battery has anything to do with your installation issues.
    Best of luck.

  • Which account use to install Oracle software?

    Hi!
    Windows 2003 Server SP2
    Oracle 10gR2
    I have a question to experience Oracle database administrators...
    Is there any differences between installing RDBMS from "Administrator" account and installing RDBMS from separate account with administrators privilege?
    I'm not asking about procedures of installation.
    I suspect that creator in file system will be different.
    There will be any other differences? In registry hive? In files of installed software?
    If Oracle software will be installed from "Administrator" account and after that I will create "other" account with administrator privilage and member of "ora_dba" group and use this "other" account to managed installed software I will have any problems?
    Thanks for any advice.

    Hello,
    No, I've always installed Oracle with an "Administrator account" and, I don't remember
    having a specific problem.
    Anyway, if there's a problem which can prevent the installation, OUI will send you a
    popup (for instance to stop a Service).
    More over, you can check the installation "logs" also.
    Best regards,
    Jean-Valentin

  • I try to start my Macbook and it just tells me the options for re-installing the software

    Tried to start my macbook pro today and it only gives me options about how I want to install OS X again (like from TimeMachine copy, re-install Mavericks or search for the answer online). Anyone got a clue if I really need to re-install the whole thing or if there is another solution for the problem? Never had any major problem with it before.

    Caaaaarl,
    for some reason it sounds like your MacBook Pro defaults to start up in Recovery mode. You can try this to see if it helps: once the Mac OS X Utilities menu appears, select Disk Utility. On the left-hand side of the Disk Utility window, select your internal disk’s boot partition (typically called “Macintosh HD”). On the right-hand side, press the Verify Disk button if it’s not greyed out; if it is greyed out, or if it reports that errors were found, press the Repair Disk button. Once the verification/repair is completed, exit Disk Utility and select Restart from the Apple menu to restart in normal mode. Does it still boot into Recovery mode by default?

  • Why am I unable to install new softwares, for example, Silverlight?

    When I try to update ITunes, or just my Mac in general, installations never go through. Even when I try to download Silverlight, the installation always fails.

    Error message?

  • HT3523 what does the meaning of "you need to install additional software to open this type of file." did i have to upgrade it or compressed the video or i have to upgrade my macbook? please answer this question. thank you :)

    please answer this question because i can't upload my video cause i can't open it. sooo please answer this question. i'm using macbook white the latest version.

    i had the same problem and i fix it installing ccleaner, it is free and an excellent program. You can download it from: https://www.piriform.com/ccleaner/download
    Once installed, in the tab "Herramientas" (sorry but i have it in spanish) you choose "Inicio" and them you pick CS5ServiceManager then you pick in delete option. Basically you are removing of the startup programs...
    Hoping to be helpful, and excuse my bad english!

  • Ihave just installed NASCAR Software which requires Firefox 3.5, where can I find it?

    I have just installed Raceview by NASCAR and it requires Firefox 3.5.
    Where can i download Firefox 3.5?

    You can install the portable Firefox 3.5.x version to access websites that do not work with Firefox 5+.
    *http://portableapps.com/apps/internet/firefox_portable/localization#legacy35

  • Can emac installer discs be used to install OS 9.2.2 on Pismo G3?

    I have a full set of original eMac installer discs, and want to use one set to install OS9.2.2 on an Apple Pismo G3.
    Can this be done?
    I've heard Apple OEM installer discs are "Mac machine specific", and can't be used to install OS software onto other
    Apple Macs of a different model. But, I'm not sure if this is true, as there may be conflicting views on this subject.
    The OEM eMac discs I have are as follows:
    • Two (2) disc OEM set
       eMac OS X 10.4
       AHT version 2.5
       Disc version 1.1
       2Z691-5518-A
    • Five (5) disc set:
       eMac OS X and Mac OS 9
       Mac OS version 9.2.2
       CD version 1.0
       691-3981-A
    So the question is .... if OS X Tiger 10.4 has already been installed on the Pismo G3 .... can the above installer discs of (5) OS 9.2.2 be used to install OS 9.2.2 on the Pismo G3? 
    I would assume the Pismo G3 Hard drive would already have to have the OS9 drivers installed, during the OS 10.4 installation (showing an OS 9 "System Folder" on the HD, to be able to receive the OS 9.2.2 installer discs. I also understand that if installable, that the OS 9.2.2 would only open in the "Classic" mode.
    Any information as to if the above eMac OS 9.2.2 installer discs can be used to install OS 9.2.2 on the Pismo G3 ... would be appreciated.
    OR .... if other OS9.2.2 installer discs would be more appropiate, and if so, what model of Apple installer discs to use on the Pismo G3.

    dalstott:: 
    Below is the OS 9.2.2 "System Folder" that I was able to pull off the Number 1 - OEM eMac "Restore Sofware Disc". 
    It's obviously different than the first "System Folder" that I have, which I also showed above in a previous reply.
    Since the above is off the eMac OS 9.2.2 installer disc, this is the one I think would be more appropiate for copy/dragging to the Pismo G3 Hard Drive.
    Even though the Applications in the OS 9 Applications Folder are older, and probably not of much interest ... I also have the following "Applications (Mac OS 9)" folder, also taken off the eMac OS 9 installer disc. If I were to copy/drag this "Applications (Mac OS 9)" folder, to the Pismo G3 Hard Drive ... where do you think it should be placed?  In the OS 9.2.2 "System Folder" ... or separately on the main Hard Drive, with all the other main folders?
    Note: All these installer folders were "Invisable" disc folders, and only "viewable" using FileBuddy in Mountain Lion 10.8.5.

  • Installing Quicken software on MacBook Air with VMware.

    I am a new MacBook Air user and have installed VMware so that I can install Quicken software (which only operates on Windows).  I am having all sorts of trouble; when I try to install Quicken in my USB superdrive, nothing happens.  It won't load the software.  I have tried "autorun" in "windows" but I don't know the name of drive. Sorry, I have very basic knowledge so any help would be greatly appreciated. Thank you!

    Sounds like a VMWare Support problem.
    I have no such problems with Parallels.
    I assume you are aware that Intuit sells Quicken 2007 for Lion, Mt. Lion and Mavericks for $15, but you want to continue to run a PC Version?
    http://quicken.intuit.com/personal-finance-software/quicken-2007-osx-lion.jsp

  • Which application should i use to install facetime

    which application should I use to install facetime?

    You can save the DMG file for Mac to the desktop and install the Firefox application.
    * [[Installing Firefox on Mac]]
    * http://kb.mozillazine.org/Installing_Firefox#Mac_OS_X

Maybe you are looking for