Multiple JREs on the same machine

Hi all,
I face a problem with JREs on my compter. I had a java 6 so when I typed Java -version it shows everything is fine. Then I installed Java 4 as I needed to test a class, when I type java -version it shows java 4. I downloaded multiple java 6, but my computer still feels that it is still java4.
I don't know how to make my computer feels my new jre to run the new version of eclipse for example?
I tried from java under the control panel but this doesn't make any deffernece.
Any help, Thanks a lot,
amm

Assuming Windows.
When you install Java's JRE it places files in the directory Windows\system32 named java.exe, javvaw.exe, and javaws.exe. These files cause a certain Java version to be executed. The last version installed will overwrite the files placed there by earlier installs. Because the default system path of the computer lists this directory first in the pathlist, these files determine what Java version will be executed when you type a "naked " java command - ie, when you type "java <someClassName>."
To execute a different Java version, you need to type the full path to that version's java.exe, ie, "directory1\directory2\etc\java <someClassName>."
Each application (like Eclipse) has it's own rules and settings that will determine which version will be executed. You need to refer to the app's Help for that information.

Similar Messages

  • Restricting users to login multiple times on the same machine..

    Hi everyone,
    Is it possible to restrict the users to login multiple times on the same machine...did someone implemented this kind of process.Please help me how can i achieve this or any suggestions.
    Thanks in advance.
    Phani..

    Hello,
    I decided to answer you in the original thread - Identify currently active users – as I believe that the outline background of the issue is important to better understand it.
    Regards,
    Arie.

  • How to configure multiple clusters on the same machine.

    I am attempting to configure multiple clusters on the same set of machines. I have set the cluster name and multicase IP addresses to be different for each cluster. However I am still getting and error that states:
    "This indicates that there are multiple clusters on this network attempting to use overlapping network configurations."
    Is this not possible? If it is possible, is there some further way i need to tell the VMs they are part of different clusters?
    Thanks,
    Jacob

    FYI: I'm using the wrong multicast IP above. 224.0.0.1 is reserved and something else should be used. See:
    Re: UDP flood hosed my LAN?

  • Sharing one Aperture Library between multiple users on the same machine

    Is there a way of setting up Aperture so that two different users on the same machine have full rights to do everything?

    Ian,
    Thanks for the suggestion. It certanly better than nothing, but in my case there is no partition with permissions off and there are other users to whom I wouldn't want to give full rights to the library. As an alternative I thought of simply creating a special user and do all editing from it.
    At any rate, it would have been useful if Aperture had something like that built in - like a preferences option, where one could specify a MacOS group name, and Aperture would do all its file/folder create operations within a given library with setgid()/setegid() of that group and corresponding umask() to give rw permissions to that group. Not too hard to do, either.

  • Multiple users on the same machine using a common iTunes Library

    I'm running iTunes from my user profile in Vista, the songs are stores in a shared directory.
    My wife recently purchased an iPhone, so I decided to setup her phone under her user profile in Vista, so she could use her contacts out of outlook, this meant I had to setup iTunes for her. All the outlook contacts sync with her phone (no issues), but when I point the music library to the directory where I stored the music I can't see the library.
    I have searched under my user name and found the iTunes library.itl, this file in my user directory, not accessible when I wife is logged into her account.
    Is there any way to have different user profiles on the same machine access the same music library in iTunes. So when I purchase music under my account and download it to the library, my wife's iTunes will also see the music, I'm okay if I have to do a manual sync, under her iTunes..

    Move the \Music\iTunes\ folder to a Shared directory.
    Hold Shift and launch iTunes.
    Select *Choose library* and select the _iTunes library.itl_ file in the \iTunes\ folder in the Shared directory.
    Quit iTunes then let yoru wife log in and hold Shift and launch iTunes.
    Select *Choose library* and select the _iTunes library.itl_ file in the \iTunes\ folder in the Shared directory.

  • Log4j in multiple clusters in the same machine

    Hi,
    i use log4j and i'm having some problems with my log files. I have two clusters in the same machine. How can i have the logs independent of each other. Now i have one cluster jamming the log of the other cluster. I want this doesn't happen, i want they log separately. How can i do it?
    Many thanks in advance,
    Nuno

    nfalmeida wrote:
    Hi,
    i use log4j and i'm having some problems with my log files. I have two clusters in the same machine. How can i have the logs independent of each other. Now i have one cluster jamming the log of the other cluster. I want this doesn't happen, i want they log separately. How can i do it?
    I hope you have configuration files that configure log4j? The applications/clusters shouldn't use the same configuration.

  • Multiple Instances on the same machine: Several IP Addresses

              Hi all, I want to set up several instances of WL on the
              same server. These instances will be clustered. I am
              using Apache for the WebServer. Here the configuration
              I used: I first change the weblogic.conf file in Apache
              to set up the bridge.I restart apache using apachectl.
              Then, on the WebLogic site, I created a new ipadress
              using ifconfig hme0:1 ip adress ... I created a file
              hostname.hme0:1 in /etc I added this Ip address in /etc/hosts.
              I added this Ip address in the mycluster DNS. I wanted
              to start both WL manually using startWebLogic.sh file
              to see the log file. So, I first assign hostname to WL1.
              Then start WL. I opened an other terminal. Assign the
              hostname to WL2. Then start using startWebLogic.sh. The
              first instance started correctly.When the second started,
              there was an error: when listening to the port 7001,
              this port was already used. That was the same with the
              port 7002.
              Then , my question is How is it possible to configure
              several instances on the same machine using several ip
              addresses and one port. Thank you for your help. Erwan
              

              Please try -Dweblogic.system.bindAddr=<a.b.c.d> in your startWebLogic.sh.
              Brian
              "Merg" <[email protected]> wrote:
              >> Then , my question is How is it possible to configure
              >> several instances on the same machine using several
              >ip
              >> addresses and one port. Thank you for your help. Eourwan
              >
              >On Win2K/WinNT you can assign several IP adresses to you
              >NIC. (Advanced
              >TCP/IP options.) Each server instance has to run on it's
              >own port.
              >
              >Regards,
              >Merg
              >
              >
              

  • Can I use FCX for multiple users on the same machine?

    I have one mac pro, and two video cmpanies. I have two users on my machine and would like to set up two different final cut x workplatforms. Is that possible?

    Of course, you can use FCP X from two different user accounts on your machine. The question here, I believe, is how to separate the content that each user accesses.
    One obvious way to achieve that would be to store the content in the system disk - that would put events and projects in each user's Movies folder. But that is a bad option, for performance reasons, and more.
    You could have separate external disks for each user to store his content.
    Also, you could use different disk images which could, say, be all stored in the same internal (but not system) drive.

  • Setting up a shared library for multiple accounts on the same machine

    I am in idiot. I can't figure it out. This is exactly what I did.
    1 - I set up multiple accounts on the computer. 1 for me and another for my wife.
    2 - I loaded all the music into my account's public folder.
    3 - I set the default folder in both hers and mine iTunes for this Public folder
    4 - I then opened iTunes in my account and none of the songs were showing up so I dragged the folder into iTunes and it did its business. Now my account is all set.
    Here are my questions:
    A - Do I need to drag the folder into my wife's account iTunes as well?
    B - If either of us add music when logged in, will it automatically update in the other iTunes interface or is there something specific that needs to (manually) be done?

    Doing it the way you did, you each have your own iTunes library file and are using the same iTunes music folder.
    Changes by one will not be seen by the other and any new music added by one will have to be added to the library by the other.
    Also, if one deletes music, it will be in teh library for the other but it will not be playable because the other person deleted it in the iTunes music folder.
    Launch iTunes, then immediately press and hold Option, then select *Create new library*.
    Create one in Users/Shared.
    Quit iTunes.
    Move all your music into the new /Users/Shared/iTunes/iTunes music folder.
    Login to your Wife's computer account.
    Move all her music into the new /Users/Shared/iTunes/iTunes music folder.
    On her account, launch iTunes, then immediately press and hold Option, then select *Choose existing library*.
    Select the _iTunes library file_ in /Users/Shared/iTunes.
    In iTunes, File -> Add to library and select the iTunes music folder in /Users/Shared/iTunes.
    All the music will be there.
    Quit iTunes and log out of her account and back into your account and launch iTunes normally.
    All music will be there.
    You should go to /Users/Shared/iTunes folder and right click - get info, click *Ownership & Permissions*. Set *You can* to *Read & Write* and set Others to *Read & Write*.
    Click *Apply to enclosed items*.
    Any changes (new/deleted music, ratings, playlists, etc.) by one will be seen by the other sionce you are using the same iTunes library file.
    Only one person can have iTunes open at a time. If you use Fast User switching, one will need to quit iTunes before the other can use it.

  • Running Multiple JDKs on the Same Machine

    I've been developing with the 1.4.2_07 JDK, but my company is moving to the 1.5.0 JDK as the new standard for our product. Of course, we're going to continue supporting the 1.4.x JRE as a deployment platform for the near term.
    As a developer, I'm going to need to have both JDKs installed, side-by-side so that I can use both of them in my development/testing cycles. So I just downloaded and installed the 1.5.x JDK, and I defined the following environment variables:
    JAVA_HOME_1_4 = C:\j2sdk1.4.2_07
    JAVA_HOME_1_5 = C:\Program Files\Java\jdk1.5.0_02
    JAVA_HOME = %JAVA_HOME_1_4%
    In theory, I should now be able to switch JDKs just by changing my JAVA_HOME variable to %JAVA_HOME_1_5%.
    Easy as pie.
    Unfortunately, that doesn't work, because the 1.5 JDK installs a number of registry keys which hard-code the current java version. So, even when I have JAVA_HOME set up to point to the 1.4.x JDK, running "java -version" at the commandline indicates that the 1.5 java is being called.
    I'd like to suggest to Sun that, in the future, there should be a generic, version-independent launcher that reads in the JAVA_HOME variable at runtime and calls the appropriate binaries and the appropriate runtime libraries.
    Having to futz around with the registry every time I want to switch my development environment is a big hassle.
    --BenjiSmith                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

    I've been developing with the 1.4.2_07 JDK, but my
    company is moving to the 1.5.0 JDK as the new
    standard for our product. Of course, we're going to
    continue supporting the 1.4.x JRE as a deployment
    platform for the near term.
    As a developer, I'm going to need to have both JDKs
    installed, side-by-side so that I can use both of
    them in my development/testing cycles. So I just
    downloaded and installed the 1.5.x JDK, and I defined
    the following environment variables:
    JAVA_HOME_1_4 = C:\j2sdk1.4.2_07
    JAVA_HOME_1_5 = C:\Program Files\Java\jdk1.5.0_02
    JAVA_HOME = %JAVA_HOME_1_4%
    In theory, I should now be able to switch JDKs just
    by changing my JAVA_HOME variable to
    %JAVA_HOME_1_5%.
    Easy as pie.
    Unfortunately, that doesn't work, because the 1.5 JDK
    installs a number of registry keys which hard-code
    the current java version. So, even when I have
    JAVA_HOME set up to point to the 1.4.x JDK, running
    "java -version" at the commandline indicates that the
    1.5 java is being called.
    I'd like to suggest to Sun that, in the future, there
    should be a generic, version-independent launcher
    that reads in the JAVA_HOME variable at runtime and
    calls the appropriate binaries and the appropriate
    runtime libraries.
    Having to futz around with the registry every time I
    want to switch my development environment is a big
    hassle.
    --BenjiSmithI've tried the same approach, but abit different
    first - deleted java.exe and javaw.exe from %SystemRoot%\system32
    Then set the following (All vars are system ones)
    JAVA_HOME=D:\sun\jdk1.5.0_04
    JAVA_HOME_1.4=D:\sun\j2sdk1.4.2_08
    JAVA_HOME_1.5=D:\sun\jdk1.5.0_04
    JAVA_HOME_BIN=%JAVA_HOME%\bin
    PATH=%JAVA_HOME_BIN%;...
    Now by switching JAVA_HOME we should get it right
    but,
    it appears that xp recognizes the new values for vars only upon rebooting.
    Also, you can see all current vars by typing set in cmd
    More over, I thought that maybe it'd work if I just simply logout/login back, and it did but strangely the var while JAVA_HOME showed a new value, JAVA_HOME_BIN had the previous one.
    HMM...

  • Can we have multiple IE in the same machine to access IC Webclient ?

    Dear expert,
    I have a question here. Can we access IC Webclient if our computer have multiple IE ( E.g IE 6 & IE 7 ). Currently the client computer have multiple IEs in the computer by using Tredosoft product. The environment of the system is as below :
    Server environment :
    1. Windows 2003 server Enterprise Edition
    2. SAP Netweaver 2004s SPS9
    3. SAP CRM 5.0 (ABAP & Java stack)
    4. SAP Enterprise Portal 7.0
    Client PC :
    1. Windows XP Profesional SP2
    2. Java Runtime Environment 1.4.X
    Your help is much appreciated

    Hi Ku Izrul Hadi Ku Hilmy ,
    For the Webclient to run you just need a browser. It will work on IE06/07 . Just the thin client should be properly configured. As far as the requirements put down by you is concerned I dont think so there should be any problem for the webclient to run from the client side.
    Reward useful answers,
    Regards,
    Shrita Sharma.

  • Two JREs in the same machine

    Hi.,
    I had problems with two different version of JRE.I have an applet that works well in JRE1.4. Now I had a different applet that will be working only on 1.2.x.Is it possible to switch the JREs depending on the context through the html(where the applets are embedded).I know through control panel we can change the JRE setting manually.

    No - you have to adjust PATH and CLASSPATH, JAVA_HOME, etc environment variables to point to the desired version locations and libraries. If you have any other hard-coded locations/files/directories in your code that is version-specific, they'll also need changing.
    This is most easily done by building a script (.bat file, etc) that would be run prior to the applet startup to adjust the machine environment and parameters.

  • Installing Office across multiple users on the same machine

    I have two user accounts on a MacBook Pro and need to install Office 2011 on both user accounts.
    The software is suggesting I download it twice, once for each user, which seems a waste of storage space. Is there a way to give both users access to the software?

    You don't need to install it twice

  • File sharing across multiple user accounts on the same machine

    Hello,
    I try to figure out how multiple users (my wife and I) on the same mac can have equal access to files on the local drive without granting that access to all users on that machine or even the rest of the world.
    My research sofar hasn't come up with a satisfying solution. Here are the solutions that I am looking at:
    1. Enable a permission system that ensures access to both users in all cases (file/directory creation, copy and move).
    I only found a suitable solution for creating and copying files/directories but not for moving them.
    See the following articles for reference:
    https://discussions.apple.com/message/20787617#20787617 Setting up a shared structure that works e.g. for iPhoto Library but not for moving files to and from
    https://discussions.apple.com/message/4005647#4005647 Helpful information on POSIX Permissions, ACL's an Permission inheritance
    This would be my first choice if I can get around the problem of moving files...
    2. Disk Image
    Create a disk image which ignores persmissions and set permissions for the file that contains the image instead.
    Read this article to get further details: http://support.apple.com/kb/HT1198
    This solution will work but has a few disadvatages:
    There's no mutual access from multiple user accounts since an image may only be mounted by one user at a time.
    One has to create a startup script that mounts the image upon login which would create a first come first serve for access to the image content.
    3. Using a file sharing protocol (e.g. afp or smb) locally.
    The idea behind it is to have a server providing the files mutually to multiple users one the same machine. At them moment this seems to be the most promising approach to me.
    Unfortunately I can get acces from another machine but not from the same machine. Has anyone ever tried to access the file sharing (afp or smb) from the same machine on which the server is located?
    Has anyone got some helpful hints for me?
    Thanks in advance.

    Sorry, but you didn't specify details, and it was worth checking whether or not you had overlooked this approach.
    The problem you're having (as I suppose you already know) is that any new disk item inherits the permissions of the folder it is originally created in in.  These permissions (sensibly enough) need owner or administrator permission to change once they've been established; that will happen when you copy a file to a new location (because that's essentially creating a new file) but not when you move it. any of the following would work:
    changing the permissions on newly created files for both users so that they all explicitly give r/w access to a particular group.
    writing a droplet that would change the permissions of files dropped on it and move them programmatically to the shared folder
    set up a folder action or launchd job that would watch the shared folder and automatically convert permissions on files placed in it.
    The last would be the approach I would take, but...  which appeals to you?

  • Limit FPS of multiple instances of vmware on the same machine not over IP

    Issue: How can I limit the fps of multiple vmachines on the same machine? (not over IP)
    I want to run several vmachines on the same physical machine and limit their fps. I'm aware it can be done with PCoIP but this is not over the network.
    This is for non commercial use.
    Thanks.

              Please try -Dweblogic.system.bindAddr=<a.b.c.d> in your startWebLogic.sh.
              Brian
              "Merg" <[email protected]> wrote:
              >> Then , my question is How is it possible to configure
              >> several instances on the same machine using several
              >ip
              >> addresses and one port. Thank you for your help. Eourwan
              >
              >On Win2K/WinNT you can assign several IP adresses to you
              >NIC. (Advanced
              >TCP/IP options.) Each server instance has to run on it's
              >own port.
              >
              >Regards,
              >Merg
              >
              >
              

Maybe you are looking for

  • Custom error in outbound idoc FIDCC1

    Hi all, I am generating outbounds idocs for FI documents and i need to put some of them in error. I need the FI Document created and the idoc in error so that i can reprocess it later. To do that i am using the User Exit EXIT_SAPLF050_007 Enhancement

  • How can I stop recieving notifications for shared calendars?

    How can I "mute" my whife's calendar? I want to see it, but not recieve her reminders and notifications. She has the same problem, she don't need to geet a pop up every time I have a meeting. Is there a way to "mute" shared calendars?

  • Content target link opens in a new window!!

    hi i'm designing this HTML website with dreamweaver 8, it's a frameset devided into 3 frames top frame(navigation) , left frame (ads) and right/middle frame (content frame) and i have the flash navigation menu placed on the top frame, when a link is

  • Batch Number in Proforma Invoice

    Hi All, Our customer has a requirement for proforma invoice for order in export sales and they want to give a batch number and want to see it in proforma invoice before delivery. Is it possible to do it? and how to maintain it if it is possible? Than

  • Moving Rented movies from computer to ipod

    I need some help. I have a one year old ipod classic. I cannot seem to move rented movies from my computer to my ipod. When I plug my ipod to my computer and hit the movie tap, I do not see the movie. The move is showing on my computer, but it does n