Different versions of Java got installed, only want 1

Hi folks,
I have a new iMac, running OS X v10.9.1.
I downloaded and installed the Mac version of the latest Eclipse IDE.
When i tried to run it the first time, it said it needed to also install Java v 1.6.
This isn't the latest Java version but I wanted to get the IDE installed up and running to quickly test out a Java program.
So I said OK, it installed Java version 1.6.
I went to a Terminal prompt, entered "java -version" and got the expected result of "1.6.0_65".
I brought up Eclipse, imported a Java project, it correctly recognized the JRE System Library [JavaSE-1.6], and the program ran successfully.
All good so far, right ?
Not really.
The latest version of Java is up to 1.7.0_45.
I want that version.
I brought up Safari, went to the Java test page, tried to run it, it said i didn't have the latest Java plug-in, directed me to the download site, i downloaded and installed it, re-ran the Java test page and it indicated that I now had Java version 1.7.0_45 installed.
I should be happy cuz this is what I want.
However, i opened a new Terminal and re-ran "java -version", it still thinks I have v1.6.0_65.
Similarly, my Eclipse IDE can only find the JavaSE-1.6.
I still have to do Java development and would prefer to do all my development on my iMac, eventually getting rid of my Windows machines.
How do i get rid of the Java 1.6 version and make OS X recognize the Java v1.7.0_45 version that the Safari browser recognizes ?
tia,
BobZ

How do i get rid of the Java 1.6 version and make OS X recognize the Java v1.7.0_45 version that the Safari browser recognizes ?
Safari is already doing that, as you can see here: Verify Java Version
The Oracle JRE is a web plugin only. The Apple JRE is for standalone Java apps. The two don't overlap in function. If you want to develop in Java 1.7, install the Oracle JDK.

Similar Messages

  • Ok to use different versions of java?

    Hello,
    I installed jdk1.4.2_05 a while ago. I have since downloaded a jar file that requires java 5. Would it be ok to download and install this latest version and still have 1.4.02_05 running also?i,e, is it ok to have run different versions of java on the one machine. Would there be any conflicts etc?

    It's quite common to have multiple versions of Java on the same machine. Obviously you shouldn't install them in the same folder structure though.
    /j2sdk1.4.2_03 - contains version 1.4.2_03
    /j2sdkblah.blah - contains version blah.blah

  • After updating to OS 10.8.3 java does not function.  I've validated the most current version of Java is installed.  Has anyone else had this issue?

    After updating to OS 10.8.3 java does not function.  I've validated that the most current version of Java is installed and active in Safari.  Has anyone else had this problem?

    Yes indeed.  See this thread - I have found a fix, but I am hoping once the engineers see this (Bug filed) that someone has an easier method, or a patch.
    Something went wrong with the update in certain instances and it kills the Java plugin.  Give this a shot - it takes a bit of time, but worthwhile.
    https://discussions.apple.com/message/21528056#21528056
    medward wrote:
    After updating to OS 10.8.3 java does not function.  I've validated that the most current version of Java is installed and active in Safari.  Has anyone else had this problem?

  • Identify which language version of java is installed

    Hi
    jre for windows is available in two versions "us engilsh" and "all other languages". How can we know which version of jdk is installed in a machine
    regards
    sibi

    I tried running the program and the result was
    C:\temp>d:\jvm\jdk1.2.2\bin\java Test
    java.specification.name !Java Platform API Specification!
    awt.toolkit !sun.awt.windows.WToolkit!
    java.version !1.2.2!
    java.awt.graphicsenv !sun.awt.Win32GraphicsEnvironment!
    user.timezone !Asia/Calcutta!
    java.specification.version !1.2!
    java.vm.vendor !Sun Microsystems Inc.!
    user.home !C:\Documents and Settings\sibi!
    java.vm.specification.version !1.0!
    os.arch !x86!
    java.awt.fonts !!
    java.vendor.url !http://java.sun.com/!
    user.region !US!
    file.encoding.pkg !sun.io!
    java.home !d:\jvm\jdk1.2.2\jre!
    java.class.path !.!
    line.separator !
    java.ext.dirs !d:\jvm\jdk1.2.2\jre\lib\ext!
    java.io.tmpdir !d:\temp\!
    os.name !Windows NT!
    java.vendor !Sun Microsystems Inc.!
    java.awt.printerjob !sun.awt.windows.WPrinterJob!
    java.library.path !d:\jvm\jdk1.2.2\bin;.;C:\WINNT\System32;C:\WINNT;C:\WINNT\system32;!
    java.vm.specification.vendor !Sun Microsystems Inc.!
    sun.io.unicode.encoding !UnicodeLittle!
    file.encoding !Cp1252!
    java.specification.vendor !Sun Microsystems Inc.!
    user.language !en!
    user.name !sibi!
    java.vendor.url.bug !http://java.sun.com/cgi-bin/bugreport.cgi!
    java.vm.name !Classic VM!
    java.class.version !46.0!
    java.vm.specification.name !Java Virtual Machine Specification!
    sun.boot.library.path !d:\jvm\jdk1.2.2\jre\bin!
    os.version !5.0!
    java.vm.version !1.2.2!
    java.vm.info !build JDK-1.2.2_006, native threads, symcjit!
    java.compiler !symcjit!
    path.separator !;!
    file.separator !\!
    user.dir !C:\temp!
    sun.boot.class.path !d:\jvm\jdk1.2.2\jre\lib\rt.jar;d:\jvm\jdk1.2.2\jre\lib\i18n.jar;d:\jvm\jdk1
    .2.2\jre\classes!
    C:\temp>
    how can i identify the language version from this?
    regards
    sibi

  • I looked in addons manager and I seem to have 5 versions of java console installed,do I need them all or can I disable all but the latest?

    I can see 5 versions of java console in addons manager,6.0.04,6.0.07,6.0.10,6.0.12 and 6.0.14.Do I need all these or should I disable all but the latest?

    You can manually remove those; they were not properly cleaned up by Java when updating. See:
    *http://kb.mozillazine.org/Firefox_:_FAQs_:_Install_Java#Multiple_Java_Console_extensions
    '''<u>In your case</u>''', remove folders:
    *{CAFEEFAC-0016-0000-'''''0004'''''-ABCDEFFEDCBA}
    *{CAFEEFAC-0016-0000-'''''0007'''''-ABCDEFFEDCBA}
    *{CAFEEFAC-0016-0000-'''''0010'''''-ABCDEFFEDCBA}
    *{CAFEEFAC-0016-0000-'''''0012'''''-ABCDEFFEDCBA}
    *{CAFEEFAC-0016-0000-'''''0014'''''-ABCDEFFEDCBA}
    <br />
    <br />
    '''You need to update the following:'''
    *Adobe PDF Plug-In For Firefox and Netscape
    #'''''Check your plugin versions''''' on either of the following links':
    #*http://www.mozilla.com/en-US/plugincheck/
    #*https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    #*'''Note: plugin check page does not have information on all plugin versions'''
    #*There are plugin specific testing links available from this page:
    #**http://kb.mozillazine.org/Testing_plugins
    #'''Update Adobe Reader (PDF plugin):'''
    #*From within your existing Adobe Reader ('''<u>if you have it already installed</u>'''):
    #**Open the Adobe Reader program from your Programs list
    #**Click Help > Check for Updates
    #**Follow the prompts for updating
    #**If this method works for you, skip the "Download complete installer" section below and proceed to "After the installation" below
    #*Download complete installer ('''if you do <u>NOT</u> have Adobe Reader installed'''):
    #**SAVE the installer to your hard drive (save to your Desktop so that you can find it after the download). Exit/Close Firefox. Run the installer you just downloaded.
    #**Use either of the links below:
    #***https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox ''(click on "Installing and updating Adobe Reader")''
    #***''<u>Also see Download link</u>''': http://get.adobe.com/reader/otherversions/
    #*After the installation, start Firefox and check your version again.

  • Help!!  Two Apps running 2 different versions of Java 1.3 &1.4

    I work in the IT dept for a IBM service provider. Recently IBM has changed their web quoting tools. The main config tool runs on Java 1.3.1_08 and their new maintenance quoting tool runs on 1.4.1_2.
    I have both versions of java installed and neither program will work. When I try to launch the maintenance tool that runs 1.4.1_2. The web start screen appears and then disappears and my processor performance maxes out at 100%. I have to control alt delete and then end task. When trying to run the main quoting tool , the Java applet never starts. I have tried to get technical support from IBM but they keep pushing it back to me stating that it is Java, or the machine, and they do not support that. The machine has been freshly imaged with Windows XP Professional, the system is a p3, 1.2GhZ with 512MB ram. Is there a way to make these programs work in the same environment? Thanks.

    This sounds quite a bit like the problem I've been having. So far the most informative thread I've seen is here: http://forum.java.sun.com/thread.jsp?forum=32&thread=363105&tstart=0&trange=15 , but the fact remains that there are a lot more people with questions than answers on this one.

  • NEED HELP!!  Problem running two different versions of Java

    We have two applications that will only run on two specific java versions. The web app that is vital to our company will only work with 1.40. Certain things in Lotus Notes will only run on 1.50. The only way we get IE to work properly is to install 1.50 first and then install 1.40 for our web app. I have the option in IE for both versions, yet when I uncheck IE to use 1.50, and check it to use 1.40 it still tries to open the web app in 1.50. Any suggetstions? I am a noob when it comes to Java, and this is killing us support wise. Is their any setting I can change in the Java plug-in to make the web app only use the correct version?

    The 1.5 JRE is backward compatible with 1.4.
    If your i\1.4 app will not run under 1.5, I suggest you call the vendor and as them why thier application only works under 1.4?
    If your web app is internally developed, tell the development team to get on the ball.

  • Different versions of Java webstart and Java Runtime Environment

    Hi I am using a thin application client (swings application) which is downloaded as a jar file using Java Web Start. The earlier version of the application was deployed on the server and client using the version 1.5.0_09. Due to some performance measures we are changing the Client version of JRE to 1.6.0_03. Will this really help??
    The approach we are following is bit confusing.
    First we are launching the application in JRE 1.5.0_09 and creating a shortcut for that (WebStart shortcut). Later we are changing the Java Web Start version from 1.5.0_09 to 1.6.0_03 in the shortcut.
    And of course also changing the JNLP j2se version tag to 1.6
    The application we are launching using this shortcut but its throwing FailedDownloadException : Unable to Load Resource hxxp://ascdcf.....*.jnlp
    The funny thing is when i launched the same shortcut using the 1.5.0_09 version i.e. only the WebStart version as 1.5.0_09 and the JRE on client as 1.6.0_03 the application starts.
    I searched about this and came to know that webstart just deploys the application jar on the client in a browser independent form and then it is run on JRE. If thats the case (and if i am right) then Webstart version can be anything only the JRE version should be the latest as specified in the JNLP. Can anyone give me suggestions in this regard???
    Also if this approach is correct where will we get more performance???
    1. Is it running application on updated JRE Version i.e. 1.6.0_03
    2. Or on updating Java Web Start i.e. 1.6.0_03 (curretnly which is not running)
    Also the Java Web Start is a part of JRE then where does this lead to....???
    I am just an amateur with great doubts.....kindly help......

    Hello,
    I suggest you really read, understand and trial-and-error the following previously suggested solutions;
    http://stealthpuppy.com/juggling-sun-java-runtimes-in-app-v/
    http://packageology.com/2014/02/sequencing-java-the-definitive-guide-part-1/
    http://packageology.com/2014/02/sequencing-java-definitive-guide-part-2/
    http://packageology.com/2014/02/sequencing-java-definitive-guide-part-3-restricting-access-insecure-java-versions/
    Nicke Källén | The Knack| Twitter:
    @Znackattack

  • Firefox installation does not initiate. Have tried different versions but the pop-up only remains for less than 1 second then closes down.

    Firefox crashed without even opening the main window - just the apology pop-up appeared. Nothing I could do would open the programme. MS Fixit identified a problem with IE8 and put it down to AVG8 Link Scanner. I disabled this, and tried Firefox again. It worked perfectly for a time. Later, when trying to open Firefox, nothing happened - no crash pop-up, no navegation window - zilch. I tried to re-install the programme, but as soon as I execute it, the "Extracting" pop-up opens then closes immediately. I tried to uninstall Firefox using the Windows control panel, but this did not work - Error 21, whatever that is, then tried to reinstall again with the same result.The Firefox uninstall did work. I unistalled my AVG8 anti-vir and tried again - nothing. I downloaded an older version of Firefox - same result. Something is blocking any activity concerning Firefox and I am totally at a loss to identify it. Can anyone help, please?
    == This happened ==
    Every time Firefox opened
    == this afternoon - May 7th. 2010 ==
    == User Agent ==
    Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 6.0; Trident/4.0; Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; SLCC1; .NET CLR 2.0.50727; Media Center PC 5.0; .NET CLR 1.1.4322; .NET CLR 3.5.30729; .NET CLR 3.0.30729)

    1. Is there a "hung" firefox.exe process in the Windows Task Manager?
    2. Have you tried restarting that PC?

  • Webutil and different versions of Java Plug-in

    Hi Guys!
    Our 10g Forms work fine on Java Update 7, but applet doesn't start up if we use Java Updates 10 and up.
    Oracle Support says that starting Update 10 it is a complete rewrite from SUN and they advise us to stay with Update 7.
    But we have other web apps that are working with Update 11... so there is a problem.
    I noticed that java applet when on Update 10 and up gets stuck when trying to load JACOB.JAR which is part of webutil. It just freeze and nothing happens. When I remove webutil entries from formsweb.cfg, the applet starts up fine and I get a database login screen but forms of course don't work because they need webutil.
    Who had the same problem please advise.
    Thanks,
    Dmitri

    It only need one try uninstalling both then reinstalling 1.3.0_02 jre's always get screwed up during uninstall or if you are running multiple versions

  • Java Cache Viewer shows duplicate URL with different versions

    In doing some testing lately we have come across a couple of situations where the same URL is showing in the JAVA cache viewer with different versions to them.  In the case of a 1.7 JRE this is not causing any adverse effects however when utilizing a 1.6 JRE we are getting messages about mixed mode for the JAR files.
    The jar file is signed as below:
    Manifest-Version: 1.0
    Ant-Version: Apache Ant 1.8.2
    Application-Library-Allowable-Codebase: *
    Application-Name: named_applet
    Built-By: relbuild
    Permissions: all-permissions
    Created-By: 1.6.0_17-b04 (Sun Microsystems Inc.)
    Caller-Allowable-Codebase: *
    Codebase: *
    understanding the need to change the wildcard's to domains as we move forward.  I am wondering why the jar file is being listed and called twice and why it is being recognized as signed one time and not the next.
    The URL is identical in the cache viewer and the java console says it is not found in the cache when it is used the second time, even though previously in the session is finds it with the correct version.
    Any advice would be helpful

    that i even know, but the problem is that i do not have that version of java re installed, but i found distribution 07 of the same java version, i'll try it out with that.
    but when it still doesn't work, then i still would like to find the link where i can download java version 1.4.2_06.

  • Showing that "Higher version java already installed" when trying to install jre7u5 even after uninstall of java in mac os x 10.7.5

    Hi
      I am running mac os x 10.7.5.I have installed jre7u_17 in my mac.But uninstalled it by removing javaAppletPlugin.plugin and when i am trying to install jre7u5 it prompting me that "Higher Version of java already installed.But in terminal if i run java -version command it showing that "No runtime environment present".Please help me how to uninstall java completely from my mac and to install lower version of java.Please.

    The next time you have the problem, note the exact time: hour, minute, second.
    If you have more than one user account, these instructions must be carried out as an administrator.
    Launch the Console application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Console in the icon grid.
    Make sure the title of the Console window is All Messages. If it isn't, select All Messages from the SYSTEM LOG QUERIES menu on the left. If you don't see that menu, select
    View ▹ Show Log List
    from the menu bar.
    Scroll back in the log to the time you noted above. Select any messages timestamped from then until the end of the episode. Copy them (command-C) to the Clipboard. Paste (command-V) into a reply to this message.
    When posting a log extract, be selective. In most cases, a few dozen lines are more than enough.
    Please do not indiscriminately dump thousands of lines from the log into this discussion.
    Important: Some private information, such as your name, may appear in the log. Anonymize before posting.

  • 10.6.8 Java not working. "No compatible version of Java 1.5  is available"

    Hey Guys
    Firstly I would like to thank you for clicking this question and would ask you please if you have a solution to my problem answer whatever you can.  Anyway lets get on with it.
    Recently I have been having a problem on my macbook.  I am running 10.6.8 as said in title.  Previously i was having an inactive plugin error going on and the software update said there were no newer versions available.  However when looking for a solution for this by clearing my java cache ect. i somehow ended up with this problem.  Whenever I try to run a java based application such as minecraft it says "Cannot launch "Minecraft" No compatible version of Java 1.5+ is avaiable." Also when from this menu i try to open Java Preferences it says "You can't use this version of the application Java Preferences with this version of Mac Os X.  You have Mac OS X 10.6.8. The application requires Mac OS X 10.7 or later." I did not download java 1.7 or a different version of Java Preferences outside of the software update.  If you have any idea of what's going on please help me out.  I am struggling to get on with work and games without java even working. 
    Thanks for your help
    Will

    Are you up to date with the updates?
    Update for Snow Leopard users:
    Apple issued update 12 for Java for OS 10.6:
    http://support.apple.com/kb/DL1573
    Note:  On systems that have not already installed Java for Mac OS X 10.6 update 9 or later, this update will configure web browsers to not automatically run Java applets. Java applets may be re-enabled by clicking the region labeled "Inactive plug-in" on a web page. If no applets have been run for an extended period of time, the Java web plug-in will deactivate.
    If, after installing Java for OS X 2013-002 and the latest version of Java 7 from Oracle, you want to disable Java 7 and re-enable the Apple-provided Java SE 6 web plug-in and Web Start functionality, follow these steps:
    http://support.apple.com/kb/HT5559?viewlocale=en_US
    Further update:
    Apple issued this Java related security update No. 13 on February 19:
    http://support.apple.com/kb/HT5666
    and Update No. 14 on March 4:  http://support.apple.com/kb/DL1573
    http://support.apple.com/kb/HT5677
    The standard recommendation is for users to turn off Java except when they have to use it on known and trusted websites (like their bank). Javascript, which is unrelated despite the name, can be left on.

  • How to avoid "The application requires an earlier version of Java. "?

    Hello, I deployed a Java applet built like this
    javac -source 1.4 -target 1.4 foobar.javaThe reason why I do it this way, is that many public libraries, have computers that only have Java 1.4 installed (and I found one case with 1.3 but decided not to go that far), and the users have no way to upgrade them. Hence if I want to deploy an app that can be used by most everybody, which is the whole idea of Java, then I have to use 1.4, no choice.
    OK, now I also have users who have the latest Vista and Firefox. On those computers, they see the following warning when my applet tries to run:
    "The application requires an earlier version of Java. Do you want to continue? Run or Cancel The required version of Java, 1.6.0-oem, is not the latest and may not contain the latest security ..."
    Of course, after seeing this kind of warning, I am losing a lot of those users immediately. (and by the way, I am built with 1.4, not 1.6-whatever)
    This message is widely reported on the Internet and the solution is always similar - some variation of "uninstall and reinstall the latest Java".
    This of course is a NON_STARTER. I cannot request my users, to reinstall Java. they won't bother. The whole idea of Java applets, again, is that I write an applet and the user sees it without having to tweak around with their computer.
    So I guess my question is: what can I do in my applet, to prevent these messages from happening on Vista, and at the same time be accessible to public lib computers with Java 1.4?
    And second rhetorical question: why can't Sun get their act together and deploy a platform where I can just write my code according to their specs and it will run according to their specs, without any warnings to scare away half of my users??? Please Sun tell me.
    Mark
    Edited by: Mark_Galeck on Apr 18, 2009 10:33 PM

    Mark.
    [1.4 is EOL|http://java.sun.com/j2se/1.4.2/] so I suggest you target 1.5.
    Youe contention that world should not change because a small proption of near-sighted troglodites insist on wearing frilly collars is complete bunkum. Get over it. Fast.
    If ever I get the chance, I shall tell Sun to continue doing exactly what they are doing with regards to developing the core Java language. Hire the best engineers; go forth and prosper; insist on backwards compatability; and never mind the bollocks (here's the sex pistols).
    ... or maybe one would prefer the MS .NET platform, where no version is at all backwards compatible with any previous one; is supported for just three years; with each CLR occupying a full third of ones modest laptop hard disk?
    Be careful what you wish for. You just might get it.
    ~~ anonCheers. Keith.
    Edited by: corlettk on 19/04/2009 16:27 ~~ Typoes!

  • Can embedded/private versions of Java be exploited?

    I am looking at trying to upgrade the JRE on my clients to the latest secured versions (reference Sun Alert IDs: 102729, 102731, etc.). However, we have a number of private/embedded instances of these older Java versions that were installed with various applications on our Win XP clients (Lotus Notes, UGS, etc.). I am trying to determine if these are vulnerable to the exploits described in these Sun Alerts.
    These private Java instances are not registered in the Windows registry under:
    HKEY_CLASSES_ROOT\CLSID
    As far as I can tell the only way to call a different version of Java from the default JRE that Internet Explorer has registered is to use an "OBJECT classid=�� tag in the web page code. I am assuming that if the private instance of Java has no CLSID in the Windows registry, that it cannot be called by exploitive code.
    Is my assumption true? Or is there another way that exploitive code on a web site could call these older private versions of Java?

    I am looking at trying to upgrade the JRE on my clients to the latest secured versions (reference Sun Alert IDs: 102729, 102731, etc.). However, we have a number of private/embedded instances of these older Java versions that were installed with various applications on our Win XP clients (Lotus Notes, UGS, etc.). I am trying to determine if these are vulnerable to the exploits described in these Sun Alerts.
    These private Java instances are not registered in the Windows registry under:
    HKEY_CLASSES_ROOT\CLSID
    As far as I can tell the only way to call a different version of Java from the default JRE that Internet Explorer has registered is to use an "OBJECT classid=�� tag in the web page code. I am assuming that if the private instance of Java has no CLSID in the Windows registry, that it cannot be called by exploitive code.
    Is my assumption true? Or is there another way that exploitive code on a web site could call these older private versions of Java?

Maybe you are looking for

  • Flashplugin trouble on Intel GMA 3150

    Hi everyone. I have a trouble in playing video at full screen size. Screenshot: http://twitpic.com/4qmwkj/full How I can fix this trouble??? Thx.

  • Upgrade solaris 8 to solaris 10 with DiskSuite

    Hello After years of not using Solaris I find I have to upgrade a Sun V240 from Solaris 8 to Solaris 10. My concern is that the disks are managed by DiskSuite. Do I have to back DiskSuite out before I do the upgrade and upgrade just on the underlying

  • FAQ for MSI K8T NEO

    Is there a FAQ for the MSI K8T NEO motherboard? About 3 years ago I build a computer using the ABIT KT7Raid Mbd. Although I had the ABIT manuals I found that wasn't enough to guide me thru setting up the board, installing the OS, and downloading all

  • Ability to play songs at slower speed

    Not a big deal, but if you're trying to learn a piece, it's nice to slow it down and cycle through a specific section.  There are apps to do this with music you own, but not streamed music from spotify.

  • SApScript- Custom Font setting ignored by the system default setting

    I have an issue related SapScript - Font Setting. Whatever Custom setting i am giving to the text written in the text-element of the Page window inside the form through paragraph or charater format e.g. Font Family: Times  Font Size - 12   Bold: - on