Several JDK:s on the same computer?

Is it possible to run several JDK�s on the same machine (and JRE�s)?
I have this problem: I�m doing some J2ME development, but JDK 1.5 does not seem to be supported at least with MIDP 1.03 (or vice versa...). So, in order to be able to do J2ME development with MIDP 1.03 I need to install JDK 1.42, in other words downgrade from JDK 1.5. On the other hand, I need 1.5 for some "normal" programming for the pc. Also I would like to run the newest JRE plugin for the browsers.
So, can I install both 1.42 and 1.5 JDK�s on the same machine, as well as both JRE�s 1.42 and 1.5? Will this cause problems and conflicts?
If this is possible, how should I set up the installations so that the browsers would use the newest version of JRE, and so that pc development would use the 1.5 version, and finally the J2ME development would use the 1.42 version?
Thanks in advance,
Tomi

Yes, you can have both.
First, whichever one you want to be 'default' (the JRE you want the browser to use), you should install second. So, for instance, you want the browser to use the 5.0 JRE, so you would install Java 1.4.2, then Java 5.0. The you would make sure that your OS' PATH variable includes that version's bin directory (both JRE and JDK).
Now, when you are doing J2ME developement, or other actions that need to use 1.4.2, you will have to specify the bin directory for the 1.4.2 directly. For example, run the program with:
c:\java\jre1.4.2\bin\java -cp ... ...
and the same for compiling:
c:\java\jdk1.4.2\bin\javac -cp ... ...
I am not particularly sure how to set the compiler to use for J2ME, if you find problems doing this, then try to reverse just the order of the JDK install:
Install JDK5.0 first, then JDK 1.4.2, set the JDK 1.4.2 as the JAVA_HOME and inside the PATH.
But keep the JRE5.0 as the default runtime.

Similar Messages

  • Keeping multiple domain.sites on the same computer

    Based on reading the help info, it seemed that if I had several domain.sites in DIFFERENT folders, I could open them separately and thus keep several different sites on the same computer (which I want to do to keep my student's work). However this doesn't seem to work. Even if I rename the "main site" (in application support) something else, like domainX.site, the copy domain.site which I have on my desktop (or in another folder) remains in sync. It doesn't matter which I change, they both remain the same. So I do not see how I can do what I need to do . . . any suggetions? I am using iweb 06

    Select the domain file hit command(Apple)+d
    The two domain files (domain.sites and domain copy.sites) are completely independent from each other.
    To edit one of the two simply double click it.
    If you duplicated the domain files (command(apple+d)) changes to one will not apply to the other.
    Regards,
    Cédric

  • I tried to install yosemite yesterday and my computer goes through the whole installation process and then to a blank white screen.  I've rebooted, I've reinstalled several times and get the same result.  Two days wasted!

    I tried to install yosemite yesterday and my computer goes through the whole installation process and then to a blank white screen.  I've rebooted, I've reinstalled several times and get the same result.  Two days wasted and I can't use my computer!!

    I don't know if you've already resolved your problem, but I had the same thing, it took me 6 hours to fix it. I had the exact same as you, installed the update and then it went to a white screen. After trying start up holding down cmmd r or holding down the alt key to try to install it again, nothing worked, same result every time. Then an angel came to me here somewhere but I can't find it now to thank him. Start in safe mode, press shift once you hear the start up chime and hold it down until you hear it again. Installation completion box came up and it was working. turn off computer and start up again normally and all is well. Except my final cut pro x doesn't work with it, have to update that now too. same as when I updated to mavericks.
    Hope this helps.

  • Application Builder Question: how to install several applications in the same computer?

    Hello,
    I have two LabView applications and its installers, all of them generated with the aplication builder. Both works fine: I can install them in several computers without LabView. But when I try to install both in the same computer, the result is that I only have the last application I've just installed. I want to get the two applications installed at the same time in the computer. Is it possible? Anyone can help me?. I'm using LabView 2009 SP1
    Thanks in advance

    aespin wrote:
    Exactly that. I'm triyng with several options in the Application and Installer builder, but it seems it does not work
    It works quite well. We have installed over a dozen different applications on the same computer. I suspect you have something configured incorrectly in your installers and possibily the builder itself. We would need to see those to see what is not correct. One possibity is that your builds are generating the same GUID for the applications. Therefore even though the names are different the installer thinks they are the same thing.
    Mark Yedinak
    "Does anyone know where the love of God goes when the waves turn the minutes to hours?"
    Wreck of the Edmund Fitzgerald - Gordon Lightfoot

  • HT1212 my ipad got disable bcoz of entering wrong password for several time and i got the above method but what if i dont have the same computer which i used to sync my ipad

    my ipad got disable bcoz of entering wrong password for several time and i got the above method but what if i dont have the same computer which i used to sync my ipad

    How can I unlock my iPad if I forgot the passcode?
    http://www.everymac.com/systems/apple/ipad/ipad-troubleshooting-repair-faq/ipad- how-to-unlock-open-forgot-code-passcode-password-login.html
    iOS: Device disabled after entering wrong passcode
    http://support.apple.com/kb/ht1212
    How can I unlock my iPad if I forgot the passcode?
    http://tinyurl.com/7ndy8tb
    How to Reset a Forgotten Password for an iOS Device
    http://www.wikihow.com/Reset-a-Forgotten-Password-for-an-iOS-Device
    Using iPhone/iPad Recovery Mode
    http://ipod.about.com/od/iphonetroubleshooting/a/Iphone-Recovery-Mode.htm
    Saw this solution on another post about an iPad in a school environment. Might work on your iPad so you won't lose everything.
    ~~~~~~~~~~~~~
    ‘iPad is disabled’ fix without resetting using iTunes
    Today I met my match with an iPad that had a passcode entered too many times, resulting in it displaying the message ‘iPad is disabled – Connect to iTunes’. This was a student iPad and since they use Notability for most of their work there was a chance that her files were not all backed up to the cloud. I really wanted to just re-activate the iPad instead of totally resetting it back to our default image.
    I reached out to my PLN on Twitter and had some help from a few people through retweets and a couple of clarification tweets. I love that so many are willing to help out so quickly. Through this I also learned that I look like Lt. Riker from Star Trek (thanks @FillineMachine).
    Through some trial and error (and a little sheer luck), I was able to reactivate the iPad without loosing any data. Note, this will only work on the computer it last synced with. Here’s how:
    1. Configurator is useless in reactivating a locked iPad. You will only be able to completely reformat the iPad using Configurator. If that’s ok with you, go for it – otherwise don’t waste your time trying to figure it out.
    2. Open iTunes with the iPad disconnected.
    3. Connect the iPad to the computer and wait for it to show up in the devices section in iTunes.
    4. Click on the iPad name when it appears and you will be given the option to restore a backup or setup as a new iPad (since it is locked).
    5. Click ‘Setup as new iPad’ and then click restore.
    6. The iPad will start backing up before it does the full restore and sync. CANCEL THE BACKUP IMMEDIATELY. You do this by clicking the small x in the status window in iTunes.
    7. When the backup cancels, it immediately starts syncing – cancel this as well using the same small x in the iTunes status window.
    8. The first stage in the restore process unlocks the iPad, you are basically just cancelling out the restore process as soon as it reactivates the iPad.
    If done correctly, you will experience no data loss and the result will be a reactivated iPad. I have now tried this with about 5 iPads that were locked identically by students and each time it worked like a charm.
    ~~~~~~~~~~~~~
    Try it and good luck. You have nothing more to lose if it doesn't work for you.
     Cheers, Tom

  • Sharing Itunes Library with several users on the same computer

    Hi,
    I'm trying to share the iTunes library on a SP2 system. I placed the Itunes folder on a partition and setted iTunes to use this folder in each user account but...
    When one add musics to the library, thoses musics are not visible once switched to another user account.
    How to really share the same library with several user accounts one the same machine ?
    Thanks

    Note that Otto42's post is from March 2006. This is way before iTunes 7, which allows you to move the iTunes folder.
    His steps will work but are much too involved and unneeded.
    Rather than using TweakUI (and possibly messing up something), just move the entire iTunes folder to a shared directory and hold Shift when starting iTunes, then select Choose library and go to the iTunes folder.
    All changes made by any user will be to all users.
    Note that only one user at a time will be able to access iTunes.

  • Is it possible to sync several iphones on the same computer?

    hi everyone! is it possible to sync 3 iphones and 1 pad on the same computer with different itunes acccounts?

    You must use different user accounts for each one with a different account

  • HT1351 I have an IPOD that has not been synced to Itunes for several years. I no longer have the same computer or e-mail address.  How can I sync my old IPOD material to my new itunes account?

    I have an older IPOD that has not been synced to Itunes for seceral yeras. I no longer have the same computer or e-mail address. How can I sync my old IPOD material to my new Itunes account?

    Your email address (used as your Apple ID) does not matter, because iPods are not directly linked to a particular Apple ID. 
    NOTE:  You can still use your old Apple ID, even if your that email address is no longer valid.  As long as you remember your Apple ID password.  Go here and click on Manage your Apple ID.
    https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/
    You can change the primary email address used by Apple, although the Apple ID remains the same.
    Back to the iPod.  iTunes syncing is generally in one direction only, from the computer's iTunes library to the iPod.  You cannot use iTunes to transfer song files from iPod to computer, except for songs purchased from the iTunes Store.  However, there are third-party methods and utilities that can transfer from iPod to computer.  If you do an Internet search on something like "ipod transfer," you should get some links.  (The CNET article seems to be popular.)
    Once the song files are on your computer's drive, you can add them to your new iTunes library.  After confirming everything is there, sync your iPod to that library.  If there is any content purchased from the iTunes Store that uses DRM (copy protection), such as audiobooks, videos, and very old song purchases, iTunes may prompt you to authorize your computer with your Apple ID (the one you used to make the purchases).

  • HT4914 My wife and I both have iPhones and iPads. Can we both have access to the same iTunes Match library or do we have to have separate subscriptions?  Our devices are synced to the same computer and we currently download titles from the same library.

    My wife and I both have iPhones and iPads. Can we both have access to the same iTunes Match library or do we have to have separate subscriptions?  Our devices are synced to the same computer and we currently download titles from the same library.  We both use separate apple id's on our devices.

    You need to reconfigure your phone for use with your Apple ID. I suggest you restore yours as new then reconfigure it with your information and Apple ID. Be sure to disable Find My Phone, if it's enabled, before proceeding.
    Locked Out, Forgot Lock or Restrictions Passcode, or Need to Restore Your Device: Several Alternative Solutions
    A
    1. iOS- Forgotten passcode or device disabled after entering wrong passcode
    2. iPhone, iPad, iPod touch: Wrong passcode results in red disabled screen
    3. Restoring iPod touch after forgotten passcode
    4. What to Do If You've Forgotten Your iPhone's Passcode
    5. iOS- Understanding passcodes
    6. iTunes 10 for Mac- Update and restore software on iPod, iPhone, or iPad
    7. iOS - Unable to update or restore
    Forgotten Restrictions Passcode Help
                iPad,iPod,iPod Touch Recovery Mode
    You will need to restore your device as New to remove a Restrictions passcode. Go through the normal process to restore your device, but when you see the options to restore as New or from a backup, be sure to choose New.
    You can restore from a backup if you have one from BEFORE you set the restrictions passcode.
    Also, see iTunes- Restoring iOS software.

  • More than one library (on the same computer) open?

    In the new iTunes 9 it is possible to access several libraries on my home network from the open iTunes window, which is really cool. I wondered if this means it may now be possible to have access to several libraries on the same computer (or connected drives) at the same time. I use 3 different libraries on my work PC and my mac at home and the process of shutting down iTunes, holding down shift/option, reopening itunes, selecting library is rather cumbersome. Having each of the libraries accessible the same way they are for other libraries on the network would be really useful.
    Is it possible?

    pajagsfan wrote:
    Can I create more than one library on the same computer?  Just got an ipod for my wife but didn't want her to have to use my library to sync to, so I thought I created another library for her.  When I deleted my albums from her library the disappeared from mine. (I think?)
    I know it's Valentine's Day, but before you get your wife fixed up the first thing you need to do is recover the deleted albums for your own library.  See if the files are elsewhere on your hard drive, or in the Recycle Bin.  When you find them, get them back into your own library.  Now you are ready to help your wife.
    As noted above, you can have two libraries in one Windows user account via the Shift-Start approach, but if you both use your libraries regularly, that becomes annoying quickly.  It is better to set her up with her own Windows user account. She can have her own iTunes library there.
    Get a copy of your entire iTunes folder to start her off.  She can delete stuff she doesn't want without messing you up.

  • Sharing iphoto library on the same computer between different users

    Can anyone tell me how (without having to write my own code) I can share photos easily (so I can teach my parents, who know nothing about mac, how to do it) between different users on the SAME COMPUTER?
    I am so frustrated! You can share with anyone else in the world, but when it is on the same computer I can't figure out how to share!

    Hi Mereditty,
    Here are all the links I have for sharing a couple of different ways.
    SHARING IPHOTO LIBRARIES
    Sharing libraries between users on the same local network
    You can also share a library on the same machine between users the same way.
    Sharing libraries between users on the same machine...
    -both users must have sharing enabled in their iPhoto Preferences
    -both users must be logged in and have iPhoto running
    -Remember that you can only view the other library. You can't edit the photos or play the saved slideshows or view the made books or burn them to CD or DVD. The books and slideshows will show up as an album. You can play that album as an "on the fly" slideshow. You can drag images from the sharing library to your library in the source column to import them to your library. You can then edit, add to albums, books, slideshow, etc.
    Sharing links from Apple....
    Sharing your photos between computers
    About shared photos
    Turning off photo sharing
    Looking for shared photos
    SHARING ONE IPHOTO LIBRARY BETWEEN USERS ON SAME MACHINE
    You can try one of these three methods:
    1- Use iPhoto Library Manager-the paid version
    The documentation page will give instructions on how it is done.
    2- Sharing one iPhoto library between several users on one machine
    3- Share an iPhoto Library in tiger Using ACL's
    4- I have also read about ShareAlike
    There is no other info on the site about how it works.
    I strongly urge anyone wanting to try any of the methods for sharing one iPhoto Library folder among more than one user to backup all iPhoto Library folders before attemptin anything.
    Lori

  • Synchronizing multiple user accounts on the same computer

    We bought a .mac family pack. Synchronizing 3 computers works great. But we cannot synchronize our 5 family member's multiple user accounts on the brand new iMac G5. Can it be true that synchronizing does not work between different user accounts on the same computer? To be able to do this was the prime motivator to buy a .mac family pack. Please someone tell us that we are doing something wrong!?
    Cheers, Leo
    PowerBook G4   Mac OS X (10.4.3)   iMacG5 and G3

    Leo,
    I seem to be having better luck with what I think you are trying to do. Let me describe my situation.
    I have accounts for my wife and I and each of our children on each of our several Macs.
    For my wife's accounts (on each of the Macs) and my account (on each of the Macs) I enabled syncing via the preference pane. I did not sync the mail accounts (she has different e-mail accounts) but we did sync the addresses, bookmarks and such. We did not sync the calendars since we each "subscribe" to each others calendar.
    On each machine and across the machines our "sync'd" information appears properly synchronized.
    Now, here is one difference, I do NOT have a family pack. I only have my single .Mac account and I use that one account as the .Mac account for my wife and I. Now that I think about it, that would seem to be the big difference.
    Might I suggest that you go into your wife's account and change her .Mac information to be YOUR information and see if it synchorizes.
    Regards,
    Tom

  • How can you find out if another VI running on the same computer and how can you find out the name of that VI?

    Suppose that several VIs running simultaneously on the same computer. How can I find out the names of the running VIs, from another VI?
    If the already running VIs are clones of the same basic VI, open and run with the option "Prepare to call and forget", how can I find out the names and index of each clone? 

    I had an application where I spawned (= ran with Start Asynchronous Call) multiple (reentrant) copies of VIs, and would occasionally "lose control" of them.  I needed a way to find all VIs that were running "Top Level" and stop them (so I didn't have to log off from Windows).
    I used the Application Property "All VIs in Memory" to get an array of (wait for it ...) All VIs in Memory.  I took each name, opened a VI reference to it (simply wire the name string in, as the VI is, by definition, "in memory"), looked at its VI Execution State, and if it was Run Top Level, Invoked the FP.Close and Abort VI Methods.  [To prevent the VI that did all this from "committing Suicide", I compared the name string with the current Call Chain, and did nothing if there was a match].
    I think you could adopt this idea to do what you need.
    BS

  • HT1198 Can I share my iPhoto library with other logons on the same computer

    My iMac has three separate logons for members of my family. However, it would be very useful if we call all access the same iPhoto library. Is this possible?

    To give others selective access to your iPhoto library, you have the option of using Shared Photo Streams in iCloud, if the privacy implications don't bother you.
    There are more drawbacks to Shared Streams, than the privacy problem,Linc. Shared streams, imho, are perfect for showing off a small selection of photos, but nearly all work invested into the iPhoto library will be lost this way. Titles, caption, ratings do not transfer, and once added to the stream, you cannot rearrange the sequence of photos. Edits are no longer reversible.  If several family members are sharing photos this way on the same computer, they will all have to create their own photo libraries, create redundant photos, and have to recreate all the metadata. It is wasteful, if they really want to share a common iPhoto library.
    The only practical way to do what you want is to let the two family members who need write access log in to the same account to make changes.
    I am curious, Linc. Do you see problems with Apple's own recommendation, that LarryHN linked to -  - iPhoto: Sharing libraries among multiple users  ?

  • 2 iTM accounts on the same computer

    Hello community...
    I have an imac at home with several accounts on it with each their itunes settings and itunes accounts.
    I have installed iTM on my itunes and apple ID. My wife would like to have her own iTM as well but when we apply for it on her account (and her own itunes account), it says that there is already an iTM on this computer and I am not sure I understand the warnings they are giving. So here are my questions:
    - what does the warning mean?
    - can she have her own iTM as well without creating conflicts with mine so that both of us can use iTM on our own devices (iphone, ipad, etc.)
    Thanks a lot in advance for your help

    Regretably, no, it is not possible to have more than one iTunes Match account enabled on more than one iTunes store account ID that is on the same computer. Since iTM can have up to 5 computers (for a total of 10 "devices) associated with one account, the same computer can not be associated with two different instances of iTunes Match.

Maybe you are looking for

  • Updated nVidia GeForce FX5200 U drivers

    Does anyone knows where can I find any updated drivers for my iMac G5 64Mb nVidia FX5200 U video card? I checked the nVidia website, and they don't have drivers for Mac. Specifically, the current Mac drivers don't support the OpenGL 2.0 Extensions co

  • AsBroadcaster vs. EventDispatcher

    I'm making some elearning courses and we are trying to combine semi-automation with the ability to place artwork and content on the timeline. Basically we have a series of small tasks -- read this, click this button, see the result, and so on. We hav

  • Can anyone help with problem updating iphone5s cant get anything only apple on screen sometimes screen flashes blue

    can anyone help with problem updating iphone5s cant get anything only apple on screen sometimes screen flashes blue

  • Invoke Java Library from Flex

    I have Flex running on Tomcat with LCDS. On tomcat there is a JAR that has classes I'd like to use/interact with from Flex. In the simple LCDS examples they demonstrate having a Product.java class and a matching Product.as class, but the java library

  • My keyboard's backlights go dark in inactive mode ...

    ...though are checked to "Never" do so in sysprefs (I'm talking, of course, about dark environment). Is it somehow related to the fact that in Energy Saver (SysPrefs) all three boxes of Battery and Network Adapter tabs are pre-selected (Disk Sleep Mo