How do I specify the JRE i wish to use to Run an Application.

Hi Everyone;
Please bear with me if you read this before.
I have installed java 1.3.1 and java 1.4.1 in that order.
The JRE used by default is java 1.4.1
How do I specify the JRE I wish to use to Run an Application from a command prompt.
Example:
Java -something org.jboss.Main
help ??
Stephen

I was a lil embarrassed. I told my supervisor that the installation of java overwrites the JRE and that's that.
My supervisor took 10 minutes and went through it and found java.exe in the System32 file.
The java.exe file is found in guess where "C:/WINNT/System32/" folder how nice. C:/WINNT/System32/ is in the path. Not only that it's the first entry in the path. So when I execute java it is not using java.exe any one of the java files that I got from the java website.
So I don't have any control over the version.
Oh well;
That's life. That's 1 for my supervisor.
Stephen

Similar Messages

  • How can we launch the labview screen beyond other screens while running two applications on a same time

    Hi all,
     I need to run two applications in my system at same time. one of the application is labview. it is running in backside. the dialog boxes which i created in labveiew need to display in fron of all applications.... what should i do to do that.....any suggestions...
    thanks in advance
    Regards,
    Ragu 

    The easiest thing to do (but can be bad) is to make the LabVIEW window modal.  This will make it the front most window at all times, until the program stops executing.  As you can imagine if you don't have a way to close the window then you will be forced to kill LabVIEW through the taskmanager.
    To make window modal go to VI Properties (by right clicking the VI's icon) go to Window Appearance, click Customize, then under Window Behavior select Modal.
    The other more complicated solution is to use Dll calls to bring the window to the front.
    Message Edited by Hooovahh on 07-02-2009 08:44 AM
    Unofficial Forum Rules and Guidelines - Hooovahh - LabVIEW Overlord
    If 10 out of 10 experts in any field say something is bad, you should probably take their opinion seriously.

  • How can we specify the Mailbox for Notes?

    In Mail.app, how can we specify the Mailbox for Notes (where the new notes will be resided)? It is now 'On My Mac'. I wish to change to my IMAP Mailbox so it sync with my iPhone by just checking email (not by syncing on iTunes).
    Thanks in advance.
    Message was edited by: Ekapon

    You could use the DecimalFormat or NumberFormat to do the job.
    double number 1234.567;
    DecimalForamt df = new DecimalFormat("###.##");
    String s = df.format(number);or
    double number 1234.567;
    NumberFormat nf = NumberFormat.getNumberInstance();
    nf.setMaximumFractionDigits(2);
    /* if needed.
       nf.setMaximumIntegerDigits(value);
       nf.setMinimumFractionDigits(value);
       nf.setMinimumIntegerDigits(value); */
    String s = nf.format(number);I didn't test the codes but they should work. For more information, please consult the documentations.

  • How can I specify the default tab in a CHM Output?

    My company uses CHM-based help for some of its products. We build the CHM files from RoboHelp 9, and while these CHM files don't really have a full Index attached to them, the Index tab shows up in the output anyway. Unfortunately, we are suddenly seeing that when the CHM file is launched from our program, the Index tab is displayed by default. We'd rather have the Contents tab be the default look, especially considering that the Index does not exist.
    I have poked around into how you can specify a default tab for a CHM file, and the only information I have found suggests that using a CHM file creates a file (HH.dat) that specifies which tab should be displayed on a user-by-user basis, and that the last tab displayed when you close the CHM should be the first one displayed when you re-open it. While this is true if you open the CHM independent from the product, when you launch it from our program, it's all Index, all the time.
    So, my question is: How can I specify the default tab for a CHM file? Or, failing that, how can I excise the Index tab from my CHM output.

    Hi there
    This will be something up to your application developer to resolve. When s/he issues the call to open the CHM, there are parameters that may be used to always open with the desired tab "in front".
    Point your developer to the link below and advise that s/he is most likely interested in the section titled: Programming Tips.
    Click here to view
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • How do you include the jre in your installs?

    This is a fall back and punt question.
    My organization develops desktop (Swing) Java apps. To deploy, we have an install program that first runs the JRE install that you download from Sun's web site, then we copy our own jars and data files and so on to the user system. This "two step" approach works, but it's clumsy and ugly.
    How do others deploy the JRE? Do you have your customers run the JRE install themselves, automatically run it within your own install, or do you mix Sun's files in with your own and copy them all at one time? If the last, what do you do about registry entries? (As in, worrying about overwriting entries if the user has already installed a newer version of java, etc.) Are there other complications?
    I guess I'll just try it and see what happens, but if anybody has some helpful hints I'd be anxious to hear them.

    Instead of including the JRE install file and running it you could just include the JRE directory with your install program. (C:\Program Files\Java\j2re1.4.2_05 for example) This way you won't mess up any java installation that may already be on the target machine.
    Simply start your app with a batch or .exe file using a relative path to the java/javaw command. I use the following free program along with any standard installer:
    http://www.rolemaker.dk/nonRoleMaker/javalauncher/marner_java_launcher.htm

  • How do i specify the port form where i want to send the mails

    i have smtp server which by default has proxy at port 25.So i want to send the mails through some other port.So how can i specify the exact port in the bean(i am using a bean to send email) so that all the mails through that port.my machine is having public ip.so what i do is Properties prop = new Properties();
    prop.put("mail.smtp.host",hostname);but how do i specify the port name coz this sends the mail at port 25 by default.

    prop.put("mail.smtp.port",portnumber)

  • How can I specify the path in Form Builder 9.0

    Hi, everyone,
    could anybody tell me how can I specify the path in Form Buidler 9.0? there is problems when I want to attach library in form builder. thanks to Kuldeep RAwat and Natalia Vidal, I know I should specify the path, but I still don't know how to specify, how can I do?
    besides, when I run a form, sometime there will be a warnig:
    Please acknowledge message
    what's that meaning?
    thank you very much for your great help

    Shay Shmeltzer thank you very much for your so quickly response. I have modified the file and my form can run now!
    but, when I open my form, it always suggest me:
    FRM-10102: Cannot attach PL/SQL library TalbotStandard. This library attachment will be lost if the module is saved.
    so everytime I open my form, I must attach the library manully. I don't know the reason. do you know that or anybody else knows that? thank you very much!
    have a good weekend :-)

  • How can I specify the attribute AU_SIZE in OUI

    Hello,
    How can I specify the AU_SIZE when i create the disk group for OCR and Voting disk when i install the GI home.
    Basically i want to create the Disk group with AU_SIZE as 4MB when i create it Via OUI.I know I can edit the attributes when i do using ASMCA.But not sure about OUI.
    Please can someone guide me ?
    Regards
    Joe

    Hi Joe,
    Did you mean that i will need to move the OCR/voting **** to another diskgroup -> drop the one created during installtion -> recrerate the diskgroup with AU_SIZE as desired Yes.. you must move OCR, VOTING and ASM SPFILE to another diskgroup and recreate the diskgroup.
    Doc said : Oracle recommends that the allocation unit (AU) size for a disk group be set to 4 megabytes (MB).
    I do not see benefits to configure the AU SIZE 4MBytes for diskgroup that will store only Clusterware Files.
    The voting files are stored directly on ASM Disk (i.e not use AU SIZE). The OCR File and ASM SPFILE use AU SIZE, but are not frequently accessed (low I/O) and files are too small to configure AU to 4MBytes.
    Set AU SIZE makes a difference when you do need high I/O throughput. i.e: Used to Diskgroup that will store Datafiles.
    I recommend you read my point of view how to store VOTING Files, OCR and ASM SPFILE on ASM.
    Re: 3rd voting disk on nfs share
    Regards,
    Levi Pereira

  • How can we specify the number of decimals to be printed

    How can we specify the number of decimals to be printed
    such as "%5.2d" in C.
    Can anyone help me

    You could use the DecimalFormat or NumberFormat to do the job.
    double number 1234.567;
    DecimalForamt df = new DecimalFormat("###.##");
    String s = df.format(number);or
    double number 1234.567;
    NumberFormat nf = NumberFormat.getNumberInstance();
    nf.setMaximumFractionDigits(2);
    /* if needed.
       nf.setMaximumIntegerDigits(value);
       nf.setMinimumFractionDigits(value);
       nf.setMinimumIntegerDigits(value); */
    String s = nf.format(number);I didn't test the codes but they should work. For more information, please consult the documentations.

  • HT1277 how do i specify the default mail account

    how do i specify the default mail account if i have more than one accounts?
    Not to worry i have found the setting, thanks
    Message was edited by: Teli Proto

    hmmm.. I've been complaining about this to the engineers for over a year. The storage location should be chooseable as should there also be a backup feature (as in Addressbook and iCal).
    for those that want to change this... it would be cool for someone to write a non cryptic, complete 1,2,3 stepped procedure.
    That is.. exactly what do you change to what in the mail user preference file? And what do you use to change it.. text edit? "[ ]" heretofor = folder
    I would like to change my Mail storage location to the my [Documents] . Using Text Edit, I went into my user [Library], to [Preferences] and opened the com.apple.mail.plist and changed all the ~/Library/mail storage locations to ~/Documents/Mail
    lastly I moved the [Mail] that was in the [Library] to my [Documents].
    Didn't work. Restarting Mail got me into the guided set a new account (and as far as I can see there IS no way of not taking the guided set up as alledged above). There must be something, some built-in direction other than in the [Preferences] defaulting mail to be saved in the [Library] folder
    If someone has done this and been successful.. a 1,2,3.. list would be apprecaited... and please don't leave any details out. Thanks
    dual core Intel G5   Mac OS X (10.4.5)   Pismo powerbook specialist

  • How do i remove the songs from my iphone used to be easy with old version of itunes just unticked them but cant seem to find it any where on new version

    how do i remove the songs from my iphone used to be easy with old version of itunes just unticked them but cant seem to find it any where on new version

    how do i remove the songs from my iphone used to be easy with old version of itunes just unticked them but cant seem to find it any where on new version

  • From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?

    From two given tables, how do you fetch the values from two columns using values from one column(get values from col.A if col.A is not null and get values from col.B if col.A is null)?

    Hi,
    Use NVL or COALESCE:
    NVL (col_a, col_b)
    Returns col_a if col_a is not NULL; otherwise, it returns col_b.
    Col_a and col_b must have similar (if not identical) datatypes; for example, if col_a is a DATE, then col_b can be another DATE or it can be a TIMESTAMP, but it can't be a VARCHAR2.
    For more about NVL and COALESCE, see the SQL Language manual: http://docs.oracle.com/cd/E11882_01/server.112/e26088/functions119.htm#sthref1310
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only) for all tables involved, and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ: https://forums.oracle.com/message/9362002

  • How can I display the vendor associated with result of my running total sum

    I have a report that lists vendors with their most vecent order dates.  I need to set up a rotation so that the vendor with the latest order date is next to be selected.  I used the running total summary to pick the latest date.  How can I display the vendor associated with result of my running total summary?

    If your "latest" order date means the "oldest" order date, why don't you try this:
    Go to Report tab -> Record Sort Expert -> Choose your order date in ascending order
    This will make your oldest order your first record shown. 
    You can then create a running total count for each record.
    Lastly, in your section expert under conditional suppress X+2 formula, write this:
    {#CountRecords}>1
    The result will only show the oldest record in your report.
    I hope that helps,
    Zack H.

  • How can I map the composite_dn name with a composite in run time

    Hi All,
    I want to craete a report on number of total business and system faults with the help of Information Publisher in OEM 12c Cloud Control. I am fetching data from the table composite_instance_fault present in SOAINFRA schema. Below os my SQL statement:-
    select error_category,count(error_category) from prefix_SOAINFRA.composite_instance_fault where composite_dn=??EMIP_BIND_TARGET_GUID?? group by error_category
    Now I want to know that how can I map the composite_dn name with a composite in run time. When we fetch data from the repository we used to map target in rumtime by using ??EMIP_BIND_TARGET_GUID?? but here as I am not fetching data from repository, how can I map target in run time.
    On executing the above SQL statement its returing an empty table without any data.
    Please guide!!
    Thanks in Advance!!

    Hi,
    try something like this.
    Mike
    Attachments:
    Unbenannt 5_LV80.vi ‏12 KB

  • How can I see the information about a file used in a sequence?

    How can I see the information about a file used in a sequence?

    You can use pretty much any two or multiple button mouse on a Mac, right out of the box.
    I use this one: http://www.apple.com/mightymouse/

Maybe you are looking for

  • J2EE with Oracle ADF Exmple is not working

    Hi Guys I am using JDev 9.0.5.2 and just switch the new version In "Developing an End-to-End Web Application Using the Default Technology Scope" example there is a problem when i Click Edit Link, EditDepartment Page is not opening also try to deploy

  • For Forum Admin: Problem with this forum editor

    The editor has been adding spaces in words for a while. Is there a way to correct so that our code appears properly?

  • ALV HANDLE_DATA_CHANGED_FINISHED

    Hi ,    I have to capture change on ALV cells  , I am using HANDLE_DATA_CHANGED_FINISHED    but  this  event gets triggered only after hitting ENTER or other user commands. I wan to avoid  Hitting  ENTER  and other user commands to trigger HANDLE_DAT

  • 3D vector plot

    Hi, I am performing a CNC machine tool capability study.  I have measured a vertical, 3 axis (x,y,z) milling machine in all three axes using a laser measurement system.  The data I have recorded is target position vs actual machine position.  A good

  • Time Machine and Accessing iPhoto library on an external HD

    Hi I am new to Time Machine.  I didn't see a community for it, so I am posting here. I have TIme Machine set to backup to an external HD (Clickfree).  When I check on the iphoto library stored on the HD for the TIme Machine, I am unable to open the l