1. #1
    Unregistered

    Unable to run Java programs from the console in my iMac

    I am trying to run the Java programs in my iMac which as Mountain Lion OS but the problem is I am unable to run the programs properly. So can you tell me what all I should do now? What are the steps to be take?

  2. #2
    samerjeet singh Array
    Join Date
    Nov 2012
    Posts
    570

    Re: Unable to run Java programs from the console in my iMac

    You are getting this problem because mac has not itself java program rinner in it. And if you want to run java application in your mac than you have to download java runner software in you mac. You can download it fromMAC APPLICATION STOREGETJAR.COMZEDGE.COMafter downloading and installing it you will be able to run it.

  3. #3
    ankit60 Array
    Join Date
    Nov 2012
    Posts
    406

    Re: Unable to run Java programs from the console in my iMac

    Your unable to run java on your mac.i think it is occuring because your mac does not have java itself.this problem can be solved easily by getting java application for your mac.you have to download java application suitable for your mac.after downloading it you should install it and after that your problem is fully solved.
    Thanks

  4. #4
    nis_mac Array
    Join Date
    Apr 2013
    Posts
    48

    Re: Unable to run Java programs from the console in my iMac

    Hi friend,

    Java-6-update-2013-Download.jpg

    >>>You are not able to run java program because you don't have any software installed to run java program

    >>>So you need a java program to run java application

    >>>Use Oracle java version 7u17 software to run java which can be downloaded from

    http://www.java.com/en/download/faq/java_mac.xml

    >>>Hope so this information helps you

    Thank You


  5. #5
    ozvert Array
    Join Date
    Nov 2012
    Posts
    286

    Re: Unable to run Java programs from the console in my iMac

    Hello dear...........

    Java update for MAC is available. for query see this link...
    http://support.apple.com/kb/DL1572
    For downloading java update manually then try this link...
    http://support.apple.com/downloads/D...0.5Update5.dmg
    It is about 60-65 MB. Download and install it...
    apple-java-for-mac-os-x-10-6-142646-icon.png
    Hope you may understand......

  6. #6
    somas769 Array
    Join Date
    Jan 2013
    Posts
    172

    Re: Unable to run Java programs from the console in my iMac

    Hello Friend

    Top
    run the program, type the following command in the terminal.

    The is java
    hello world. this command will start a java Virtual machine and attempt to load the class called hello world.

    Once it loads that class, it will
    execute the main method i mentioned earlier.

    you should see
    "hello World" printed in the terminal window.

    You have also
    Text Wrangler is just a text editor for OS X and has no bearing on this situation but this is not necessary.

  7. #7
    Samuel Array
    Join Date
    Nov 2012
    Posts
    697

    Re: Unable to run Java programs from the console in my iMac

    Hello User...

    The answer of your query that the JAVA is not available in iMac now because the software is developing depends on the API at that level - but if you just want to be able to run Java applications, you might be able to make due with the Java 7u5 that is offered by Oracle.

    But if you still wanna try this, then please

    1. Go to /Applications/Utilities/Java Preferences.app and
    2. launch it.

    It should prompt you to install.
    Hope it works.

    Thanks!

+ Reply to Thread

Similar Threads

  1. Replies: 22
    Last Post: 15-09-2013, 07:36 AM