Installing Java in Mac

Hi,
I am having trouble running Java in the Mac OS X. Well, I am totally new to Mac to begin with.
I have unpacked the jdk-1_5_0_04-linux-i586.bin to a directory, let's say, ~/java. However, when I tried
$ ~/java/bin/java -versionit complained that
-bash: java/bin/java: cannot execute binary fileThis never happened when I installed Java in a Linux box. Do I need to install a "special" Java distribution for Mac? Help?
Thank you.
Buhi

To state the obvious, you installed Linux J2SE distribution on Mac. This won't work since binaries are not compatible.
You need to get Mac specific J2SE from Apple and install that one...
http://www.apple.com/downloads/macosx/apple/java2se50release1.html

Similar Messages

  • ...desperating trying to install itunes 10.7, but it asked me to install Mac OS X 10.6.8.  I did, but then it said that I needed to install Java for Mac OS x 10.6.  I did that and now it keeps saying 'this update requires Mac OS X version 10.6??

    ....desperating trying to install itunes 10.7, but it asked me to install Mac OS X 10.6.8.  I did, but then it said that I needed to install Java for Mac OS x 10.6.  I did that and now it keeps saying 'this update requires Mac OS X version 10.6??

    Upgrading to Snow Leopard
    You must purchase Snow Leopard through the Apple Store: Mac OS X 10.6 Snow Leopard - Apple Store (U.S.). The price is $19.99 plus tax. You will be sent physical media by mail after placing your order.
    After you install Snow Leopard you will have to download and install the Mac OS X 10.6.8 Update Combo v1.1 to update Snow Leopard to 10.6.8 and give you access to the App Store. Access to the App Store enables you to download Mountain Lion if your computer meets the requirements.
         Snow Leopard General Requirements
           1. Mac computer with an Intel processor
           2. 1GB of memory
           3. 5GB of available disk space
           4. DVD drive for installation
           5. Some features require a compatible Internet service provider;
               fees may apply.
           6. Some features require Apple’s MobileMe service; fees and
               terms apply.
    Actually, you cannot download Snow Leopard. You downloaded a Snow Leopard updater.

  • Can't install Java for Mac OS X 10.6 Update 10

    Hello everyone
    I've been trying to install Java for Mac OS X 10.6 Update 10 and printer for ages
    What seems to be the problem?
    I have an iMac 11,3
    Also,when I start my computer I have to wait for the bar to load which didn't use to appear some months before,is it something to worry too?
    Thank you for any answer you might have

    Forthnet.192.168.1.254 router,ethernet connected
    There is no apple store where I live that's a big problem...
    Should I install Mountain lion or it's not preferable for my Mac?
    Also I get this note no mountable file system whenever I try to install the updates,literally I can't install any update :/

  • Installed java for Mac OS X 10.6 update 14. Update causing problems with gmail. Can I undo the Apple Update?

    Hello,
    I installed Java for Mac OS X 10.6 through Apple Update.
    Now when I go to gmail a single message previously sent appears as multiple messages sent.
    A separerate message for each line of the original five line message.
    This is the case with a number of previously sent messages.
    Thanks for your help.

    Hi Pat,
    Java for OS X 2012-006: How to re-enable the Apple-provided Java SE 6 applet plug-in and Web Start functionality
    http://support.apple.com/kb/HT5559

  • Installing "Java for Mac OS X 10.5 Update 6" (1.0) causing problems

    Hi,
    I installed the "Java for Mac OS X 10.5 Update 6" (1.0)" yesterday evening and it caused problems:
    - network
    - date/time screwed up
    - Time Machine crashed
    My environment is a MacBook Pro, running 10.5.8, all latest patches applied. During the install all other applications were closed (my once in three months cleanup of the desktop , Time Machine was not running although it might have kicked in during the download, I left it alone for install and the necessary reboot. I didn't hook it up to the power, had 82% battery left, afterwards (after all repairs) still 76%, so my guess is that is not the root cause, although I did get the power source warning and waved it away during the installs.
    Looking back into the logfiles and using some gut-feeling I do think somehow the date/time seeting was screwed up and caused all other problems. The date was reset to the famous Unix starttime, Jan 1, 1970. At first I didn't notice, only after my network (Airport Extreme based) asked me WPA password and then complained about the date/time I noticed something weird.
    After resetting date/time, verifying the disk for problems (none found), re-entering the WPA password, network ran again, had to re-connect with the Time Capsule and check the sparse backup-volume there before I got everything up-and-running again.
    Not a very big deal, but annoying, and certainly something wrong in the update here.
    Anyone any explains ?
    Regards,
    Wim.

    Sorry if I missed it...have you scoured logs for anything that might shed light on success/fail during the install?

  • Why can't I print pdfs since installing Java for Mac OS X 10.6 update 12?

    Two days ago I installed the software update 12 for Java for Mac OS X 10.6 now pdfs I try to print come out blank or with data, only the company's logo

    I read the article.  This problem of mine occurs when I try to print from an email attachment not from a website. 
    I am in Mail not Safari.  I click the little triangle to show the attachment then double click the icon of the attachment, the pdf opens in adobe reader but when I try to print it the page that comes out of my printer is blank or shows only the masthead of the company but no content. 
    I tried a two month old email attachment and got the same results.
    I looked for the plug-ins mentioned in the article but coul not find them on my Mac in the applications file.
    Does anyone know how to uninstall the "Java for Mac OS X 10.6 update 12" ??

  • Unable to install java on Mac OSX Lion.

    When getting promted with a "you must download java runtime"-dialogue box, it says I'm not connected to an internet connection when I most certainly are. I've tried every known method for installing java on this OS, all of them prompts me with the same error-message. As I am posting from my Macbook on this board right now, I am indeed connected to the internet.
    ... any thoughts? I think this is a tad more hassle than it needs to be.
    Best regards,
    trymv.

    Please don't close the thread.
    The "solution" misses the point of the problem.
    The Java runtime won't install because of some phanton network connection problem. The network works just fine for everything else, but this dialogue box ("To open “Dreamweaver,” you need to install a Java runtime, but you are not connected to the Internet.") keeps popping up, and then you are stuck.

  • How do I install Java for Mac OS X Lion?

    After installed Lion, I always reive a message " TO open"JAVA," you need to install a JAVA Runtime, but you not connected to the internet." but I was connect to the internet. I following the instuction to test the net connection, the net is fine, I change from WIFI to Lan, still same.
    I did installed Lion to my Air, after installed, the download for Runtime is auto. The problem happend with my MBP i7.
    Please help me, without this, I can not regist my Quickbooks on like.

    thanks, it won't work. But I find out Java is not part of Mac OSX anymore, you have to install it manually. You can get it here: http://support.apple.com/kb/DL1421
    I have just install it, it WORKS!!!!!!

  • Software Update doesn't install Java for Mac OS X 10.5 Update 1

    The installation blue bar gets about 60% of the way across the screen then seems to freeze and doesn't go any further. Has anyone else had any similar problems with this install? All other software updates are fine.

    Manually download and install it.

  • The Java for Mac OSX 10.5 Update 10 removed the Java plugin from Firefox 5.0. How do I re-install it?

    I've just installed Java for Mac OSX 10.5 Update 10 and can no longer run Java Applets from Firefox 5.0

    Dear Craig,
    Macbook Pro 2.4GHz Intel Core 2 Duo 4 GB RAM
    I'm sure that this is 64-bit
    CF 8.0.1 Enterprise Build 3080
    I had moved the Java SE 6 to the top in both Plugin and Applications. The
    correct version is showing in the terminal window. See below.
    Last login: Thu Jun 18 11:27:09 on ttys001
    Beta-4:~ Colin$ java -version
    java version "1.6.0_13"
    Java(TM) SE Runtime Environment (build 1.6.0_13-b03-211)
    Java HotSpot(TM) 64-Bit Server VM (build 11.3-b02-83, mixed mode)
    Beta-4:~ Colin$
    CF will not start. I have the activity monitor open, and when I start CF you
    see it in the activity monitor for a few seconds as it starts up. When the
    message process is completed in the terminal window CF disappears in the
    activity monitor.
    Any suggestions?
    C
    Hi, Colin,
    My apologies but I forgot to ask 2 questions: (1) What kind of Mac you have
    (Intel or PowerPC)? (2) What version of CF are you running and what installer
    did you choose (8 or 8.0.1, 32-bit, 64-bit, etc.)?
    To start, try the following:
    1. Normally you'd shut CF down first ... but that's not necessary for you
    2. Open Java Preferences again
    3. Select Java SE 6 and move it (drag) to the top spot in both section (Applet
    Plugin and Applications)
    4. Open Terminal
    5. Type java -version (you should see 1.6.0_13 as the new version)
    6. Try to start CF again
    This may not work (I've had issues with it) but it's technically how it's
    supposed to work. With the Java Preferences utility, you're visually setting a
    default JVM (you can do it with commands in Terminal but this is much faster
    and easier).
    If CF still won't start, look for the jvm.config file in your CF application
    folder (try /Applications/ColdFusion8/bin or
    /Applications/ColdFusion8/runtime/bin -- the latter is where a jvm.config file
    is on my machine for a particular version of CF that's installed similar to
    yours). You can override the JVM in this file but, hopefully, that won't be
    necessary!
    Best,
    Craig

  • Cannot open Photoshop: get error: To open "Adobe Photoshop CS5.app," you need a Java SE 6 runtime. Would you like to install one now?  However installing Java SE 6 runtime does not fix nor does installing Oracle Java SE 7. Adobe says Apple is problem.

    Searching the internet for solutions to this and some discussion with Adobe.
    Adobe say Photoshop does not use java so it should not be asking for a java runtime.
    The question is how can I stop Photoshop asking to install java since Photoshop does not need or use Java to run?
    Found various links that might be helpful:
    http://apple.stackexchange.com/questions/58203/mountain-lion-with-java -7-only/58841#58841,
    Work around for app that asks fo SE 6 when SE 7 is installed
    Running Java Apps on OS X with Only JRE 7
    How OS X determines an app needs Java,
    Installing & Deinstalling Java SE 6 & SE 7, http://helpx.adobe.com/x-productkb/global/install-java-jre-mac-os.html
    Adobe's Installing Java SE 6
    Java Mac Security and Background to SE 6 to SE 7 Changes
    Java 7 & OS X
    Known Issues with Adobe Software on OS X Lion
    Adobe's Installing Java SE 6

    However as I have Oracle Java SE 7 installed and SE 6  is deprecated and no longer supported for security reasons.
    Apple is actually responsible for Java 6's security. They take Oracle's code and do whatever is needed to make it compatible with Apple's OS. Java 6 is still getting security updates from Apple. Versions 6 and 7 can also exist on the same drive. They won't interfere with each other.
    Also I am assured in no uncertain terms by Chris Cox over at Adobe that Photoshop CS 5 does not use java at all and that the java error message  and so called dependency is just an error on the part of Apple.
    I did find a topic where Chris stated that for CS6, which I know is true. I've installed CS6 (and CC) on a newly formatted drive in Mountain Lion, and neither made any mention of requiring Java. Could have sworn CS5.5 and earlier did you Java for a few functions. Though I likely only assumed that since that version and earlier always causes a prompt to install Java if it isn't already on the drive.
    So is there any way to run Photoshop with SE 7 only installed or even better with no java installed?
    It doesn't really matter much if Java is installed. Java 6 should put an app in the Utilities folder by the name of Java Preferences. Open that, and you can completely disable it by undoing the check boxes.
    Perhaps there is a way to make OS X stop thinking it needs java SE 6 to run Photoshop CS 5.
    Apple would have to make a change to the OS itself. It's a not a user accessible setting.

  • Java for Mac OS X 10.5 Update 2

    Software Update keeps telling me that this update is available, even after multiple "successful" installations and reboots. Any ideas why?
    $ java -version
    java version "1.5.0_16"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_16-b06-284)
    Java HotSpot(TM) Client VM (build 1.5.0_16-133, mixed mode, sharing)

    revoir wrote:
    This morning i installed "Java for Mac OS X 10.5 Update 2" on my 2x3 GHz Dual-Core Intel Xeon, running OS X 10.5.5 with all available official Spple Software updates.
    Since that update my mac freezes when any scrensaver is activated.
    Plus, i can no longer edit Google spreadsheets, neither on Safari nor on Firefox (i was able to do that before and i can still do that on a windows machine, though).
    Has anyone experienced similar phenomenons and possibly found a solution?
    I have not yet installed it. I usually wait for a while and even then I do a manual DL and install.
    I don't know about the Google thing, but I don't know what the tie-in is with your screensaver, unless you are using some Java based 3rd party SW for running it.
    The update included some security items to prevent a website from taking over your computer. While I personally don't trust Google to access my system, it's possible that Google has not make their system compatible with this new Java update.
    And finally, it's possible that there is something wrong with the update.
    You might be able to uninstall it but I would be careful and certainly make sure my backup was good.

  • How do I install Java 6 on my Mac OS X 10.6.8?

    Just purchased a GoPro3 and it needs an important update, however my Mac keeps telling me to install Java 6, but when I go to my Mac Software Update it tells me everything is up to date.

    I got the same message when I updated my GoPro 3. Was pretty sure that everything was up to date on my Mac, but dowloaded it anyway. After the Java update was done the GoPro update worked.
    You might try doing the Java update from the link provided via the GoPro process and see if it works.
    Hope you enjoy your GoPro as much as I do!
    Nathan

  • How could i install Java on my Mac OS X 10.6.8 ?

    Hello.
    First of all I am French so please excuse me for my English.
    I tried to install Java on my MAC but unfortunately the download of the software always meets the same problem... It asks me to be under mac OS X 10.7 but my computer does not propose me update. What should i do ?
    Thank you

    http://support.apple.com/kb/DL1360
    Note: Java 1.6 for Leopard is 64 bit only, but for Snow Leopard it is available for both 32 and 64 bit.
    http://www.roguish.com/blog/?p=266
    Since August 2012 updates for Java (and especially Java Runtime Environment, which is what you actually need) must now be downloaded direct from Oracle:
    http://www.oracle.com/technetwork/java/javase/downloads/jre7-downloads-1637588.h tml
    Further information here:
    http://www.oracle.com/us/corporate/press/1735645
    and their FAQ’s:
    http://docs.oracle.com/javase/7/docs/technotes/guides/jweb/mac-faq.html
    However, if you need the Jave 6 JRE and plug-in, MadMAC0 has posted at
    https://discussions.apple.com/message/20107182?ac_cid=tw123456#20107182
    Apple has also posted (Oct 22/12) the approved solution for restoring the Java 6 plug-in:
    Java for OS X 2012-006: How to re-enable the Apple-provided Java SE 6 applet plug-in and Web Start functionality.
    Interesting article here on why Apple removed Mac browsers’ ability to run Jave Applets:
    http://www.techweekeurope.co.uk/news/apple-java-browser-mac-os-x-96827

  • How can install java sdk for mac os x 10.6.8

    How can install java sdk for mac os x 10.6.8?

    Deanwdd wrote:
    I mean to update Quicktime for Mac Os X 10.6.8...
    If you're running 10.6.8, Apple menu > Software Update. What version of QT do you have?

Maybe you are looking for

  • DVS Document Name

    Hi guys.. How can i create an DVS Document (CV01N9 and keep the Filename after Checking the document in alive? The Doc Name is only visible before Chekcing in!

  • Since software update, can't see contents of iPod when connected to iTunes

    About 2 days ago, when I connected my iPod to my pc (iTunes), it said there were some software updates for my iPod so I downloaded them and the iPod rebooted itself. Once it came back up, my iPod showed up in iTunes under "devices" on the left hand s

  • Can anyone help me fix my iPod/iTunes problem?

    I have an iPod Touch Gen 3 with iOS 5.1.1.  I'm running Windows 8 (which is probably my first problem) and iTunes 11 or whatever the latest one is.  For whatever reason, whenever I add a song from my laptop to my iPod, the song: A) either skips, only

  • Need more battery life...

    I'm going on a veeeeery loooong plane ride and would like my son to be kept busy watching some of the videos I've purchased... how can I get more than 2 video hours from my ipod vido (30) without a power source to plug into...?????

  • Sorting a arraylist user defined object

    I'm curious as to how I would go about sorting an object that I created. I would like to sort the object by the name variable in the Employee class. I tried just doing Collections.sort(staff);, but that throws the 'ClassCastException' exception. Here