With out JVM

dear friends,
where can I found JVM in java? is it part of OS or JDK.
can I compile java file with out JVM.
please I need answer for this questions.
thanking you
madhu babu

The Java Virtual Machine (JVM) is the platform that enables you to execute compiled java code.
You will not need to find, download, install the JVM in particular.
What you need is the Java Development Kit to develop, compile and execute Java code.
When purpose is simply to execute a Java Program install the the Java Runtime Environment (JRE).
I would also recommend to follow the Java Tutorial
http://java.sun.com/docs/books/tutorial/getStarted/cupojava/index.html

Similar Messages

  • Can we have a java application with out need of JVM??

    Hi
    Does java support exe kind of installable like in c/c++( is it platform dependent)?if so who it works??
    Can we right an application, which run on any machine (i.e. platform dependent) with out need of JVM installed on that machine�

    The short answer is no. A slightly longer answer.
    There were attempts to compile Java to native code. I remember playing with such a compiler: TowerJ. If you do this, you will end up with native executables, but not only one. You will have one per platform. Hopefully you will find compilers like this for all platforms (unlikely) or at least to all platforms you expect your application to run on. Compiling Java like this is complex and it may have all kind of restrictions.
    Symantec VisualCafe (out of business) now, provided a feature by which you could turn your Java program into a Windows executable. It was a bid executable containing a small native stub, the VM started by the stub, all the JDK classes and all your classes. It was still running under a VM, but this fact was hidden from you. I am pretty sure this concept is alive, just Google for it.
    If you drop the requirement "without VM" only to "without user having to install the JRE", you can survive. You can package the Sun VM with your application (legal, but read the conditions) and than install both. The user does not know what you install, the VM is just another component of your application among others that make it work. You do not need an installer for this, a ZIP with all the stuff inside does the trick.
    Note that again, you will need to create separate installers/zips for every platform supported, because the JRE part is not the same.

  • With out install JVM

    I am Working with java Swings,my application schould run with out installing JVM by the user(own).
    my program schould check either the user has the JVM or not. If JVM is not install program must inform to user like this...your system dont support with JVM,would u like to install JVM(YES/NO).
    when user says YES,JVM schould install and my program schould run in that system.
    PLZ help me either is it possible with JAVA SWINGS or not. plz let me know some sample coding also,if possible.
    thanking you.
    Malli

    My Program schould ask me to install JVM in runtime it self.
    my swing program schould ask the useres to install JVM,if they dont have JVM in their systems.
    is it not possible with Swings?
    I cames to know that,its possible by creating one jar file which chek the JVM in the useres PC.this jar file will run before my program run.so this jar file will check either user PC has the JVM or Not,if they dont have JVM,this jar file will install JVM in runtime it self.
    if it is possible ,plz suggest me with some usefull code.
    Thanking you.

  • CNA 6 InstallShield Wizard will not install with a JVM not found message

    I ran CNA 5.5 up until last week when Java 7 71 update hit. When I tried to launch, I received JVM Not Found, that was all. So I figured it was time to install CNA 6, however during the install process I now get a pop up box stating  InstallShield Wizard will not install with a JVM not found message. No other error messages, no logs, and the installation ceases. Tried installing CNA 5.8.9.1, and CNA 5.5 again, all stop at the same point with the same message. Anyone else see this issue?

    When you start Network Assistant, Java determines whether the resources it needs are available. If they are not, Java displays the message Could not create Java Virtual machine, and the session ends. To overcome this problem, open the file C:\Program Files\Cisco Systems\CiscoSMB\Cisco Network Assistant\startup\startup.properties (the default installation path), and modify this entry:
    JVM_MAXIMUM_HEAP=1024m
    Replace 1024m with a lower setting that does not exceed the available RAM. There is no way to foresee what value will work. Try 512m , and lower it further if necessary. You can use the dial peer tag range 2500 to 2999 out-of-band to define your own dial peers.
    If the Network Assistant InstallShield wizard fails to start, it is likely that the temporary folder location defined through the environment variables TMP and TEMP has some problem. Assigning a correct temporary folder location can fix such problems.
    Source:  http://www.cisco.com/c/en/us/td/docs/net_mgmt/cisco_network_assistant/version6/relnotes/ol32368.html#pgfId-840748

  • How can i run my .class file with out installing java ?

    Hai friends..am new to java , plz help me any one.
    I wrote a small program in java lang. i want to run this program in my friend's system , which is doesnt have java language .. How can i run this program in my friends system with out installing java language?
    one of my friends told that ,it needs to copy the jvm in to ur directory where the java code is present . How can i copy the jvm from where to where ..?plz help me any one

    Your friend will have to install the Java runtime if they want to run Java
    programs.
    Don't go copying files yourself - and especially don't go copying them to the
    location of the Java code. After all, if your friend wants to run 42 different
    Java programs they shouldn't have to have 42 copies of the runtime.
    Just download and run the installer from this site:
    http://java.sun.com/javase/downloads/index.jsp
    Be careful to download the "Java Runtime Environment" not the JDK.

  • How can i run my java program with out java language

    Hai to every one ..Iam new to java language ...am using windows xp operating system , i did not installed java language in my system .. how can i run a java program with out installing java language... Which files is requied to run java program..?
    any one can help me??

    Hai to every one ..Iam new to java language ...am
    using windows xp operating system , i did not
    installed java language in my system .. how can i run
    a java program with out installing java language...
    you ... can ... not ... do ... this
    Which files is requied to run java program..?
    any one can help me??a JVM. Download it from sun's website.
    [url http://java.sun.com/javase/downloads/index.jsp]Download JavaSE here

  • Linux behavior with and with out -Xmx

    I have questions about some strange behavior I am seeing with Java 5.0 on Linux.
    First here is the environment:
    bq. [~]:> uname -a \\ Linux xxxxxxxxxx 2.4.21-47.ELsmp #1 SMP Wed Jul 5 20:38:41 EDT 2006 i686 i686 i386 GNU/Linux
    bq. [~]:> java -version \\ java version "1.5.0_12" \\ Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_12-b04) \\ Java HotSpot(TM) Server VM (build 1.5.0_12-b04, mixed mode)
    I wrote a very simple java program that just starts up and sleeps.
    Wait.java:
    bq. import java.lang.*; \\ public class Wait{bq. public static void main(String args[]) throws Throwable{bq. Thread.sleep(100000);
    I run the program with no memory arguments:
    bq. [~]:> java -classpath . Wait & \\ [1] 30841 \\ [~]:> pmap 30841 | tail -1 \\ mapped: 1220332K writeable/private: *1160336K* shared: 49468K
    Note that pmap is showing me that it is using over *1 gig* of memory. The java documentation says that if I don't specify a -Xmx that the Max is 64 Megs.
    Top however, seems to be showing me that I am only using *10 megs*.
    bq. [~]:> top -bp 30841 \\ 08:44:00 up 187 days, 14:20, 12 users, load average: 0.38, 0.69, 0.37 \\ 1 processes: 1 sleeping, 0 running, 0 zombie, 0 stopped \\ CPU states: cpu user nice system irq softirq iowait idle \\ total 13.6% 0.0% 3.9% 0.0% 0.0% 7.0% 75.3% \\ cpu00 16.9% 0.0% 3.7% 0.0% 0.0% 5.6% 73.5% \\ cpu01 11.2% 0.0% 2.8% 0.0% 0.0% 8.4% 77.5% \\ cpu02 11.2% 0.0% 2.8% 0.0% 0.0% 6.5% 79.4% \\ cpu03 15.0% 0.0% 6.6% 0.0% 0.0% 7.5% 70.7% \\ Mem: 4101252k av, 3859028k used, 242224k free, 0k shrd, 145796k buff \\ 2619760k actv, 545440k in_d, 65836k in_c \\ Swap: 2048184k av, 594480k used, 1453704k free 1726032k cached \\ PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND \\ *     30841 xxxxxxx   21   0 10336  10M  6408 S     0.0  0.2   0:00   0 java*
    Now I run the program with a 64 meg min and max heap.
    bq. [~]:> java -classpath . -Xms64m -Xmx64m Wait & \\ [2] 30894
    Then run pmap.
    bq. [~]:> pmap 30894 | tail -1 \\ mapped: 256276K writeable/private: *196280K*    shared: 49468K
    So it looks like it is using *196 megs*. Which is fine because I know that there is overhead on top of the actual Heap size.
    Then I run top on the process:
    bq. [~]:> top -bp 30894 \\ 08:45:13 up 187 days, 14:21, 12 users, load average: 0.26, 0.58, 0.36 \\ 1 processes: 1 sleeping, 0 running, 0 zombie, 0 stopped \\ CPU states: cpu user nice system irq softirq iowait idle \\ total 8.4% 0.0% 0.4% 0.2% 0.2% 7.4% 83.1% \\ cpu00 8.4% 0.0% 0.0% 0.9% 0.0% 6.5% 84.1% \\ cpu01 7.4% 0.0% 0.0% 0.0% 0.9% 7.4% 84.1% \\ cpu02 4.6% 0.0% 0.0% 0.0% 0.0% 8.4% 86.9% \\ cpu03 13.0% 0.0% 1.8% 0.0% 0.0% 7.4% 77.5% \\ Mem: 4101252k av, 3904008k used, 197244k free, 0k shrd, 146224k buff \\ 2657632k actv, 549712k in_d, 65836k in_c \\ Swap: 2048184k av, 594480k used, 1453704k free 1731604k cached
    bq. PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME CPU COMMAND \\ *     30894 xxxxxxx   21   0 10340  10M  6408 S     0.0  0.2   0:00   3 java*
    And it shows me that I am using *10 megs.*
    So what is going on here?
    1) Why is top and pmap showing diffrent values between the SIZE (top) and the writeable/private (pmap) ?
    2) if the value in pmap is correct, why if I don't specify the max heap is it not taking the document default value:
    From http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/java.html
    bq. <quote> \\ -Xmxn Specify the maximum size, in bytes, of the memory allocation pool. This value must a multiple of 1024 greater than 2MB. Append the letter k or K to indicate kilobytes, or m or M to indicate megabytes. The default value is 64MB. \\ </quote>

    So some more info.
    When I run the process with out -Xmx and run jmap -heap against it, it apear that the max heap is 1 Gig.
    bq. [~]:> java -classpath . Wait & \\ [1] 10956
    bq. [~]:> jmap -heap 10956 \\ Attaching to process ID 10956, please wait... \\ Debugger attached successfully. \\ Server compiler detected. \\ JVM version is 1.5.0_12-b04 \\ using thread-local object allocation. \\ Parallel GC with 4 thread(s) \\ Heap Configuration: \\ MinHeapFreeRatio = 40 \\ MaxHeapFreeRatio = 70 \\ MaxHeapSize = 1050673152 (1002.0MB) \\ NewSize = 655360 (0.625MB) \\ MaxNewSize = 4294901760 (4095.9375MB) \\ OldSize = 1441792 (1.375MB) \\ NewRatio = 8 \\ SurvivorRatio = 8 \\ PermSize = 16777216 (16.0MB) \\ MaxPermSize = 67108864 (64.0MB) \\ Heap Usage: \\ PS Young Generation \\ Eden Space: \\ capacity = 5570560 (5.3125MB) \\ used = 222872 (0.21254730224609375MB) \\ free = 5347688 (5.099952697753906MB) \\ 4.000890395220588% used \\ From Space: \\ capacity = 851968 (0.8125MB) \\ used = 0 (0.0MB) \\ free = 851968 (0.8125MB) \\ 0.0% used \\ To Space: \\ capacity = 851968 (0.8125MB) \\ used = 0 (0.0MB) \\ free = 851968 (0.8125MB) \\ 0.0% used \\ PS Old Generation \\ capacity = 58392576 (55.6875MB) \\ used = 0 (0.0MB) \\ free = 58392576 (55.6875MB) \\ 0.0% used \\ PS Perm Generation \\ capacity = 16777216 (16.0MB) \\ used = 1516432 (1.4461822509765625MB) \\ free = 15260784 (14.553817749023438MB) \\ 9.038639068603516% used
    So does this mean that the documentation at: http://java.sun.com/j2se/1.5.0/docs/tooldocs/solaris/java.html
    is wrong?
    Thanks,
    Joe Kampf

  • How can i get all values from jtable with out selecting?

    i have one input table and two output tables (name it as output1, output2). Selected rows from input table are displayed in output1 table. The data in output1 table is temporary(means the dat wont store in database just for display purpose).
    Actually what i want is how can i get all values from output1 table to output2 table with out selecting the data in output1 table?
    thanks in advance.
    raja

    You could set the table's data model to be the same:
    output2.setModel( output1.getModel() );

  • How do I delete an old iCloud account with out knowing the password in order to make a new one

    i recently sent my phone to my aunt and she reset the phone but my own iCloud is still on the phone how can she change it with out me giving her my password

    That is Activation Lock.  The only way around it is to log in with your credentials.  Go to Settings/iCloud.  Turn off Find my iPhone, and then uncheck iCloud.  At some point you will have to put in your Apple id credentials (the one you use for app purchases).  Then go to Settings/General/Reset and click on Reset All Settings.  I would suggest you select Erase All Contents and Settings.  That will set the phone back to factory defaults.  She can then set the phone up as hers and download the apps she wants with her own Apple id.
    Have a nice day.

  • Put old I  life on new computer now I photo dosn't work it says cant open because it may be damaged or incomplete so all my pictures can not be accesed how do I get back to I photo or take what I installed off with out losing all my pictures?

    I got a new Mac and was trying to burn from I movie to get it to a disk but new I mac dose not have I DVD . So I had my old I Life 11 disc with I DVD on it and I installed it, when I did this it did something to my I photo I can not open it at all it has a message that reads ,you can't open the application IPhoto because it may be damaged or incomplete . Now I can not get or see any of my photos how do I reverse what I did? can I take that I Life back out and how? with out losing all my pictures? and how do you burn to DVDs now without IDVD?

    Diane,
    Your photos are in the iPhoto Library. Almost certainly that is intact, so don't worry.
    Go to your Home folder and open the folder called Pictures. What you want is in there, iPhoto Library. Don't do anything there, this is just to reassure yourself.
    So it is a matter of getting the iPhoto app to work. Apps are in the Applications folder. Find it and trash it.
    Next download iPhoto:
    https://itunes.apple.com/us/app/iphoto/id408981381?mt=12

  • How do I install mavericks on a macbook with out the app store?

    Okay, so this has been very annoying lately. So, long story short, I had to erase my HDD on my Macbook Pro which erased my operating system, and I do not have an OS X install disk. Is there a way to get OS X Mavericks with out having to go to the app store? I'm running OS X 10.5.8 Darwin on a 2007 iMac. So, I do not have access to the App Store. I am only 16 and I don't have a credit card to spend the 20 dollars on upgrading the OS to 10.6.0 Snow Leopard. Is this possible to get Mavericks so I can put it on a USB and install it, or no? The Macbook Pro is just a regular Mid 2012 13 inch with 4gb RAM, an Intel 2.5 i5 Processor, and a 500gb hard drive. Please help, I do not want to have this amazing notebook hanging around that I can not use. Thanks.

    If this is for a 2012 MBP, the you can do this:
    Install Mavericks, Lion/Mountain Lion Using Internet Recovery
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    Boot to the Internet Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND-OPTION- R keys until a globe appears on the screen. Wait patiently - 15-20 minutes - until the Recovery main menu appears.
    Partition and Format the hard drive:
    Select Disk Utility from the main menu and click on the Continue button.
    After DU loads select your newly installed hard drive (this is the entry with the mfgr.'s ID and size) from the left side list. Click on the Partition tab in the DU main window.
    Under the Volume Scheme heading set the number of partitions from the drop down menu to one. Click on the Options button, set the partition scheme to GUID then click on the OK button. Set the format type to Mac OS Extended (Journaled.) Click on the Partition button and wait until the process has completed. Quit DU and return to the main menu.
    Reinstall Lion/Mountain Lion. Mavericks: Select Reinstall Lion/Mountain Lion, Mavericks and click on the Install button. Be sure to select the correct drive to use if you have more than one.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.
    This should restore the version of OS X originally pre-installed on the computer.

  • Select with out into in plsql

    hi all
    i want to write a select statment in a procedure with out into statement ..
    is it possilbe if yes how can i do this.
    if its not possible then if we have to Return a number of rows from procedure then how can i do this..
    thanks in advance

    User1728 wrote:
    actual i want to return a datatable type data from procedureWhat does "datatable type" mean? "Datatable" is not a type in PL/SQL, so I assume that it has some meaning in your client programming language. What Oracle data type are you trying to return?
    My guess would be that you are trying to return a REF CURSOR so that you want something like
    SQL> create procedure return_rc( p_rc OUT sys_refcursor )
      2  as
      3  begin
      4    open p_rc for select * from emp;
      5  end;
      6  /
    Procedure created.
    SQL> variable rc ref cursor;
    Usage: VAR[IABLE] [ <variable> [ NUMBER | CHAR | CHAR (n [CHAR|BYTE]) |
                        VARCHAR2 (n [CHAR|BYTE]) | NCHAR | NCHAR (n) |
                        NVARCHAR2 (n) | CLOB | NCLOB | REFCURSOR |
                        BINARY_FLOAT | BINARY_DOUBLE ] ]
    SQL> variable rc refcursor;
    SQL> exec return_rc( :rc );
    PL/SQL procedure successfully completed.
    SQL> print rc
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM
        DEPTNO
          7369 SMITH      CLERK           7902 17-DEC-80        800
            20
          7499 ALLEN      SALESMAN        7698 20-FEB-81       1600        300
            30
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500
            30
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM
        DEPTNO
          7566 JONES      MANAGER         7839 02-APR-81       2975
            20
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400
            30
    <<more data snipped>>Justin

  • How do I reset my apple id security question with out a rescue email

    How do I reset my apple id security question with out a rescue email?

    You need to ask Apple to reset your security questions; ways of contacting them include clicking here and picking a method for your country, phoning AppleCare and asking for the Account Security team, and filling out and submitting this form.
    They wouldn't be security questions if they could be bypassed without Apple verifying your identity.
    (101013)

  • How do I view ipod music files with out using I tunes?

    I trying to view my Ipod music files without using itunes. But when I conect my Ipod to my pc I can only view contacts, notes, and caladar through the driver.
    How do I view ipod music files with out using I tunes?

    they should be under ur my music folder if u have windows

  • HT4356 My iPad does not find the printer. I have tried the HP app and it works, but in any other app the printer is not seen. How do I get this printer visible to the iPad. All my other network computers find and print with out a problem.

    My iPad does not find the printer. I have tried the HP app and it works, but in any other app the printer is not seen. How do I get this printer visible to the iPad. All my other network computers find and print with out a problem.

    hi
    could you tell us what the other app is please

Maybe you are looking for