Cannot Run Java 1.7 Despite Installing

For a certain application, I need to use the Java Runtime Environment 1.7. I've installed the latest JRE from Oracle's website. After this, the "Java" control panel that appears says I only have Java 1.7.0_25 installed. However, when I use the "java -version" command in Terminal, it claims I'm using Java 1.6.0_51.
How can I disable or uninstall the 1.6 JRE, so Terminal will say I'm using 1.7?
Using the latest version of Mountain Lion.
Thanks in advance!

Hello,
  The bug that is causing this error message is fixed in 8u20. Please download the 8u20 EA. When 8u20 is released you will be prompted to install the final version.
You can find the link to download and more information on java.com:  https://www.java.com/en/download/help/mac_10_10.xml
-Roger

Similar Messages

  • Cannot run java can anyone help??

    cannot run java, it says it is loaded but when I go to Pogo.com java is booted out. Can anyone help??

    have ur java software updated.

  • HT1338 i cannot run java with mountain lion

    i cannot run java with mountain lion

    @jnsmth
    I see Barney-15E made suggestions regarding Chrome preferences. There's also a setting on the Mac to deal with this. Regarding the drop-down menus not seeming to scroll through (such as a list of states)--where when you place or click your cursor over the drop-down menu and it only opens to some of the options in a list, I found that you have to change the scroll bar behavior in your computer's (and not the browser's) General Preferences within your System Preferences.
    Open System Preferences, and click on "General" inside the top row of "Personal Preferences" (as it is in my system with Mountain Lion, and I think prior operating systems before that).
    Once inside General Preferences, select the radio button option for your scroll bar which you'd like to use in the "Show scroll bar:" section ("Automatically based on mouse or trackpad," "When scrolling," or "Always." If you're using a mouse and not a trackpad, you'd probably want to select "Always" as it takes swiping over the drop-down list on the trackpad to enable (make visible) the scroll bar and/or scroll the list.
    Either with the installation of Mountain Lion, or the installation of my trackpad (I'm using a desktop iMac and not a Macbook / laptop) I found that the righthand scroll bars seem to automatically disappear. When I moused over or clicked on a drop-down menu (such as the list of states) I'd see only the first few options in the list. In order to access the rest of the states (get the list to scroll) you have to either have the scroll bar setting set to show "Always" or (if you have a trackpad) use the trackpad to swipe/scroll while hovering your cursor over the list's items to get it to scroll the list, and thus then show/reveal the lefthand scroll bar (which can then be accessed with your mouse if you prefer.
    This confused me at first when my scroll bars seemed to disappear, but was an easy fix.
    Hope that helps with that part of your issue.

  • Error while running (java -jar orion.jar -install)  Need yr help ?

    Hi,
    I have
    Win 2000 Professional
    Oracle 9i release 1and have the Pre-Requisites of MapViewer as follows.
    OC4J_extended (Pre-Requisite for MapViewer)
    XML Parser (Built-in OC4J)
    Oracle 9iI don't know whether I have Oracle Client or not which is also pre-requisite for MapViewer ? I think it is built-in with any of the above... most probably with Oracle 9i !!!
    I have JDK1.3 as wellI have Oracle9iAS release 1.0.2.2.2a, but I don't want to use it, as I have OC4J standalone...
    I want to have the configuration, for using Oracle Spatial/MapViewer.... How can I do that ? I need steps/procedure...
    I am having problems in configuring OC4J which I have downloaded. I have unzipped OC4J_Extended in Oracle 9i Database home directory (not in Oracle 9iAS home directory... because I dont have installed iAS)
    Its installation guide asks for installation through the following command
    java -jar orion.jar -installbut after unzip, I don't get any file named "orion.jar"
    What should I do ? Where am wrong ? Should I have to use 9iAS for using MapViewer in any case, if so which version ? I need the heirarchy of steps ?
    I m really stucked !!!
    Any help would be highly appreciated.
    Thanx
    Zaaf.

    Hi,
    If you are just using OC4J, you should only need to do:
    java -jar oc4j.jar -install
    Also note that you should not install oc4j in the oracle_home
    directory. If/when you upgrade oracle to apply patches, etc
    it will overwrite/cause problems with your oc4j install if you
    put it in the oracle_home directory. Put it in any other directory.
    The only part of Oracle9iAS needed to run mapviewer is oc4j.
    After that is installed, then follow the instructions in the MapViewer
    User's Guide (available on OTN).

  • Cannot run Java with Firefox

    I have tried anything for 5 hours and nothing works.
    New dell laptop with Windows 8.1 64 bits.
    Firefox version: 37.0a1 (2014-12-05).
    Install Java twice via jxpiinstall.exe and jre-8u25-windows-i586-iftw.exe. 32 bits version.
    Java test page https://www.java.com/en/download/installed.jsp reports that 'java is disabled or not installed'.
    Java console shows that Java is enabled for browsers.
    DOS Command line 'java -version' shows java running.
    I have even put the 'C:\Program Files (x86)\Java\jre1.8.0_25' in the global PATH variable and created a JAVA_HOME variable with this directory.
    I went into regedit and change the rights on all mozilla mozilla.org keys.
    Finally, I downloaded Chrome and it works after some configuration.
    Regards.
    PS: the register process to be able to ask a question is the most impossible (being polite) that I have ever seen.

    Finally, I could find a page to download a previous version.
    I downloaded Firefox Setup 33.1.1.exe and installed it. It immediately donwloaded the right plugins.
    I configured the Java(TM) Platform SE 8 U25 plugin to be always activated and I went to the Java test page https://www.java.com/en/download/installed.jsp and now it works.
    I will try with updated version, but it is clear that this Nightly version has a problem with Windows 8.1

  • Cannot run "java -jar javapetstore-2.0-ea5-installer.jar "!

    My java version is:
    java version "1.6.0_06"
    Java(TM) SE Runtime Environment (build 1.6.0_06-b02)
    Java HotSpot(TM) Client VM (build 10.0-b22, mixed mode, sharing)
    When I run "java -jar javapetstore-2.0-ea5-installer.jar"
    I get errors:
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.initSystemColorDefaults(GTKLookAndFeel.java:1267)
    at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.loadStyles(GTKLookAndFeel.java:1509)
    at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.access$000(GTKLookAndFeel.java:37)
    at com.sun.java.swing.plaf.gtk.GTKLookAndFeel$WeakPCL$1.run(GTKLookAndFeel.java:1449)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    Exception in thread "main" java.lang.NullPointerException
    at javax.swing.plaf.synth.SynthLookAndFeel$AATextListener.propertyChange(SynthLookAndFeel.java:793)
    at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
    at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:347)
    at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
    at java.awt.Toolkit.setDesktopProperty(Toolkit.java:1784)
    at sun.awt.SunToolkit.fireDesktopFontPropertyChanges(SunToolkit.java:1714)
    at sun.awt.SunToolkit.setAAFontSettingsCondition(SunToolkit.java:1759)
    at sun.swing.SwingUtilities2$AATextInfo.getAATextInfo(SwingUtilities2.java:119)
    at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.initComponentDefaults(GTKLookAndFeel.java:1258)
    at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.getDefaults(GTKLookAndFeel.java:294)
    at javax.swing.UIManager.setLookAndFeel(UIManager.java:537)
    at javax.swing.UIManager.setLookAndFeel(UIManager.java:581)
    at org.jvnet.poormans_installer.Main.setUILookAndFeel(Main.java:88)
    at org.jvnet.poormans_installer.Main.main(Main.java:49)
    Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
    at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.initSystemColorDefaults(GTKLookAndFeel.java:1267)
    at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.loadStyles(GTKLookAndFeel.java:1509)
    at com.sun.java.swing.plaf.gtk.GTKLookAndFeel.access$000(GTKLookAndFeel.java:37)
    at com.sun.java.swing.plaf.gtk.GTKLookAndFeel$WeakPCL$1.run(GTKLookAndFeel.java:1449)
    at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
    at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
    at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
    at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
    at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
    My OS is CentOS5.1 final.

    have u set the path to java 1.4.1 ?
    if u set the path ,,, the there will no problem.

  • Cannot run java program after archive and install

    Hi,
    I am new to this forum and appreciate the help and advice given here.
    Yesterday, I did an archive and install on my system which install 10.4.3. Afterwards, I installed X11 and did the software updates which brought my system back to 10.4.8. It also installed Java 1.3.1, 1.4.2, and 1.5 (J2SE5).
    Prior to the archive and install, I had no problems executing a java program either in the command line in an X11 window or using Eclipse. However, when I try now I get the exception message "Exception in thread "main" java.lang.NoClassDefFoundError:". I checked my CLASSPATH and it's not the problem. I am able to compile, and execute the javadoc command. If I type java -version I get
    java version "1.5.0_06"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-112)
    Java HotSpot(TM) Client VM (build 1.5.0_06-64, mixed mode, sharing)
    Under Eclipse, I am able to see the Java versions under Preferences - Java - Installed JREs but if I go to the Run -> Run As menu, I see (none applicable).
    Thanks for any suggestions to fix this.
    James
    Dual 867MHz G4   Mac OS X (10.4.8)  

    I resolved the issue. I reinstalled XCode and had an issue with one of the files I was testing.

  • Urgent! Cannot run java programme. Pls help!

    1st question:
    I am using JDK 1.3.1_03 on Win2K Server. When I have compiled the java applications, I try to use
    "java <application name>" to run the programme, but an error message "Error occurred during initialization of VM
    java/lang/NoClassDefFoundError: java/lang/Object" come up on the screen. Why is it so? It run normally in the past.
    I have upgraded Windows2K once using the Win2K Server CD recently, is it the cause of the problem?
    How can I solve it? Please help! Thank you!
    2nd question:
    I have installed JDK1.4 Final version recently. However, after I have uninstalled it, it still appear in the Add/Remove Programme list in the control panel. I have tried to install another version of JDK, see if it would replace the JDK1.4,
    but it failed. Why is it so? Now when I go to some websites designed by javascript, the Internet Explorer suddenly closed by itself. How can I solve the problem? Please help! Thank you!

    Hi,
    I got the same problem, 1st question, running the application on win NT. Is there anybady there who can help us!!!??????????

  • Run Java Applet w/o installing JRE

    Hi all,
    I'm wondering what would allow the client to run the java applet w/o having to install the JRE? I have seen it done but not sure how they did it. I wrote a simple java applet (not even JApplet) and IE said "class not found" until I installed the JRE on that machine. Any tips? Thanks so much in advance.

    Looking at your sample, I would say this could run in the old JVM.
    You might simply be having problems with the JVM finding your classes - I believe this is specified in the HTML (but its been too long for me to give details).
    Also, your Internet Explorer could be looking for a plug-in JVM (I believe this is specified in Tools-Internet Options-Advance menu).
    And finally, Windows (XP?) may not have this JVM built in anymore - never could figure out the outcome of the law suite.
    Hopefully someone with more recent Applet experience will chime in.

  • Cannot run java (Linux)

    I just downloaded and installed java JDK 1_5_0_05 (rpm file) for my machine (PC with Linus ES 3.0). When I try to run javac on the command line, I get the following error:
    Error: could not find libjava.so
    Error: could not find Java 2 Runtime Environment.
    What am I missing?
    Thanks
    plaval
    email: [email protected]

    (PC with Linus ES 3.0).First, I don't know that Linus would like that there are multiple versions of him. Perhaps you meant something like RedHat Linux Enterprise Server 3.0.
    Anyhow, I'm guessing that there was already a Java install on your machine, though probabaly not one from Sun. If you're familiar with RPM's then I would start by doing an "rpm -qa | grep -i java" to see what other Java installs may be on the machine. Multiple versions can reside on a single machine but you need to make sure that your PATH environment variable is set to "your" JVM's bin directory and that your JAVA_HOME is set to the base of your JVM.
    Let us know what other issues you have.
    Need Java help? Want to help people who do? Sit down with a cup of Java at the hotjoe forums.
    Sure they're new - come get them started!

  • WIndows failed to start. (0xc0000225); cannot run Safe Mode and no install disc

    Hello,
    I am currently having a huge problem where my computer is stuck on "Windows failed to start. A recent hardware or software change might be the case. To fix the problem:..." (SEE IMAGE)
    I have tried finding solutions online but none have worked. My computer DOES NOT go to safe mode if I press F8 nor do I have an 'installation disc'. In fact, I tried the recovery discs from my brother's laptop and the computer doesn't even recognize that they're
    in the disc tray.
    My computer is an Acer Aspire M3470 running Windows 7 Home Prem OA.
    If it helps, this occurred when I tried running Spybot S&D due to Malwarebytes refusing to start up (pretty sure I had a virus of some sort).
    The other image is what shows before the error screen; pressing CTRL-F does nothing.
    Thank you in advance!

    I have obtained an installation ISO and put it on both a disc and USB but neither work. I get a blue screen with the following text and cannot proceed no matter what I press:
    "RECOVERY You pc needs to be repaired. The application or operating system could not be uploaded because a required file is missing or contains errors...
    File:\WINDOWS\system32\winload.efi Error code: 0xc0000225
    You'll need to use the recovery tools on your installation media. If you don't have any installation media, contact your system administrator or PC manufacturer.

  • How to run Java 3D Applet without install java3d

    I've written a java3d applet, and it runs correctly in browser on my computer. Now I want it can be run on other computers which havent' Java3d installed. If the program runs as application, then we can use jnlp and web-start to solve this problem. But what about applet? How can I do it just like the application?
    Pls help me!

    Hello. I read this article too. It sounds interesting but I have some questions. The example is given for win32 and what about other OSs and platforms? Sun provides different libraries for different OS. According to this article it is possible to run applets without previous installation of Java3D and if a user runs Windows 2000, Java3D libraries will be downloaded and installed from the location pointed out by the programmer. But how to do this for all OSs and all platforms and architectures so that if a user doesn't have Java3D installed on his/her computer, might to see the applet in his/her browser? Is it the only way that a programmer needs to include into "loader_singed.jar" all possible libraries for all possible platforms?

  • Cannot run java

    i am trying to log on to a program called skillcheck.com an assessment website.   when i click on the tab system check to make sure my system is compatible i keep getting the following message...No Java Client available.  My Mac Book Pro is running off of Mac OSX version 10.7.5.  Can anyone help me?

    Go here and read the tutorial: java.sun.com/docs/books/tutorial/. Java is run using command entered from the command/cmd (aka DOS) window. Ther is no graphical user interface or desktop icons.

  • I cannot run Java suddenly.

    Hi,
    geez..I don't know what I did, but now, whenever I try to run a program, e.g. java Test where Test is a class file.
    I would get the following error:
    Exception in thread "main" java.lang.NoClassDefFoundError: Test
    seems like my java.lang lib has disappeared?
    I tried reinstall my JDK1.3.1_02, but the problem is still there...I tried to run other class files which worked before..and it gives the same error...
    does anyone know how to fix this problem?
    thanks!!
    Joe

    hi,
    You would get this problem if the current directory is not in the classpath.. add the following line to ur Autoexec.bat (in case of Windows)
    set CLASSPATH=%CLASSPATH%;.
    note: therez a dot at the end, this adds the current directory to the classpath environment variable..
    hope this helpz
    cheerz
    ynkrish

  • Cannot run java application in Win XP

    I worte a java application(a Swing app), I test it and run under win NT, it works fine for me.
    Then I recompile it in my WinXP using j2sdk1.4.1_02, run it in a command prompt, but it does NOT start up the application, I check the window task manager, a java.exe already startup and it eat up 100% CPU of my XP, but the application never been startup.
    My Swing application is not a JApplet but a JFrame.
    Does anyone have the similiar problem?
    Thx in advance
    Henry

    Try adjusting your path settings to stop using the MS VM (did you recently use win update?):
    My Computer->Properties -> Advanced -> Environment Variables
    System Variables -> "Path"
    If it currently starts with:
    %SystemRoot%\system32;...
    change it to:
    .;%JAVA_HOME%\bin;%SystemRoot%\system32;...
    If you haven't set JAVA_HOME, create a new variable like:
    JAVA_HOME = C:\j2sdk1.4.1_02
    Note that using the ".;" before path makes the current dir's executables take prevalence over a same-named executable in a subsequent path.
    Putting "%JAVA_HOME%\bin" before "%SystemRoot%\system32" makes certain that the current java.exe gets used (not Micro$oft's java.exe)
    Try it, hope it helps,
    Georg.

Maybe you are looking for

  • How to set user defaults in GRC 10.0

    Dear Experts, we are trying to maintain the user default parameters for access request, so that the user default parameters can be provisioned with the access request. we've found the note 1615552, but when we following the guide and copy the BRF Fun

  • IDCS2-Pictureframes shows in PDF

    Pictureframes shows when i generate a lowres pdf, but not when i generate a highres pdf. It is not a frame as souch, more like a thin dottet white line, made by a knife. I have try to solve this, by taking the highres pdf into Acrobat, and then downs

  • Good software

    does anyone know how to uninstall GOOD software program from Treo700p? Post relates to: Treo 755p (Verizon)

  • Dump when printing

    Hi, getting dump  when using 'Print' command. the dump details are: in debugging it is stopping a method for 'TOP OF PAGE' I have used the FM for top page CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'        EXPORTING             it_list_commentary = vt

  • How to color the mandatory fields in a Adobe WebDynpro Java form

    Hi Experts, How to color the mandatory fields in a Adobe WebDynpro Java form? This will avoid any confusion to he end user while filling the form as he would try to type something in field which is set as Read nlybut stil the cursor appears there. Re