JVM for various OS

I new to Java,I have one basic doubt regarding JVM,
Is JVM designed by the OS developers or SUN itself design the different JVMs for the different Operating Systems?

Hi harish...
Because of Java portability feature .. the java program's transformation process, from source code to machine executable, into 2 steps....
* 1 .Step..
i.e example.java to example.class ( using "javac" compiler it is converted to "bytecode" i.e "class" file)
there is nothing big deal about this "class" file (bytecode).Its just a simple flat file having JVM(java virtual machine) instructions and symbol table of java's flavour( also called runtime constant pool table, having references to runtime variables and methods etc.. that is need at linking process, to execute the program)...
* 2.Step..
tranforms the class file ie..
from example.class to machine executable(using JVM )
JVM is interpreter that reads JVM instructions from the class file and transfroms them into appropriate machine equivalent code of the host machine...
purly speaking interpreter is more robust than compiler .. for extremely runtime error prone programs...and more over JVM instructions are siblings to assembly code and thus requires interpreter rathar than compiler...because at the end of the any CPU executes only one instruction at a time....
Hope I answered your question.....

Similar Messages

  • Possible to have multiple cluster members in the same JVM (for unit tests)?

    Hi,
    I'm wondering if it's possible to simulate multiple cluster members inside of a single JVM. I'm looking to unit test my code and it would be great to write cases for various boundary conditions.
    This could certainly be done with multiple JVMs but would be more difficult to run in something like cruise control etc.
    TIA,
    Danny

    Hi Danny,
    I do not know how to accomplish what you are asking for and run several Coherence nodes in a single JVM, but I have written a JUnit base class that starts a configurable number of nodes (each in its own JVM) and provides some other useful methods for unit/integration testing with Coherence, such as method to clear all caches or to load test data from the CSV file.
    It is still a work in progress and you might need to tweak things a bit to make it work in your environment, but it will at least give you a head start.
    Shoot me an email if you are interested and I'll send it to you (you can find my email in my profile).
    Regards,
    Aleks

  • Updating default JVM for USA 2007 Daylight Saving Time (DST) Compliance

    As mentioned on various notes on metalink on DST compliance, I got around to updating the JVM on my OracleAS 10.1.2 on Linux. As per note 397281.1,
    "Apply the latest in the major series if the specific version above has been superseded by the vendor"
    So, I downloaded the following version from Sun: java full version "1.6.0-b105" (JDK 6.0) and followed note 272808.1 on how to update the default JVM for 10gAS.
    The middle-tier starts just fine but the OC4J_BI_Forms and Reports Server continually shutdown and restart.
    Has anyone gone down this road? Any comments appreciated.
    Manish

    Hi,
    We have a bug to track assessing this issue, but have not done so yet. I'm speculating, but it may turn out to just require an automatic update from Windows.
    Regards, Stephen

  • Develop a report to track discount for various product

    hi
      i need to develop a report to track discount for various product depending upon the client

    Hello Noor,
    I'm not sure but if you are talking about the marketing attributes, you can definitely use FM - CRM_MKTBP_ASSIGN_ATTRIBUT_TAB
    You need to pass the profile id, partner id and marketing attributes data. Thats it.
    I think the FM you ar eusing for terrritory is fine. It should work.
    I hope this helps.
    Thanks
    Vishal

  • HOW TO USE A SINGLE PERFORM FOR VARIOUS TABLES ?

    perform test TABLES t_header.
    select
           KONH~KNUMH
           konh~datab
           konh~datbi
           konp~kbetr
           konp~konwa
           konp~kpein
           konp~kmein
           KONP~KRECH
           FROM konh INNER JOIN konp
                  ON konpknumh = konhknumh
           into table iTABXXX
            "ANY TEMPERARY INTERNAL TABLE.
           for all entries in t_header
           where
                 konh~kschl = t_header-kschl
             AND konh~knumh = t_header-knumh.
    endform.
    how can I use above perform for various internal tables of DIFFERENT LINE TYPES but having the fields KSCHL & KNUMH.

    u can use single perform....
    just see this example......hope this is what u r expecting....
    tables : pa0001.
    parameters : p_pernr like pa0001-pernr.
    data : itab1 like pa0001 occurs 0 with header line.
    data : itab2 like pa0002 occurs 0 with header line.
    perform get_data tables itab1 itab2.
    if not itab1[] is initial.
    loop at itab1.
    write :/ itab1-pernr.
    endloop.
    endif.
    if not itab2[] is initial.
    loop at itab2.
    write :/ itab2-pernr.
    endloop.
    endif.
    *&      Form  get_data
          text
         -->P_ITAB1  text
         -->P_ITAB2  text
    form get_data  tables   itab1 structure pa0001
                            itab2 structure pa0002.
    select * from pa0001 into table itab1 where pernr = p_pernr and begda le sy-datum and endda ge sy-datum.
    select * from pa0002 into table itab2 where pernr = p_pernr and begda le sy-datum and endda ge sy-datum.
    endform.                    " get_data
    Regards
    vasu

  • I can't delete an itunes account that my xhusband also has on his iphone and my email account as well.  He can read my emails but I can't delete this itunes account because I can't access it for various reasons.  Short of paying apple to delete is a way?

    I still think my xhusband can see my emails on his iphone since I had downloaded an app on his iphone using my itunes account. Now I can't get into this account for various reasons.  Is there any way of deleting this itunes account short of paying apple to do it?

    You can't delete an iTunes accounr/Apple ID. All you can do is stop using it. What you can do is change your Apple ID password, as well as the password for your email account. That will put an end to this.

  • Hello. I began with the DPS. Is it possible to publish a magazine for a limited, specific target group? For example, in one department of a large company? Or to the responsible for various services? If so, how should I do? Thank you for your help.

    Hello.
    I began with the DPS. Is it possible to publish a magazine for a limited, specific target group? For example, in one department of a large company?
    Or to the responsible for various services? If so, how should I do? Thank you for your help.

    Short answer is yes.
    Click the request for consultation link in Digital Publishing Suite Help | DPS pricing options to receive a price estimate for the DPS license your project.

  • Inventory count for Various Stock types

    What is Inventory count for Various Stock types?
    i have to upload data to this.
    can anyone explain this and give the tcode for this.
    Regards,
    Vimal

    Hi,
    While taking up physical inventory you have the option of doing it for different stock types being maintained .Like Quality stock,unrestricted stock ,blocked stock.If you are doing this activity in sessions in MI31 ,you need to check against the stock types which are to be counted.This will include the stock of the items as selected and leave aside the stock types not selected.In MI01 also you can select these stock types which are donated by 1,2,3 & 4 stock type.After creating the document the stock counted is to be entered in MI04 .Than get the difference list in MI20.The difference will be posted in MI07 which will complete the activity and stock will be adjusted after posting tyhe difference.
    Dhruba

  • Linux: which toolkit is used in JVM for heavyweight components?

    Hi,
    which toolkit is used by the Linux-variant of the JVM for the heavyweight-components? GTK?
    Oxy

    java.awt.Toolkit is abstract. He means what implementation is used (motif-based, etc.). For example, sun.awt.motif.MToolkit.
    It might vary from one Linux variant to another (and from one JVM version to another), I'm not sure. But for any particular Linux system, you can run this program to find out:
    import java.awt.*;
    public class test {
       public static void main(String[] args) {
          System.out.println(Toolkit.getDefaultToolkit().getClass());
    }Edited by: BoBear2681 on Apr 24, 2008 3:37 PM

  • Update JVM for Sun Java Application Server8

    Hi:
    I am wondering how do I update the JVM for an already installed Sun Java application Server 8. Does any one know how to do this? Thanks

    user4877326 wrote:
    Hi Experts,
    Need some good links and documentataion for "Sun Java Application Server". When I am making a serch for this I am getting links to Glassfish.
    So please help on the documentation for Sun Java Application Server .
    Regards.This is because Glassfish is the same product as Sun Java Application Server in that regard.
    The versioning goes as follows:
    Kiva Enterprise Server 1.x
    Kiva Application Server 2.x
    Netscape Application Server 4.x
    NetDynamics 5.x
    SunOne/iPlanet Application Server 6.x (merger of NAS4 and ND5)
    Sun Java Application Server 7.x = SunONE/iPlanet Application Server 7.x
    Sun Java Application Server 8.x = Java Enterprise Server Application Server 8.x
    Sun Java Application Server 9.x ~= Glassfish 2.x
    Glassfish 3.x
    Clear now? :)

  • Same JVM for multiple Frames in a web application

    Hi guys,
    I have a web application that loads an applet during login. Once the login is completed, the web application will display the available functions accessible with a menu on the left frame and the main display page on the right frame. Whenever any form action is perfomed on the right frame, the jvm with the login session seems to exit (java console closes) and the applet will be loaded to prompt the user to login again. The JRE installed on the Windows client is 1.6.0_14 from SUN.
    I'm guessing that the different frames are using different JVMs?
    Is there a way to use the same jvm for a web application with multiple frames? I want to prevent the case where the user will have to login again.
    Thanks for any advice!
    - Zen -

    I have sort of the same problem
    [Identical applets in the same JVM, next generation plugin issue|http://forums.sun.com/thread.jspa?threadID=5396118]
    I have submitted a Request for enhancement to SUN to allow forced grouping of applets in the same JVM.
    Sort of the opposite of the "separate_jvm" Applet tag parameter.
    It seems there is currently no way to do this.
    [New Plugin command line args|https://jdk6.dev.java.net/plugin2/jnlp/#COMMAND_LINE_ARGS]
    When per-applet JVM command-line arguments are specified, it is likely that the new Java Plug-In will need to launch another JVM instance in order to satisfy them. In other words, it is unlikely that a preexisting JVM instance will have been started with the correct set of command-line arguments to satisfy the current applet's request. The rules for exactly when a new JVM instance is launched to start a given applet are deliberately left unspecified, as this functionality is brand new in the 6u10 release and may need to change in subsequent releases. Here is a rough set of guidelines for the sharing and creation of new JVM instances:
    * If the command-line arguments used to start a preexisting JVM instance are a superset of the requested arguments, the preexisting JVM instance will be used.
    * If a JVM instance is launched for the "default" set of command-line arguments (i.e., those specified in the Java Control Panel, with no per-applet arguments specified), then this JVM instance will never be used to launch any applet that has even one per-applet command-line argument.
    * -Xmx is handled specially: if a preexisting JVM instance was started with for example -Xmx256m, and a new applet requests -Xmx128m, then new applet will very likely be run in the preexisting JVM instance. In other words, -Xmx specifications are matched with a greater-than-or-equal test.
    There is no way to "name" a JVM instance used to launch a particular applet and "force" subsequent applets into that JVM instance.
    See the section on the separate_jvm parameter to isolate a particular applet in its own JVM instance, separate from all other applets.

  • Need Help regarding the JVM for the ARM926EJS Processor

    I Want to develop an application in java for the IMX.27 board which has ARM926EJS Procesor. This processor is jazelle enabled hardware.
    My questiion is that how to get the JVM for this. So that i will use my Java appliaction. I am using linux OS.
    Thanks in advance.

    Hi Narendra,
    Sun actually has a VM for the ARM ... well, actually 2 VMs for the ARM. Depending on your needs, there's a solution for JavaME CLDC, JavaME CDC, or JavaSE. There's also the open source implementations for CLDC and CDC. Here's how to get more info:
    JavaME: http://java.sun.com/javame/index.jsp
    CLDC open source project: phoneME Feature: https://phoneme.dev.java.net/content/phoneme_platforms.html#phonemefeature
    CDC open source project: phoneME Advanced: https://phoneme.dev.java.net/content/phoneme_platforms.html#phonemeadvanced
    Embedded SE: http://java.sun.com/j2se/embedded/offerings.html
    email inquiry to: [email protected]
    Regards,
    Mark

  • Server JVM for JSDK 1.4.1 (Windows)

    Where can I get the server JVM for JSDK 1.4.1 ?
    C:\>java -server -version
    Error: no `server' JVM at `C:\Program Files\Java\j2re1.4.1\bin\server\jvm.dll'.
    I also checked the j2sdk1.4.1 install directory and the server jvm is not packaged with it either.
    The Solaris version came a server jvm, but not the windows version. Is there a separate server VM download for windows ? If so where is it ?

    I'm using 1.4.1 RC; on my install it is:
    c:\j2sdk1.4.1\jre\bin\server\jvm.dll
    for some odd reason, it is not installed into the C:\Program Files\Java... You can move it there manualy and it works.
    If anyone has any detailed info on why, please post a link; I'm curious.
    - Chris

  • What's the utility to assign default apps for various file endings?

    A few months ago I found a utility that integrates assigning default apps for various file endings. Made it a lot easier, and more thorough, than picking one of each, opening the GET INFO window, assigning it and clicking "open all like this."
    But dang I can't recall the name. It was free or shareware. Seems like I read about it in MacWorld, but I haven't been able to come up with it via key word search. Help?
    Thanks,
    cb
    iMac Intel Duo Core; iBook G4; abacus   Mac OS X (10.4.9)  

    Is RCDefa
    ultApp what you're looking for?
    (22439)
    holy moley rocky roley!
    Yup, thassit.
    Thanks very much!
    iMac Intel Duo Core; iBook G4; abacus   Mac OS X (10.4.9)  

  • JVM for Commodore 64

    Help I need a JVM for the Commodore 64, I am trying to run my Traveling Salesman program on a Beowulf Cluster of C64's and can't find the JVM anywhere. If you can help I will give you Dukes!

    Nice! (and thanks for the duke, btw, I'll cherish it always). I've been unable to find any 100 Mbps nics for you, but I think there's a box of old token ring cards around here somewhere, maybe we can figure something out there. I don't know if anyone's writing massively parallel Java out there - resources might be a little hard to come by. Maybe we could scale down the initial project to something more like that appointment tracking app that has been giving people around here such trouble?

Maybe you are looking for

  • APP Run for Cross Company payment for multiple vendors (F110)

    Hi Experts, Please help in following regards. C.Cod, ITH and IHK, Vendors V1, V2 , V3. The transaction F110 should pay cros company payment, i.e; Payment is done from IHK House bank on behalf of ITH. Please advise whether i need to develop any custom

  • SAVE_TEXT IN CO01

    Hi,        I had requirement,I need to populate the Long text in CO01. Iam using the FM SAVE_TEXT. But it doesnt worked.Iam using the Following code to save long text DATA: BEGIN OF tlinetab OCCURS 100.           INCLUDE STRUCTURE tline. DATA: END OF

  • Email loading problem

    I just had a call from an anxious client who has opened her imap email account at home and all 6000 emails are downloading at once (slowly). I have opened the same account on webmail and could see her inbox with no issues, however I then 'checked ema

  • Transport Management Purchase Order

    Dear All, I am facing problem with purchase order which we are using during shipment cost account assignment settlement. I created purchase order with below values. Vendor=304210 Purchasing org.=CPC Purch. group=CPC Company code=INN Item Overview Acc

  • Text Triggers

    It would be very helpful if text could trigger more thank links. If the text could be the trigger for opening a lightbox that would be very helpful. Say I want the text of someone's name to trigger a picture of that person, or want to create notes wi