Help With Java

Discussion in 'MacBook Pro' started by I Love Mac, Oct 31, 2011.

  1. I Love Mac macrumors member

    Joined:
    Sep 28, 2011
    Location:
    Orlando, Florida
    #1
    Hello I recently purchased a Macbook Pro from Apple and I can't get java to work for me :( I've done the software update and it says i'm up to date but it refuses to work for me??? what am I doing wrong please help!!!!
     
  2. dtodor macrumors member

    Joined:
    Nov 10, 2009
    #2
    Open Terminal and type the following:

    java -version

    You should get an output similar to this:

    java version "1.6.0_26"
    Java(TM) SE Runtime Environment (build 1.6.0_26-b03-383-11A511)
    Java HotSpot(TM) 64-Bit Server VM (build 20.1-b02-383, mixed mode)


    If not, then you don't have any version of Java installed on your system. In this case, browse to any website containing a Java applet, e.g. http://www.jbox2d.org/v2demos/index.html, and Lion should prompt you whether you would like to download and install Java.

    Hope this helps :)
     
  3. dusk007 macrumors 68040

    dusk007

    Joined:
    Dec 5, 2009
    #3
    What are you trying to run?
    Some stuff requires a Java_home environment variable like the ones in Windows you know.

    Just type in terminal
    export JAVA_HOME="/System/Library/Frameworks/JavaVM.framework/Versions/1.6/Home"

    That is if the program cannot find java because it doesn't check path.

    Java is installed by default. Just tell us what you are trying to do that requires java and we can help.
     
  4. I Love Mac thread starter macrumors member

    Joined:
    Sep 28, 2011
    Location:
    Orlando, Florida
    #4
    This sadly did not help either :( I am on target.com trying to print coupons and when i click "print selected coupons" it says i need Java runtime environment but based on the first reply i obviously have that :( please help!!!
     

Share This Page