Results 1 to 3 of 3
  1. #1
    isotoper is offline Member
    Join Date
    Dec 2009
    Posts
    2
    Rep Power
    0

    Default How to associate couple of programs, each to its needed java .

    Hello,
    We have about 6 products who uses java.
    Every product needs its own java version and distributor (java sun, java IBM ...).
    How should I configure that every program will get and use the specific java it needs ?


    Thanks !!

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

    Default

    Quote Originally Posted by isotoper View Post
    We have about 6 products who uses java.
    Every product needs its own java version and distributor (java sun, java IBM ...).
    How should I configure that every program will get and use the specific java it needs ?
    Create a .bat file (or a simple script if you're on *nix) that starts the correct jvm. The os can't do it because it starts the same jvm for all .class or .jar files ...

    kind regards,

    Jos
    cenosillicaphobia: the fear for an empty beer glass

  3. #3
    Norm's Avatar
    Norm is online now Moderator
    Join Date
    Jun 2008
    Location
    SW Missouri
    Posts
    17,259
    Rep Power
    25

    Default

    Another way to chose the jvm to use would be to configure the RightClick context menu (in Windows) to use the desired java command.

Similar Threads

  1. How to make 11 java programs into one.
    By decgaid06 in forum New To Java
    Replies: 6
    Last Post: 03-29-2011, 06:23 PM
  2. Couple questions about Java
    By theadolescent in forum New To Java
    Replies: 3
    Last Post: 05-19-2010, 02:13 AM
  3. Sun Certified Java Associate
    By seedfox in forum Java Certification
    Replies: 4
    Last Post: 07-08-2009, 11:12 AM
  4. How do I associate a enum variable with an int?
    By frasifrasi in forum New To Java
    Replies: 2
    Last Post: 07-12-2008, 01:37 AM
  5. Java assignment - couple methods don't know how to figure out
    By Snowboardmylife in forum New To Java
    Replies: 1
    Last Post: 04-16-2008, 10:52 AM

Posting Permissions

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