What's the difference between the java and javaw?

As the title
Thanks

If you start java code with java.exe, closing the DOS command line window will close the Java application. If you start it with javaw.exe, it will not, but with javaw.exe you have no standard out, meaning printing with System.out.println() will not show up anywhere, because the JVM discards the standard out. If you start a Java application from within Windows directly (Using Start -> Run for example), starting it with java.exe will open a DOS box for the application, starting it with javaw.exe will open no DOS box at all (it will start like a Windows application). As should be clear now, it makes only sense to start Java applications with javaw.exe that have a GUI (graphical user interface), as otehrwise they won't be able to communicate with the user.

Similar Messages

  • Difference between using Java and Non-Java in Webi.

    Hi ,
    I have one more question requesting for an answer.
    Would like to know what is the Difference between using Java and Non-Java in Webi.
    Thank You in advance.
    Appana Ganesh.

    Hi,
    check the Information in following post, the differences are discussed there:
    http://scn.sap.com/thread/3295306
    best regards,
    Victor

  • Java-options, What is the difference between the parameters xms and ms

    Hi,
    I have a problem with deploy bpel process , I get an error "java.lang.OutOfMemoryError: PermGen Space" several sources of information tells me that I have to change some parameters in the file "<ORACLE_HOME> / opmn / conf / opmn.xml" but I doubt some of the parameters, what is the difference between Xms and ms?
    And what is the value of the parameter MaxPermSize, which I must also change.
    Thanks
    Gustavo

    Did you ever find out what the difference between the two parameters were!? I have the same questions. Default for opmn.xml = "-server -XX:MaxPermSize=128M -ms512M -mx1024M ...." In attempting to maximize performance and accessible memory, Oracle docs identify adding/modifying "-server -Xmn1228m -XX:+AggressiveHeap -Xms2048m -Xmx2048m -XX:MaxPermSize=128M -ms2048M -mx2048M...." But I question if Xms and ms are really the same parameter or not?
    Thanks in advance...
    Steve

  • What is the difference between jsp :include and server side include

    what is the difference between jsp :include and server side include(request dispatcher include method)????
    i understand that both request dispatcher include method and jsp:include take dynamic data,so when would one use request dispatcher include and when jsp:include.
    Is the usage interchangeable?i believe jsp include is used only for jsp/html but include directive can be used to include servlets ,jsp and html....correct me if i m wrong and
    do suggest if u hav ny other diff in this context...

    The difference really is: in what format do you want your inclusions? If your environment has many Java developers and only a few designers that focus mainly on, say, Flash, that might push you more towards the server-side include() directive. Or, if you have a large set of pages that receive dynamic content that is displayed in a consistent fashion (such as a workflow header area on a page).
    If, on the other hand, you have more web designers, there may be a greater desire to deal in markup rather than Java code. Java developers themselves might prefer to view markup (JSP) that more resembles the eventual output than something occuring in Java code.
    Finally, there are considerations of tiering. While it is totally possible to (and I have previously) implement 'view classes' that render markup or generate layout templates, JSP's offer, IMO, a subtle, psychological advantage. By forcing a developer to work in a different format, markup versus Java source, the separation on view from controller and model becomes a bit easier. It is still possible to make mistakes, but if a developer at some point notices, "Wait, I'm in a JSP, should I be importing a java.sql class?", then the choice to use JSP includes has paid off in spades.
    - Saish

  • Whats the difference between an INTERFACE and a CLASS?

    Whats the difference between an INTERFACE and a CLASS?
    Please help.
    Thanx.

    http://search.java.sun.com/search/java/index.jsp?col=javaforums&qp=%2Bforum%3A31&qt=Difference+between+interface+and+class

  • What is the difference between the normal function module and bapi function

    hi,
    what is the difference between the normal function module and bapi function module.

    Hi
    BAPI stands for Business API(Application Program Interface).
    A BAPI is remotely enabled function module ie it can be invoked from remote programs like standalone JAVA programs, web interface etc..
    You can make your function module remotely enabled in attributes of Function module but
    A BAPI are standard SAP function modules provided by SAP for remote access. Also they are part of Businees Objest Repository(BOR).
    BAPI are RFC enabled function modules. the difference between RFc and BAPI are business objects. You create business objects and those are then registered in your BOR (Business Object Repository) which can be accessed outside the SAP system by using some other applications (Non-SAP) such as VB or JAVA. in this case u only specify the business object and its method from external system in BAPI there is no direct system call. while RFC are direct system call Some BAPIs provide basic functions and can be used for most SAP business object types. These BAPIs should be implemented the same for all business object types. Standardized BAPIs are easier to use and prevent users having to deal with a number of different BAPIs. Whenever possible, a standardized BAPI must be used in preference to an individual BAPI.
    Regards
    Anji

  • What's the difference between XI basis and regular basis?

    I am an SAP basis admin for years.
    Now my corp starts to use XI.
    What is the difference between XI basis and regular basis if there is any?
    Thanks!

    Hi,
    No difference... Basis is Basis (Technical consultant)... According to me its just terminology changed. i.e. SAP Administrator instead of SAP basis.
    For XI you may need to additionally control the Java stack administartion along with ABAP stack.
    Please go thourgh the below link to know about SAP NetWeaver Administrator, then you may compare with regular Basis activities
    http://help.sap.com/saphelp_nw70/helpdata/en/7e/c82c42be6fde2ce10000000a1550b0/frameset.htm
    Also
    Refer - PI/XI administartion study material links
    PI Administration, monitoring document
    Thanks
    Swarup

  • What is the difference between Instance variable and Global variable?

    Hi folks,
    Could you please explain me, "what is the difference between Instance variable and Global variable?"
    Are they really same or not?
    --Subbu                                                                                                                                                                                                                                                                                                               

    Hi flounder,
    I too know that there is no such a term GLOBAL in java.
    generally people use to say a variable which is accessible throught out the class or file has global access
    and that will be called as a global variable...
    my point is very much similar to what Looce said.
    In simple that is not a technical term, but just a causual term.
    In technically my question is, "What is the difference between a instance variable and public variable?".
    Hi looce,
    Thanks for the reply. even thats what my understanding too....in order to confirm that i raised this question..
    Your reply has given a clear answer...... thanks again.
    --Subbu                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • What is the difference between Topic Keywords and Index File Keywords?

    What is the difference between Topic Keywords and Index File Keywords? Any advantages to using one over the other? Do they appear differently in the generated index?
    RH9.0.2.271
    I'm using Webhelp

    Hi there
    When you create a RoboHelp project you end up with many different ancillary files that are used to store different bits of information. Many of these files bear the name you assigned to the project at the time you created it. The index file has the project name and it ends with a .HHK file extension. (HHK meaning HTML Help Keywords)
    Generally, unless you change RoboHelp's settings, you add keywords to this file and associate topics to the keywords via the Index pod. At the time you compile a CHM or generate other types of output, the file is consulted and the index is built.
    As I said earlier, the default is to add keywords to the Index file until you configure RoboHelp to add the keywords to the topics themselves. Once you change this, any keyword added will become a META tag in the topic code. If your keyword is BOFFO, the META tag would look like this:
    <meta name="MS-HKWD" content="BOFFO" />
    When the help is compiled or generated, the Index (.HHK) file is consulted as normal, but any topics containing keywords added in this manner are also added to the Index you end up with. From the appearance perspective, the end user woudn't know the difference or be able to tell. Heck, if all you ever did was interact with the Index pod, you, as an author wouldn't know either. Well, other than the fact that the icons appear differently.
    Operationally, keywords added to the topics themselves may hold an advantage in that if you were to import these topics into other projects, the Index keywords would already be present.
    Hopefully this helps... Rick

  • What is the difference between "Invisible" (11g) and "virtual" index?

    Hi
    What is the difference between the "Invisible" index and "virtual" index?
    Thanks
    Balaji

    Indexes can be visible or invisible. An invisible index is maintained by DML operations and cannot be used by the optimizer. Actually takes space, but is not to be used as part of a potential access path.
    AFAIK, a virtual index is created by the tools used in SQL statement access path tuning to provide an alternative for the optimizer to test. It does not take any real space as it is a pure in memory definition.

  • What is the difference between Video-out and mirroring?

    What is the difference between Video-out and mirroring? I can't get iPhone 4 video to work on my TV screen
    I have just bought an MD098ZM/A (Apple 30-pin Digital AV Adapter). I am struggling to get it to show a picture on my TV. I know I'm doing something right because the audio is coming out of my TV speakers but no picture on the TV screen.
    I have used the same HDMI channel (on the TV side) with the same cable and my thunderbolt port (MacBook Air) without any trouble - and on the same app (BBC iPlayer download then full-screen mode).
    Now I note that the packaging for the MD098ZM/A says video-out on iPhone 4 but mirroring only on iPhone 4S. I only have an iPhone 4 (not the 4S). Now if the lack of iPhone 4 support for mirroring means that I can't play video material out to my TV, then in what sense is there any video-out capability at all?
    There is only safety and warranty paperwork in the Apple adapter packaging - no help information. And I haven't found further guidance online either.
    I do note somewhere online that it suggests that basic non-mirroring video-out (for this adapter) only works with some external TV sets. Any way of finding out which? I'm using a Sanyo CE32LD90-B LCD TV if it helps.
    So far not doing very well.

    Now found these but have had to give up on this adapter!
    http://manuals.info.apple.com/en_US/iphone_user_guide.pdf
    http://support.apple.com/kb/HT4108

  • What is the difference between"export audio and "bounce"?

    What is the difference between the "export audio" and "bounce" functions?
    Do plug ins get saved with the created BWF(broadcast wave files)in the "export" function?
    Or is the "bounce" method the required function to enable plugins embedded in BWF files?
    Also I noticed that the "convert to SDII file" produces files not readable by ProTools.
    It was my understanding that using the convert to SD II files via the audio bin is used, it would produce BWF files for use in Protools.And if you use symbols like / in your track names the files won't get converted or bounced!
    Also would it not be cool if LE8 had a feature that could render BWF files small enough to send via internet file sharing and transfer apps, in other words a built in file transfer feature. Am I asking for too much.

    Export audio is good to move the tracks to another application or computer for further editing.
    Bounce renders the mix into a stereo track in 2 basic ways: PCM, i.e. uncompressed, or compressed (like AAC, mp3 etc.).
    PCM can be AIFF, Broadcast WAV (even if it's written only WAV those are BWF), and SDII that's the standard file type of ProTools.
    Note that PT doesn't use interleaved stereo files but two separate files for left and right channels, i.e. filename.l and filename.r and if you save in this way PT will accept those files for sure.
    Uncompressed audio files cannot be compacted (in fact, that's why they're called uncompressed).
    These days there are a lot of Internet services that permit to transfer several Gb (up to 5) for free.
    If you are thinking of something like Digidelivery then you should put your attention towards Digi's products, not Apple's ones.
    cheers
    rob

  • Whats the difference between arrayCollection = null and arrayCollection.removeAll()?

    Whats the difference between arrayCollection = null and
    arrayCollection.removeAll()?

    In arrayCollection = null; statement you're setting this
    reference to null and potentially making it available for garbage
    collection. I say 'this reference' and potentially because, as you
    may know, there might be other references to this array collection
    object that won't be affected by this statement and hence it won't
    be GC'ed.
    arrayCollection.removeAll() says that I want to empty this
    array collection for all the reference that we pointing to it. That
    is, remove all the objects from the collection -- and of course
    make them 'potentially' available for the GC -- the size of the
    array collection would be reduced down to zero and all the
    references would be pointing to a valid but empty collection.
    Hope this helps.
    ATTA

  • What is the difference between Session timeout and Short Session timeout Under Excel Service Application -- session management?

    Under Excel Service Application --> session management; what is the difference between Session timeout and Short Session timeout?

    Any call made from the API will automatically be set to the “Session Timeout” period, no matter
    what. Calls made from EWA (Excel Web Access) will get the “Short Session Timeout” period assigned to it initially.
    Short Session Timeout and Session Timeout in Excel Services
    Short Session Timeout and Session Timeout in Excel Services - Part 2
    Sessions and session time-outs in Excel Services
    above links are from old version but still applies to all.
    Please remember to mark your question as answered &Vote helpful,if this solves/helps your problem. ****************************************************************************************** Thanks -WS MCITP(SharePoint 2010, 2013) Blog: http://wscheema.com/blog

  • What is the difference between the passcode on my iPhone 5 and a password?  I am locked out of my phone.

    What is the difference between the passcode on my iPhone 5 and a password?  I am locked out of my phone.

    Not entirely sure what you are asking, but a passcode to unlock an iOS device is normally 4 digits long (so is a 4 digit code), though you can make it alphanumeric and longer (so effectively becomes a password).
    If you don't know the passcode to unlock your phone or it's showing the disabled screen then there are instructions on this page for how to reset a device : http://support.apple.com/kb/HT1212 - you should then be able to restore/resync your content to it.

  • What'z the difference between the Commercial Invoices and

    What'z the difference between the Commercial Invoices and
    Invoices/Excise Invoices? Also I understand that we can combine 2~3
    invoices and can create one commercial invoice? If it is possible, how
    to create the same?
    cheers
    shalsa007....

    Hello,
    A commercial invoice is a bill for the goods from the seller to the buyer. Commercial invoices are utilized by customs officials to determine the value of the goods in order to assess customs duties and taxes.
    In general there is no standard form for a commercial invoice although they tend to contain many of the following features:
    •     seller's contact information
    •     buyer's contact information
    •     consignee's contact information (if it is different from the buyers)
    •     invoice date
    •     a unique invoice number
    •     sales terms (usually in incoterm format)
    •     payment terms
    •     currency of sale
    •     full quantities and description of merchandise (Generally this includes unit price and total price. Product descriptions should be consistent with the buyer's purchase order. Including the Harmonized System commodity codes can be helpful, especially in countries that are WTO members.)
    Excise invoice “Original for Buyer copy”, whether  prices are inclusive or exclusive of excise duty.
    The invoice in which the Excise duties are included.
    As per Indian tax system, Excise duty (16%) is payable by each manufacturing unit on the value of manufactured goods / on the value added. The manufacturing plant is supposed to submit an excise duty report on fortnightly / monthly basis. Various registers (RG1, RG23A, RG23C, PLA) are maintained for that purpose, which record all the transactions including movement of goods, cenvat credit available and cash balance available.
    In SAP, we use transaction j1id for configuration and j1iin, j2i7, j1i5, j2i5, j2i6, j1ip for creating, extracting and printing excise invoice. 
    *Please reward if this helps**
    Regards
    AK

Maybe you are looking for

  • Amount without currency

    Talking about transformation (BI7) Amount on source side (default currency, say EUR ) Amount (with currency) on target side I get error while activating Transformation with demand to assign currency field from source to target. As I mentioned before

  • My iPhone 4 is not recognized by Windows 7 but syncs with iTunes.

    Driver fails to load. Device manager considers my iPhone a MTP USB.  I have deleted and re-installed iTunes with no resolution. I have read several strings regarding Autoplay. Nothing seems to work. 

  • Bapi for Picking, Packing and Post goods issue (WS_DELIVERY_UPDATE)

    Hi, I have a requirement to update the outbound delivery. In that, I need to update the picking, Packing details and have to complete the PGI for the particular delivery. I got the suitable function module for the same is : WS_DELIVERY_UPDATE. Can an

  • SOD in PS and Oracle

    Hi, A company is using Oracle Applications as well PeopleSoft and they want to have a comprehensive tool for doing SOD analysis. Using ICM I know that the SOD can be checked for both OA and PS as well, but preventive mechanism in ICM, can that be use

  • I can't get my windows computer to recognize my iPhone 4s.  What should I do?

    I have an iPhone 4s that I'm trying to sync with my windows computer but I can't get my computer to recognize the iPhone.  My computer is running with the windows 7 64 bit operating system.  I have the latest version of iTunes as well.  I've followed