Using separate JVM for a java program, other than what's installed in OS

Hello all,
I am trying to use different version of java executable , other than using the version of java installed in the OS, in the windows.
Is linux, I believe I have used different version of java ( I suppose using different JVM ? )
Would there be any conflict between the version of java installed in the computer and the version of java in my program ?
Thanks
Kyle

venvidu wrote:
I see,
So, each java executable from the separate version is its own JVM + executable java code and different java executable can be run at the same time. I don't know what you mean by that. You start a new JVM when you start java.exe or javaw.exe (on windows), and you can have several VMs running, both of same version, and of different versions.
>
Then, in the windows OS, is there anything in the system file which store specific information about the installed java version ?The registry has some information, but a VM doesn't need to write anything to the registry, so it all depends on how you installed the VM.
>
The idea is that, on top of the installed version of java, I am trying to included pre-compiled java in my program. Huh? I don't understand that.
So that my program uses its own java version Ok
-- most likely, the latest version Why do you think so? You can release your software today with a JRE, but that JRE might not be the latest version 1 week later.
-- regardless of what the current windows OS has.
I know this poses no problem in the linux OS, but is there anything in the windows OS that might potentially corrupt the above approach ?I'm not sure that I have understood exactly what you said, but I don't see any problems.
Kaj

Similar Messages

  • Process name representation in a LINUX machine for a JAVA program running..

    Hi,
    We are using an Intel machine loaded with Red Hat Linux 7.2 OS to run JAVA programs. We have a requirement to calculate the CPU and MEMORY usage for each JAVA program running. Unfortunately when a java program is run say "java ESR" and we run a ps -ef | grep -i java, it is shown as hkumar 2847 2799 0 19:15 pts/3 00:00:00 /usr/java/jdk1.3.1_03/bin/i386/n
    hkumar 2874 2847 0 19:15 pts/3 00:00:00 /usr/java/jdk1.3.1_03/bin/i386/n
    hkumar 2875 2874 0 19:15 pts/3 00:00:00 /usr/java/jdk1.3.1_03/bin/i386/n
    hkumar 2876 2874 0 19:15 pts/3 00:00:00 /usr/java/jdk1.3.1_03/bin/i386/n
    hkumar 2877 2874 0 19:15 pts/3 00:00:00 /usr/java/jdk1.3.1_03/bin/i386/n
    hkumar 2878 2874 0 19:15 pts/3 00:00:00 /usr/java/jdk1.3.1_03/bin/i386/n
    hkumar 2879 2874 0 19:15 pts/3 00:00:00 /usr/java/jdk1.3.1_03/bin/i386/n
    hkumar 2880 2874 0 19:15 pts/3 00:00:00 /usr/java/jdk1.3.1_03/bin/i386/n
    hkumar 2881 2874 0 19:15 pts/3 00:00:00 /usr/java/jdk1.3.1_03/bin/i386/n
    hkumar 2882 2874 0 19:15 pts/3 00:00:00 /usr/java/jdk1.3.1_03/bin/i386/n
    hkumar 2883 2874 0 19:15 pts/3 00:00:00 /usr/java/jdk1.3.1_03/bin/i386/n
    hkumar 2884 2874 0 19:15 pts/3 00:00:00 /usr/java/jdk1.3.1_03/bin/i386/n
    hkumar 2885 2874 0 19:15 pts/3 00:00:00 /usr/java/jdk1.3.1_03/bin/i386/n
    instead of the actual name of the program ie. ESR.
    Does anybody know why this happens? Is there a way out to ensure that "ps -ef | grep java" gives the actual name of the java program being RUN?
    Thanks in advance,
    Harish

    You have less chance to identify which programm that VM instance is running right now.
    But you could (as we do) keep track of your programs if you save the process-id when you start the program.
    We need this to shut down running java batch programs but you could find out the used system resources with this way as well...

  • Installer for a Java Program

    Hello, folks.
    I've written an application that I feel is ready to show to others, and would like to provide it with an installer.
    I need to check that JRE 1.4 is installed, install it if it isn't, install the application to a directory, set install/uninstall options in the control panel, and add a start menu item. (This will be a Windows-platform installer.)
    Could any of you suggest a free (not demo) installer system that I could use? I've heard that there are some good ones out there, but I don't have their names and associated URL's.
    thanks,
    Andrew

    Hello All,
    This is may be bit of a tangent, but hopefully it can be helpful regardless...
         I'm looking into installer programs that are java friendly with the ability to generate a gui-based install program for multiple platforms. I went out and tried to find as many programs that match these specs (list below). Before I dive headlong into demo-sampling-mode - I was hoping folks would share any positive or negative experiences they've had with any of the apps listed below.
    http://www.denova.com/ - DeNova
    http://www.fawcette.com/Archives/premier/mgznarch/javapro/2000/06jun00/rv0006/rv30006.asp - InstallShield Java Edition 3.0
    http://www.alphaworks.ibm.com/tech/beanbag - BeanBag
    http://www.alphaworks.ibm.com/tech/installtoolkit - Install Toolkit for Java
    http://www.jadcentral.com/codecentral/code_profile.jsp?category_ID=4&code_ID=112 - ITW Installer For Java Applications
    http://www.zerog.com/ - InstallAnywhere (some free, some not)
    http://www.gjt.org/info/design/autorad.shtml - AutoRad [GPL]
    http://www.xenonsoft.demon.co.uk/products/freeinstaller/index.html - freeinstaller [Open Source]
    http://www.izforge.com/izpack/ - IzPack [Open Source]
    http://www.toolshed.com/download/installer/install.html - Java Self Installer [GPL]
    http://liftoff.sourceforge.net/ - Lift-Off [GPL]
    http://packlet.sourceforge.net/ - Packlet installer tool [Open Source, LGPL]
    http://vainstall.sourceforge.net/ - VAInstall [GPL]
    Comparisons:
    http://www.zerog.com/products_pu_05.html
    Cheers,
    Enrique
    cc comp.lang.java.softwaretools
    cc forum.java.sun.com > Java Programming > Installer for a Java Program

  • How can i create a test suite in oracle for a java program

    hi
    i have to create a table for test cases for a java program
    in that my main concentration is on branch statements
    i have problems to choose which fields should be there in my table
    plz let me know if you have nay ideas
    thnx
    regards
    [email protected]

    no idea based on the little or nothing you've posted.
    %

  • SSP5: Using multiple JVM for load balance performance?

    Sun 12 MAY 2002
    Apps 11.0.3
    SSP5 patchset I
    HP UX 11.0
    db 8.1.7.2 (64-bit)
    Load 60 concurrent sessions, each spawning 2.5 - 3 http connections.
    CPU 3:750Mhz
    RAM 8G
    Is anybody using multiple JVM for load balance?
    What is your ratio of JVM to concurrent iP sessions?
    Are you running Apache/Jserv on a server with any other applications, or is Apache by itself?
    If you are not using JVM, how many httpd processes do you get before Apache implodes? We stopped in the water at 90 httpd processes, but performance degraded starting at 70 sessions.
    Thx - Don

    Using Web Cache to load balance servlet-based Forms (6i and 9i) is unofficially supported. I say "unofficially" because we have actual customers doing it and getting support, but the 2 development teams (Forms and Web Cache) haven't actually done any integration testing of this sort of configuration yet. For your case, please contact your Support rep and ask what was done to use Web Cache as a load balancer for Forms6i at METRO in Germany. The Forms product managemment team is writing up a white paper to describe how to do it, but until then, you'll need to go through Support. Please contact me if you want more information.

  • Taking recommendations for good sync/backup program (other than Time Machine)

    Hello everyone,
    I'm on the lookout for a good file synchronization program (other than Time Machine) which I can use to make one-way backups of specific subdirectories. The ideal program would do the following:
    1) Do one-way synchronization of user-selectable subdirecotries within a directory A to directory B either on same hard drive or on external hard drive
    2) Can be set up to make sure that B has the exact subdirectories/files as A, deleting any that are not present in A and adding anything that is added to A or anything that has been changed in A
    3) Will not generate useless junk files that require me to manually clean up after them
    4) Will not alter files and directories in A in any way
    5) Will be inexpensive
    6) Will not interfere with Time Machine, which I already use to backup multiple volumes to a single external hard drive.
    I checked the App store first, but was disappointed that all three apps had mixed reviews, and none had recent reviews attesting to their efficacy (which I always interpret as a bad sign).
    I also did a quick search for third-party programs, but their websites will only have good reviews, so naturally I'm checking here first.
    Basically, I want this program so that I can use it to sychronize files to my Cloud (Box, Google Docs, Dropbox) directory to share with my friends, and also to make redundant backups of sensitive files to additional external hard drives not being utilized by Time Machine.
    Any input would be greatly appreciated.

    CCC can be set up to copy just selected directories, or the entire disk.  It does not need to make a full clone (although a full clone is a good way to have*something* that functions in case of emergency).
    I take the approach of using a tool that can do much more than simple because it can do *that much more* in a pinch.
    I gave my best advice, and have not investigated in more specialized tools.
    Good luck to you.

  • I'm forced to use a xoom for work. Is there any way of installing android ICS via virtual machine or any other mechanism?

    i'm forced to use a xoom for work. Is there any way of installing android ICS via virtual machine or any other mechanism?

    On the iPad? No.

  • Looking for a less expensive program other than Photoshop CS6

    Looking for a less expensive program other than Photoshop CS6 and was wondering if Photoshop Elements is the answer. Does Photoshop Elements read PSD files, create layers, can you change the levels and color balance?

    drumford65 wrote:
    Looking for a less expensive program other than Photoshop CS6 and was wondering if Photoshop Elements is the answer. Does Photoshop Elements read PSD files, create layers, can you change the levels and color balance?
    Yes, and much more.
    Why not try the 30 days trial version which has all the features of Elements ?

  • Any setting to use alt+tab for switching adobe and other file ?

    any setting to use alt+tab for switching adobe and other file ? instead of opening a adobe file agin and agin?
    thanks.
    really hate using win8...........................

    i mean ..can adobe fild open it in a normal way like win7 did...
    so i can use alt+tab to switch task easily..

  • Any program other than safari won't detect internet

    any program other than safari won't detect internet eg. itunes, skype etc. I can't even system update.
    Safari has no problems and I can use the internet fine.
    Someone told me to check proxy settings and make sure "Use Passive FTP Mode" was ticked which it is...
    Does anyone have any suggestions? I urgently need to fix this and I can't get an appointment to see anyone until next week.
    Thanks!

    Thanks Kaan for your reply,
    Yes, Network does indicate that Airport is connected to the internet. Internet Explorer (OS X) connects instantly over the same network. Restarting Safari doesn't work. Waiting a few minutes doesn't work. Choosing a different web site to access doesn't work. Safari (1.3.1) has worked beautifully for months over this same network.
    Thanks again and Happy New Year.
    BJZTX
    G4 Quicksilver   Mac OS X (10.3.9)   G4 Notebook 10.3.9

  • How to implement a print screen through a java program rather than a keyboa

    help needed urgently to make a college project.
    have to capture whatsoever is on the client screen
    and sent it to to a server program where it will be made visible on a frame or panel.
    this is to be done without the client ever knowing it.
    so needed to implement a printscreen command using java code and put it in a program(also how to make
    the .class file containing this code run in the background all the time since the client comp starts till it is shut down without the client ever knowing it)
    e mail: [email protected]

    <pre>
    hartmut
    i need help.
    i've recently started using the web to learn more about java.your reply was very discouraging.
    the proff. just wants a decent project.
    but i want to make this project to improve my java networking skills.
    if you can help , please tell me how to implement a printscreen through a java program rather than a keyboard.
    I'll be very grateful to you if you can help me in this regard, but please dont send a dissapointing response like the previous one.
    mail: [email protected]
    </pre>

  • Tcode for line item settlement other than tcode CJIC

    Dear SAP Guru,
    Please let me know the tcode for line item settlement other than tcode CJIC.
    Required urgently.
    Thanks & regards,
    Pradip Shelke

    Thanks for your reply.
    Actually we are trying to create the BDC program for line item settlement. Through both the tcode CJIC & CJ70 this BDC program is not getting created.
    So please suggest some other tcode.
    Thanks & Regards,
    Pradip Shelke

  • Photoshop elements quit working, I uninstalled it, tried to re-install using the cd, but getting errorPhotoshop elements quit working, I uninstalled it, tried to re-install using the cd, but getting error, any other way to re-install it without the disk ?

    Photoshop elements quit working, I uninstalled it, tried to re-install using the cd, but getting error, any other way to re-install it without the disk ?

    Yes.
    Download Photoshop Elements products | 13, 12, 11, 10
    However, the real issue is why the program is not working. Did you install anything recently?
    When you tried to re-install from the disk, did you shut off the antivirus program temporarily?
    Have you tried a system restore to a point in time when the program was working properly?

  • How we create workflow using sharepoint designer for first review the documnet than go for approve the document.

    Hi to all
    I have team site in site collection under this i have Shared Document library. Now i want to create the workflow for the shared Document library. How i will create workflow using sharepoint designer for first review the documnet than go for approve
    the document.

    Hi ,
    According to your description, my understanding is that you want to create a workflow which contains review and approval process.
    For implemening your requirement, you can create a workflow containing two steps. The first step is used to collect user information and set workflow variables, and the second step is used to verify whether the reviewer approve. If the reviewers complete
    approving, a pproval workflow is started. The whole workflow is like :
    More information, please refer to the links below:
    http://www.documentmanagementworkflowinfo.com/sharepoint-video-tutorials/create-document-review-workflow-sharepoint-designer-2007.htm
    http://office.microsoft.com/en-us/sharepoint-designer-help/watch-this-design-a-document-review-workflow-solution-HA010256417.aspx
    I hope this helps.
    Thanks,
    Wendy
    Wendy Li
    TechNet Community Support

  • Sync with music program other than itunes

    How do I sync music to my ipod nano using a music program other than itunes. Please tell me the easiest way. I can't seem to figure it out. Thanks

    Maybe it might help if you told us what the other "music program" is?

Maybe you are looking for

  • Audio-tracks delayed

    With my *Digi 003 rack* and *Logic Studio Pro 8.0.2* I suddenly have recorded audio-tracks delayed when played back. If I play a guitar right on click and play it back, it is totally out of timing. Never had that one before. When I use the *Apogee Du

  • Photoshop Scripting - Saving doc as GIF, poor quality produced.

    opts.colorReduction = ColorReductionType.SELECTIVE; opts.dither = Dither.NONE; opts.quality = 100; opts.interlaced = true; opts.includeProfile = true; opts.matteColor = new RGBColor(); opts.matteColor.red = 255; opts.matteColor.green = 255; opts.matt

  • Call Screen

    Hi ALL, I have a stmt call screen 100 inside a subroutine.On this screen i have a continue button.When i press the continue button i want the stmts below this call screen 100 stmt and all other subroutines to be executed.I dont want to stop as soon a

  • Can't activate with serial number

    I was given a 30 digit serial number to activate photoshop elements 12, but the install asks for a 24 digit s/n.   After a long hold, chat (support) was no help and told me to contact the retailer.  It is Adobe's product, so why no support?   If I ca

  • Valuation type for two account category reference

    Hi Experts I created valuation type for 1)     DOMESTIC & IMPORT with account category reference 0001 (for raw material) it is applicable only with ROH material type. 2)     Same Valuation type DOMESTIC & IMPORT system donu2019t allow to create for o