Results 1 to 17 of 17
Like Tree1Likes
  • 1 Post By Tolls

Thread: Java on VM

  1. #1
    mademoiselle is offline Member
    Join Date
    Mar 2012
    Posts
    21
    Rep Power
    0

    Default Java on VM

    Is it possible to have my java program run on my VM. I am using vmware workstation and I would like to have my program run on my host machine(vm) instead of my local(desktop), how would I go about this?

  2. #2
    maca is offline Member
    Join Date
    Jul 2014
    Location
    UK
    Posts
    16
    Rep Power
    0

    Default Re: Java on VM

    Yes. But, for clarification, the OS running inside the virtual environment is usually known as the guest OS, whereas the OS running the virtual environment is known as the host OS. For example, if you have a machine that is natively running Windows and you want to run a Linux VM, then Windows would be the host and Linux would be the guest. This is the definition that I will use for the rest of this short message.

    All you need to do, is install Java runtime environment on the guest OS. Without knowing any more about your set up, it isn't really possible to give any more information.

  3. #3
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,275
    Rep Power
    6

    Default Re: Java on VM

    Quote Originally Posted by maca View Post
    All you need to do, is install Java runtime environment on the guest OS. Without knowing any more about your set up, it isn't really possible to give any more information.
    And make sure the guest OS has access to the actual Java application to be run inside the Java runtime that is running inside the VM of course.

    I don't get why this question needs to be asked, how is this any different than running say a Linux OS in a VM and then running Linux applications in the Linux guest OS? That's the whole point of using a VM, to be able to run applications that are built for another OS inside it.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  4. #4
    mademoiselle is offline Member
    Join Date
    Mar 2012
    Posts
    21
    Rep Power
    0

    Default Re: Java on VM

    Quote Originally Posted by gimbal2 View Post
    And make sure the guest OS has access to the actual Java application to be run inside the Java runtime that is running inside the VM of course.

    I don't get why this question needs to be asked, how is this any different than running say a Linux OS in a VM and then running Linux applications in the Linux guest OS? That's the whole point of using a VM, to be able to run applications that are built for another OS inside it.
    Maca, thank you for getting back to me i appreciate it, i will get back to you with further details.

    Gimbal2, this is not the first time you are responding to any of my post and your responses can be <insert appropriate word of your choice here>
    if you feel at any point what i post should not be posted , or is not worth a response, then please kindly do not respond to it, instead of responding and chucking in your "cheeky" remarks:I don't get why this question needs to be asked

    I get that you are Mr Clever and know it all when it comes to java. I am learner, i ask questions so that i can learn, i am pretty sure you did not come into this world a born java expert!! so please kindly allow me the opportunity to learn like you did. Thank you

  5. #5
    mademoiselle is offline Member
    Join Date
    Mar 2012
    Posts
    21
    Rep Power
    0

    Default Re: Java on VM

    Quote Originally Posted by maca View Post
    Yes. But, for clarification, the OS running inside the virtual environment is usually known as the guest OS, whereas the OS running the virtual environment is known as the host OS. For example, if you have a machine that is natively running Windows and you want to run a Linux VM, then Windows would be the host and Linux would be the guest. This is the definition that I will use for the rest of this short message.

    All you need to do, is install Java runtime environment on the guest OS. Without knowing any more about your set up, it isn't really possible to give any more information.
    Maca,

    My desktop is running windows 7. I am using VMware workstation, i have several vms running: RH6, windows 2008 and windows 2012, Why?I use them for testing purposes. My java program is currently running on my desktop windows 7. What does the program do? It connects to an ftp site , downloads reference boxes , unzips these directories and runs a configure.exe file. instead of this running on my desktop i would ideally like for this to run on my virtual machines, this is for testing purposes, when i am fully satisfied, these programs will run on dedicated VM's.

  6. #6
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,275
    Rep Power
    6

    Default Re: Java on VM

    Quote Originally Posted by mademoiselle View Post
    Maca, thank you for getting back to me i appreciate it, i will get back to you with further details.

    Gimbal2
    if you feel at any point what i post should not be posted , or is not worth a response, then please kindly do not respond to it, instead of responding and chucking in your "cheeky" remarks:I don't get why this question needs to be asked
    It is a serious question, not a cheeky response. That you assume I am being mean to you is actually your own failure. Please don't do that again, it hurts my feelings.

    Worth reading in your case: http://www.catb.org/esr/faqs/smart-q....html#keepcool
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  7. #7
    mademoiselle is offline Member
    Join Date
    Mar 2012
    Posts
    21
    Rep Power
    0

    Default Re: Java on VM

    Quote Originally Posted by gimbal2 View Post
    It is a serious question, not a cheeky response. That you assume I am being mean to you is actually your own failure. Please don't do that again, it hurts my feelings.

    Worth reading in your case: How To Ask Questions The Smart Way
    It is funny you point me to such an article. you should find one on being diplomatic and how to carry yourself in forums. this is not the first time you have responded in such a manner , and i did point that out to you in my first ever post in this forum. Your response was cheeky and that is how it came across. You clearly continue to respond in the above manner you cannot expect anything ebut responses that will not sit well with you or as you put it hurt your feelings. Surely if i ask a question you see as unsuitable or unworthy of an answer why do you bother responding to it?

  8. #8
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,733
    Blog Entries
    7
    Rep Power
    21

    Default Re: Java on VM

    @mademoiselle: you really should grow a thicker skin if you want to participate in technical forums like these forums here; Gimbal gives valuable advice more than often and I didn't notice anything 'cheeky' in this thread. It is all in the eye of the beholder.

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  9. #9
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,182
    Rep Power
    20

    Default Re: Java on VM

    Quote Originally Posted by mademoiselle View Post
    Surely if i ask a question you see as unsuitable or unworthy of an answer why do you bother responding to it?
    He didn't say it was unsuitable or unworthy. He was confused as to why it needed asking. When we see questions like that, it's usually an idea to point out that it seems an odd question, in case we're missing something. More often than not, we are.
    gimbal2 likes this.
    Please do not ask for code as refusal often offends.

    ** This space for rent **

  10. #10
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,275
    Rep Power
    6

    Default Re: Java on VM

    Well, I'll take some blame (again): I don't have a way with words so I can understand that I am misunderstood :/ Curse my Dutch "say what's on your mind" personality.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  11. #11
    mademoiselle is offline Member
    Join Date
    Mar 2012
    Posts
    21
    Rep Power
    0

    Default Re: Java on VM

    Quote Originally Posted by JosAH View Post
    @mademoiselle: you really should grow a thicker skin if you want to participate in technical forums like these forums here; Gimbal gives valuable advice more than often and I didn't notice anything 'cheeky' in this thread. It is all in the eye of the beholder.

    kind regards,

    Jos
    Thank you for your valuable advice I appreciate it, however this is not the first time he has done such go back to my very first post and read his remarks, I cannot see any valuable advice on there, and I cannot help but think he just likes taking a swipe at me due to my level of knowledge. I can appreciate you wish to defend him, but please kindly see my side of things, itís a forum for people to learn not one to take swipes at people. First post he told me to go and learn java Ö I barely know java yet I am trying to include networking in my code? Be fair and square when passing your judgement. If i asked the question it is clearly because i was seeking a solution and better understanding, maybe i am mistaken but correct me if i am wrong is this forum strictly for those who are excellent at java, the forum i posted this is in is new to java!! surely that says something Thank you .

  12. #12
    mademoiselle is offline Member
    Join Date
    Mar 2012
    Posts
    21
    Rep Power
    0

    Default Re: Java on VM

    Quote Originally Posted by gimbal2 View Post
    Well, I'll take some blame (again): I don't have a way with words so I can understand that I am misunderstood :/ Curse my Dutch "say what's on your mind" personality.
    Its like me making an excuse for being french and blaming my lack of knowledge on a language barrier?

  13. #13
    gimbal2 is offline Just a guy
    Join Date
    Jun 2013
    Location
    Netherlands
    Posts
    4,275
    Rep Power
    6

    Default Re: Java on VM

    Yeah, okay then. Some people are beyond help.
    "Syntactic sugar causes cancer of the semicolon." -- Alan Perlis

  14. #14
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,733
    Blog Entries
    7
    Rep Power
    21

    Default Re: Java on VM

    Quote Originally Posted by mademoiselle View Post
    First post he told me to go and learn java … I barely know java yet I am trying to include networking in my code? Be fair and square when passing your judgement.
    I'm fair and square about this: if I had read your thread a bit sooner, I woud've answered the same; especially in the beginners forum, people try to run before they can crawl. Network programming involves multiple threads and the entire IO framework and then some ... read some of the threads here and you'll see. You don't have to be excellent to post in this forum, but you should grow a bit thicker skin to post in this forum; it helps ;-)

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  15. #15
    JosAH's Avatar
    JosAH is offline Moderator
    Join Date
    Sep 2008
    Location
    Voorschoten, the Netherlands
    Posts
    13,733
    Blog Entries
    7
    Rep Power
    21

    Default Re: Java on VM

    Quote Originally Posted by gimbal2 View Post
    Well, I'll take some blame (again)
    And rightly so, because you are a malodorous pervert; your type makes me puke and you deserve to be slapped in the face with a large fish; so there :-P

    kindest regards,

    Jos (<-- assumes the fighting position with a halibut)
    cenosillicaphobia: the fear for an empty beer glass

  16. #16
    mademoiselle is offline Member
    Join Date
    Mar 2012
    Posts
    21
    Rep Power
    0

    Default Re: Java on VM

    Quote Originally Posted by JosAH View Post
    And rightly so, because you are a malodorous pervert; your type makes me puke and you deserve to be slapped in the face with a large fish; so there :-P

    kindest regards,

    Jos (<-- assumes the fighting position with a halibut)


    I fully understand why you are in support with his ever so welcoming remarks. You do not know my background vice versa so let's establish an element I respect before proceeding any further . I come from a very solid networking background If your side kick came onto a networking forum asking about a capture on wireshark my clever behind will not tell him go and learn more about osi, tcp/ip or udp and tell him about crawling before he can walk. I would point him in the right direction and send him a pm to fully understand where he is at with his understanding on networking and be of any assistance I could be. Not try and be clever and dismissive as you said you will do the same. We are different people and see things and interpret things differently if we all had the same thought process the world would be a better place don't you think? Let's agree to disagree this is taking up valuable forum space and time please allow those who are willing to help help as a forum moderator you should not be siding with another member as a moderator you should be neutral in such circumstances.

  17. #17
    Tolls is offline Moderator
    Join Date
    Apr 2009
    Posts
    12,182
    Rep Power
    20

    Default Re: Java on VM

    Just to check, did maca's post (and the first sentence of gimbal's) cover your problem?
    If not, then maybe we can steer this back to the thread topic for you?
    Please do not ask for code as refusal often offends.

    ** This space for rent **

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •