10 48 likes 248,550 views Last modified May 4, 2021 7:44 AM

This tip replaces version 2126 originally released on the Discussions Feedback forum..

If you looking on the internet a MacOS High Sierra DMG So, you come to the right place now a day shares with you a Mac OS High Sierra 10.13.6 direct download without an app store. Mac OS operating system it’s too much popular in the world for security vise and a lot of cool features, Apple Upgrade the operating system Sierra to High Sierra 10. Java For Mac Os High Sierra 10.13.6 13 6. The newest version of macOS High Sierra works on Macs, MacBook’s, and has many new features. A stable release of macOS High Sierra will avoid any random crashes. The previous version bugs are eliminated, new features are added. Download Adobe Photoshop 2020 for Mac OS for free The media industry is an ever-growing one and with a lot of technical aspects surrounding Download Adobe Photoshop 2019 full version for Mac OS. How to Install Java in macOS High Sierra & Sierra. The best approach to install Java on the Mac is to get the latest version of Java JRE directly from.

Find the serial number on:

Plug your serial number in at this link:

Do not use third party links as they may not be secure. Do not post the serial number on this board, as that is your key to any support you may have left.Use this tip also to help figure out which portion of the Support Community to post in, as this tip explains:

When you have no serial number, use one of these third party sites to find your model, production year, time in year(early, middle, late) http://www.everymac.com/ is a great resource to isolate your model based on EMC#, Apple part number, and other features.

Note:PowerMac, PowerPC, eMac, iMac PPC, iBook (Apple recycled the name iBook for its eBook application on new Macs and iOS devices), Powerbook, Classic all refer to Macs that are older than the present seriesof Macs. Posting in those forums about a current Mac, shows you have not researched your Mac sufficiently to get a succinct answer to your query. Apple menu -> About This Mac will tell you the Mac OS version or System version you are running. The X in the version is important, and so is the preceding 10 in the version if it exists.Questions saying X.1 could refer to Mac OS X 10.13.1, 10.1. Don't truncate the version you see.

There are no iOS forums specific to the operating system found on iPads, iPod Touch, AppleTV, Apple Watch, and iPhones. Figure out the type of portable device you are running to ask a question about that device specifically.

Apple has these identifying articles as well:

http://support.apple.com/kb/ht3255 - MacBook Air

http://support.apple.com/kb/ht1635 - MacBook

http://support.apple.com/kb/ht4132 - MacBook Pro

http://support.apple.com/kb/ht3476 - Mac Mini

http://support.apple.com/kb/HT6069 - Mac Pro

http://support.apple.com/kb/ht1758 - iMac

http://support.apple.com/kb/sp96 and http://support.apple.com/kb/sp37 - PowerMac G5

http://support.apple.com/kb/TA25585 and http://support.apple.com/kb/ht3082 - PowerMac G4

http://support.apple.com/kb/TA22033 - PowerMac G3

http://support.apple.com/kb/ht3065 - Powerbook G4

http://support.apple.com/kb/ht2395 - eMac

http://support.apple.com/kb/ht2287 - Powerbook G3

http://support.apple.com/kb/ht1772 - iBook (not to be confused with their eBook format)

Macs generally will not run an older Mac OS X operating system than shipped with them.The one exception is virtualizing 10.6 Server on 10.7 or later, which is described later.

Also important to note is that the Apple App Store only has 10.7, 10.8, and 10.12, except for those who purchased in between systems, and have a Mac that shipped with in between systems. For all others if you need an in between system, and your Mac is older, contact the App Store tech support.A quick upgrade guide has been posted on Upgrade paths available to Intel Macs*

These dates are important for recognizing what Mac OS X will run on Macs. Macs released on or after (including their model #s or namewhere known):

November 12, 2020 will only run 11.0 or later:

MacBook Air 10,x

MacBook Pro 17,x

Mac Mini 9,x

iMac 24' color toned flatscreen models

October 7, 2019 will only run on 10.15 or later:

iMac 20,x

Macbook Air 9,x

MacBook Pro 16,x

September 30, 2018 will only run 10.14 or later

• MacBook Pro EMC 3358, 3359, 3301

• MacBook Air 8,x

• Mac Mini 8,x

• iMac 19,x

• Mac Pro 7,x

September 25, 2017 will only run 10.13 or later.

• iMac Pro 1,1

• MacBook Pro 15,x (2018 model)

June 5, 2017 Mac models (all 2017 Models except iMac Pro) will only run 10.12.5 or later

• MacBook Pro 14,x

• MacBook Air 7,2

MacBook 10,1

• iMac 18,x

September 20, 2016 will only run 10.12 or later.MacBook Pro with touchbar (instead of physical F keys)

• MacBook Pro 13,x

• iMac 18,x

• MacBook Air 7,2 see this article on which ones could only run 10.12 or later.

September 30, 2015 will only run 10.11 or later. These Macs are the first Macs that can be upgraded directly to Mac OS 10.14 without installing any other software.

• iMac 16,x and 17,x

• Macbook 9,x (these Macbooks came with the USB-C, instead of the USB 2 or USB 3 connector. USB 3 and 2 look identical on the outside, use System Profiler to determine which you have)

October 16, 2014 will only run 10.10 or later (10.10 is only available for Macs that shipped with it).

• MacBook Air 7,1 and 7,2 (some models could only run 10.12 or later).

• Mac Mini 7,xiMac MF885LL/A came with 10.10.2. All other 15,x came with 10.10.0

• MacBook 8,x - the oldest that can run Mac OS 10.14 with this model name after installing 10.11 or later.

• MacBook Pro 11,4 and 11,5

Java For Mac Os High Sierra

October 22, 2013 will only run 10.9 or later (10.9 is only available for Macs that shipped with it).

• Macbook Pro 11,1 through 11,3

• Mac Pro 6,x

• MacBook Air Early 2014

• Mac Mini 6,x

• iMac 14,4

June 25, 2012 will only run 10.8 or later. 10.8 through 10.11 are supported by these Macs [indicate machine ID found in profiler], and newer models may run some variety of 10.9, 10.10, or 10.11):

MacBook Pro with Retina EMC 2557 from 2012 and 2013 and later models.MacBook Air (2013 or newer) [6,1]MacBook Air (Mid 2013 or newer) [6,1]Mac mini (Late 2012 or newer) [6,1] - the oldest that can run 10.14 after installing 10.11 or later.iMac (Late 2012 or newer) [13,1]Mac Pro (Late 2013) [6,1]These models above are the first models that can be upgraded directly to High Sierra 10.13 without other prior upgrades.

The oldest MacBook Air and iMac that can run Mac OS 10.14 after installing 10.11.• MacBook Air 5,1• iMac 12,1

These Macs which are older can also be upgraded to 10.12 by upgrading to 10.7.5 first, and 10.13 by upgrading to 10.8 first:

MacBook (Late 2009 or newer) 6,1MacBook Pro (Mid 2010 or newer) 6,1MacBook Air (Late 2010 or newer) 3,1.Mac mini (Mid 2010 or newer) 4,1iMac (Late 2009 or newer) 10,1Mac Pro (Mid 2010 or newer) 5,1

The Macs are compatible with 10.8 and later from prior 10.8's releaseMac Pro (Early 2008 with AirPort Extreme card, or Mid 2012) [3,1]-[5,1] (Earlier Mac Pros are discussed on the 10.8 upgrade tip).MacBook Late 2008 [5,1] to mid 2010 [7,1] with no Pro or Air in the name.iMac (Early 2009 to mid-2011) [9,1] to [12,1]Mac mini (Mid 2010 to mid 2011) [4,1] to [5.1]MacBook Air (Late 2010 to mid-2012 [3,1]-[5,2]MacBook Pro Late 2008 [5,1] to Retina 2012 that are not EMC 2557.

July 20, 2011 will only run 10.7 or later. The model IDs (x,x) and EMC that fit this description until June 25, 2012 release of 10.8 (excluding the ones which will run only 10.8 or later earlier mentioned) :iMac of an EMC of 2496; 13,x and later.Mac Mini 5,x and later.Macbook Air 4,x and later.MacBook 8,x and later (no Pro no Air in the name)Mac Pro 5,1 with EMC 2629 - the oldest that can be have Mac OS 10.14 installed after installing 10.11 or later, those without that EMC number came with 10.6 and can also be updated to 10.14 the same manner; 6,x and later.

MacBook Pro with EMC 2555, 2563; 9,x and later.

Note all the Macs that can only run 10.7 and later, may be able to run 10.6 Server with Parallels, if you need compatibility with an older operating system:Rosetta/PowerPC Applications and Lion and above

Beyond this point Macs released during certain date ranges also have a maximum operating system, and/orminimum retail operating system and system specific operating system requirement (when I say up to 10.9 that includes all incremental updates):

Note: images shown below for retail operating system are those that have no 'Update, Dropin, or OEM' wording on them.

March 15, 2010-July 19, 2011 will only run prebundled 10.6 installer disc, and not retail, but also able to be upgraded to 10.9. Note this tipif upgrading to 10.7 or later: https://discussions.apple.com/docs/DOC-6271

August 28, 2009-March 14, 2010 will only 10.6 or later up to 10.9. And will at minimum be able to use10.6.3 retailto install 10.6. Note this tip if upgrading to 10.7 or later: https://discussions.apple.com/docs/DOC-6271

During 2000 to 2009, the serial number also made it easier to identify the Macs, as the 3rd, 4th, and 5th character of the serial number referred to the weekand year of the shipment date. Thus for serial numbers where x can be any letter or number, xxABCxxxxx serial numbers would refer to an A which is the last digit of the year, and BC=week of the year. xx905xxxx is the fifth week of 2009. You can then use Wikipedia to figure out what date the release was, and if it was after a specific retail release of an operating system to determine which pre bundled disc it came with, and which later retail discs the Mac could work with.

December 15, 2008-August 28, 2009 will only run prebundled 10.5 installer disc, and 10.6 retail https://discussions.apple.com/content/attachment/43236040snow.jpg, and if on https://discussions.apple.com/docs/DOC-3761will also run up to Mac OS X 10.11 if you follow this tip: https://discussions.apple.com/docs/DOC-6271

October 28, 2007 -December 14, 2008 will at minimum be able to use the 10.5.6 retail, and install up to 10.9 if included on https://discussions.apple.com/docs/DOC-3761 if you follow this tip https://discussions.apple.com/docs/DOC-6271

Download java for mac os

January 10, 2006-October 27, 2007 will at minimum be able to 10.5 retail, and ifon Which 10.5 systems can upgrade to 10.8 or 10.9?or Are there 10.4 systems that can upgrade to 10.8 or 10.9? areable to run 10.9. Core2Duo and Xeon can upgrade to a minimum of 10.7.5. Otherwise if they only have a CoreDuo, CoreSolo Intelprocessor only be able to upgrade to Mac OS X 10.6.8. G5, G4, and G3 processors are not Intel.

Earlier dates are covered on this tip:Can I download my Mac OS upgrade?

Using the dates from the above documents, and the dates according to Wikipedia when specific retailoperating system systems were released, you can find which retail releases were newer than the Macs and the ones immediately older.

i.e.:An October 24, 2011 Macbook Pro will only run 10.8 retail, and 10.9 retail downloads, but needs anAppleCare requested 10.7 installer to install 10.7. An exception exists in 10.6 Server, as indicated here:Rosetta/PowerPC Applications and Lion and above

A pre-October 26, 2007 MacBook Pro will only run the system specific Mac OS X 10.4 installerthat shipped with it, which can be ordered from AppleCare, or newer retail installer versionsof 10.5, 10.6 compatible with its hardware, and 10.7 if it is at least a Core2Duo.CoreDuo, nor is CoreSolo is not compatible with 10.7.

For PowerPC Macs, Mac OS X 10.4.11 and earlier offer Classic compatibility, and on certain 2003 and earlier Macs dual booting on Mac OS X 10.5 & Mac OS 9:

No Mac may run an older version of Mac OS 9 than was prebundled with it.

A more precise timeline of Mac OS X follows (in U.S. date notation. Links to relevant articles up to 10.7 are included, as 10.7 drops PowerPC applications on Intel):

9/20/2016 10.12 Sierra released.9/30/2015 10.11 El Capitan released.4/8/2015 10.10.3 (with supplemental on 4/16/2015)1/27/2015 10.10.211/17/2014 10.10.110/16/2014 10.10 Yosemite9/17/2014 10.9.56/30/2014 10.9.45/15/2014 10.9.32/25/2014 10.9.210/22/2013 10.9 (10.9 & 10.9.1 should be skipped due to security issues) Mavericks10/3/2013 10.8.5 supplemental update9/25/2013 10.8.4 iMac Late 20136/10/2013 10.8.4 MacBook Air mid 20136/4/2013 10.8.43/14/2013 10.8.311/29/2012 10.8.2 Mac MIni Late 201210/4/2012 10.8.2 supplemental update10/4/2012 10.7.5 supplemental update8/23/2012 10.8.17/25/2012 10.8 Mountain Lion5/9/2012 10.7.42/1/2012 10.7.310/12/2011 10.7.28/16/2011 10.7.17/25/2011 10.6.8 v1.17/20/2011 10.7.0 Lion

5/4/2011 10.6.7 Early 2011 MacBook Pro3/21/2011 10.6.71/6/2011 10.6.611/10/2010 10.6.56/15/2010 10.6.44/13/2010 10.6.3 v1.14/1/2010 10.6.3 retail installer presently sold at the online Apple Store.8/28/2009 10.6 retail installer (Snow Leopard)

12/15/2008 10.5.6 retail installer (Last PowerPC installer)

6/30/2008 10.5.4 retail installer

11/15/2007 10.5.1 retail installer

10/26/2007 10.5 retail installer (Leopard)

8/7/2006 Mac Pro (Intel, first Snow Leopard compatible professional desktop) replaces PowerMac G5 (the last PowerPC Mac and Mac capable of running Classic)

5/16/2006 The MacBook replaces the iBook (the last consumer notebook capable of running Classic)4/3/2006 10.4.6 retail PowerPC only. 2/28/2006 First Intel Mac Mini (not capable of running Classic, first Mac)1/10/2006 First Intel iMacs, MacBook Pro replaces Powerbook (first Macs not capable of running Classic, first Mac capable of running Snow Leopard)10/31/2005 10.4.3 retail PowerPC only.4/29/2005 10.4 retail (Tiger)8/9/2004 10.3.5 retail 12/17/2003 10.3.2 retail10/24/2003 10.3 retail (Panther)12/19/2002 10.2.3 8/24/2002 10.2 (Jaguar)Some hints about operating systems:- Mac OS X 10.8 or later are required to sync with iOS 9.2 or 9.2.1.- No PowerPC Mac can run Mac OS X 10.5.8 or higher, or sync with iOS 6 or higher.- No PowerPC Mac can run Boot Camp- No Mac can run Classic (side by side Mac OS 9 with Mac OS X without reboot) on the same partition as Mac OS X 10.5 or higher.- No Intel Mac can run Classic.Upgrading to 10.7 and above, don't forget Rosetta!- All Intel Macs can run at least Mac OS X 10.6.8 as long as they are older than Mac OS X 10.7's release.- PowerPC applications need Mac OS X 10.6.8 or earlier to run on Intel Macs.- Boot Camp needs Mac OS X 10.5 or later on Intel Macs. Note other virtualization tools are available for Mac OS X 10.4.11 or earlier on Intel Macs.- Mac OS X 10.7.3 is needed for the latest Java and minimum iCloud.- The same minimum system requirements exist for Mac OS X 10.8, 10.9, 10.10, and 10.11.- 10.6.6 is the minimum for the Mac App Store, and upgrading to 10.7 without erasing the drive you install 10.7 on if the hardware supports it.- 10.6.8 is the minimum for 10.8 or later upgrades if the hardware supports it.- Apple has a 10.6.8 to 10.11 updateon the App Store.- Some Macs that shipped with 10.6 can install up to 10.12 if they are upgraded to 10.7.5 first.

This document instructs you on how to set up a Java programming environment for your Mac OS X computer. It also provides a step-by-step guide for creatingand compiling a Java program in IntelliJ and executing itfrom the command line.

Download JavaScript OSA for Mac to script language for apps supporting OSA languages. Operating Systems Macintosh, Mac OS Classic, Mac OS X 10.0, Mac OS X 10.1. If you have not yet installed Apple's Java OS X 2012-006 update, then you are still using a version of Apple Java 6 that includes the plug-in and the Java Preferences app. See 'Note for Users of OS X that Include Apple Java 6 Plug-in'. There can be multiple JDKs installed on a system, as many as you wish. The Eclipse Foundation - home to a global community, the Eclipse IDE, Jakarta EE and over 375 open source projects, including runtimes, tools and frameworks. Apple Java 2017-001 - For OS X 10.7 through macOS 10.13. Download the latest versions of the best Mac apps at safe and trusted MacUpdate. MacOS 10.12 Sierra.

You will need a Mac runningMac OS X 10.13 (High Sierra) to Mac OS X 10.15 (Catalina).

0. Install the Java Programming Environment

The installer installs and configures a Java programming environment, includingOpenJDK 11 andIntelliJ IDEA, Community Edition 2020.1.

  • Log in to the user account in which you will be programming.Your account must have Administrator privileges.
  • Download the Mac OS X installerlift-java.pkg.
  • Double-click lift-java.pkg to install the software.Enter your Mac OS X password when prompted and use all of the default options.


    If you have previously used IntelliJ,run this installer only if you want a clean re-install.The installer overwrites IntelliJ IDEA CE.app andany previous IntelliJ 2020.1 settings.

  • Delete lift-java.pkg (if it is not automatically deleted).

1. Open a Project in IntelliJ

Install Java On Macos High Sierra

You will develop your Java programs in an application called IntelliJ IDEA, Community Edition.

IntelliJ organizes Java programs into projects.In our context, each project corresponds to one programming assignment.A typical project contains Java programs, associated data files, andcourse-specific settings (such as compiler options, style rules, and textbook libraries).

  • Download the project for your programming assignment to a convenient location(such as the Desktop).

    [ sample project for COS 126 (Princeton) ]

    [ sample project for COS 226 (Princeton) ]

    [ sample project for Computer Science: Programming with a Purpose (Coursera) ]

    [ sample project for Algorithms, Part I (Coursera) ]

    Double click the zip file to unzip.This creates a project folder with thename of the corresponding programming assignment (such as helloor percolation).Delete the zip file.


    The project folders contain course-specific information. Be sure to downloadthe one corresponding to your institution and course.

  • Launch IntelliJ via Finder → Applications → IntelliJ IDEA CE.app.
  • When you launch IntelliJ for the first time,
    • IntelliJ may displaytheJetBrains privacy policy.Scroll down and Accept.
    • IntelliJ may ask if you want to send anonymous usage statistics to JetBrains. Choose your preferred option.
  • To open a project from the Welcome screen,click Open and select the project folder.You should see an assignment logo (in the main editor window) and a list of project files (in the Project View sidebar at left).
    When you launch IntelliJ for the first time,it may take a minute or two to index your files;some features (such as auto importing) will be unavailable until this process completes.


    Do not select Create New Project;this option is intended for advanced programmers.Also, always use Open with a project folder, not an individual file.

  • When you are finished working, select the menu optionIntelliJ IDEA → Quit IntelliJ IDEA (⌘Q) to exit IntelliJ.The next time you launch IntelliJ, your recent projectswill appear in the Welcome screen for easy access.

2. Create a Program in IntelliJ

Now you are ready to write your first Java program.IntelliJ features many specialized programming toolsincluding line numbering, syntax highlighting, bracket matching, auto indenting,auto formatting, auto importing, variable renaming, and continuous code inspection.

  • To create a new Java program:
    • Re-open IntelliJ and the project (if you closed it in the previous step).
    • Click the project name in the Project View sidebar (at left), so that itbecomes highlighted.

    • Select the menu option LIFT → New Java Class.When prompted, type HelloWorld for the Name and click OK.

  • In the main editor window, complete the Java programHelloWorld.java exactly as it appears below.(IntelliJ generates the gray boilerplate code automatically,along with the course header block comment.)If you omit even a semicolon, the program won’t work.
  • As you type, IntelliJ highlights different syntactic elementsin different colors.When you type a left bracket, IntelliJ adds the matching right bracket.When you begin a new line, IntelliJ indents it.

  • To save the file, select the menu option File → Save All (⌘S).When you save the file, IntelliJ re-formats it (if necessary).

3. Compile and Execute the Program (from IntelliJ)

Now, it is time to execute (or run) your program.This is the exciting part, where your computer follows the instructionsspecified by your program.Before doing so, you must compile your program intoa form more amenable for execution on a computer.

  • Select the program that you wish to compile and execute in the the Project View sidebar. The program should now appear in the main editor window.
  • To compile your program,select the menu optionLIFT → Recompile 'HelloWorld.java' (⌘B).If the compilation succeeds, you will receive confirmationin the status bar (at bottom).

    If the compilation fails, a Recompile panel will open up (at bottom),highlighting the compile-time errors or warnings.Check your program carefully for typos, using the error messages as a guide.

  • To execute your program,select the menu option LIFT → Run 'HelloWorld' with Arguments (⌘E).Since this program takes no command-line arguments, click OK.

    You should see the output of the program (in white), along with a messagethat the program finished normally (with exit code 0).


Use the LIFT menu to compile and execute your program from IntelliJ.The Build and Run menus support additional options for advanced programmers.

Also be sure that the main editor window is active before using the LIFTmenu (e.g., by clicking the code you want to compile or execute).

4. Compile and Execute the Program (from the command line)

The command line is a simple and powerful mechanism forcontrolling your programs (e.g., command-line arguments,file redirection, and piping).IntelliJ supplies an embedded terminalfor easy access to the command line.

  • Select the menu option View → Tool Windows → Terminal (⌘2).
  • This will launch a Bash terminal where you type commands.You will see a command prompt that looks something like this:

    The ~/Desktop/hello is the current working directory, where~ is shorthand for your home directory.

  • To compile your program,type the following javac command.More specifically, type the text in yellow that appears on the same line as thecommand prompt.Assuming that the file HelloWorld.java is in the current working directory,you should not see any compile-time errors or warnings.
  • To execute your program,type the following java command:You should see the output of your program beneath the line on which you typed the command.


    Typically, you should compile from IntelliJ(because IntelliJ highlights the lines on which anycompile-time errors or warnings occur) and execute from the command line(because the command line makes it is easy to specify command-line argumentsand use file redirection).

5. Textbook Libraries (from the command line)

To make our textbook libraries accessible to Java from the command line,you will use our wrapper scripts.

  • Computer Science: An Interdisciplinary Approach (including COS 126 students).The programBarnsley.javauses our standard drawing and standard random libraries in stdlib.jar to draw aBarnsley fern.First download Barnsley.java.Then, use the Finder to move itto a project folder (such as hello).Finally, to compile and execute it,type the following commands in the terminal:When you execute the program, a standard drawing window will appearand an image like this one will be generated, one point at a time:

    To get your command prompt back, close the standard drawing window.

  • Algorithms, 4th Edition (including COS 226 and Coursera students).The programCollidingDisks.javauses various libraries in algs4.jarto simulate the motion of n disks subject to the lawsof elastic collision.First download CollidingDisks.javaThen, use the Finder to move it to a project folder (such as percolation).Finally, to compile and execute it,type the following commands in the terminal:When you execute the program, a standard drawing window will appearwith an animation of 20 colliding disks.To get your command prompt back, close the standard drawing window.

    Frequently Asked Questions

    I installed IntelliJ and Java using the lift-java.pkg installerlast semester or year. Should I rerun this semester?
    Yes. This installer includes IntelliJ 2020.1and Java 11.The old installer may have used an earlier version of IntelliJ or Java.
    I previously used either the introcs.app or algs4.app installer.Should I use the lift-java.pkg installer?
    Yes. This installer includes IntelliJand Java 11 (instead of DrJava and Java 8).
    What happens if I rerun the lift-java.pkg installer?
    It will re-install and re-configure OpenJDK 11, IntelliJ,SpotBugs, PMD, Checkstyle, our textbook libraries,and wrapper scripts.
    The installer failed. How can I investigate why?
    Check the installer log at /var/log/lift.log.
    I have Mac OS X 10.12 (Sierra). Is that too old?
    Yes.Yes. IntelliJ 2020.1 requires Mac OS X 10.13 (or newer).
    How long will the installer take to complete installation?
    Once downloaded, it should take about a minute.If you have anti-malware protection software running (such as McAfee Endpoint), it couldtake 5–10 minutes.
    What does the lift-java.pkg installer do?
    In short, it installs and configures Java, IntelliJ,SpotBugs,PMD,Checkstyle,and our textbook libraries,along with accompanying command-line tools.Here is a more detailed list:
    • Installs OpenJDK 11.0.7.
    • InstallsIntelliJ 2020.1.1with customized user preferences,available indepedently as lift-intellij.pkg.
    • Installs the following command-line tools for Java, available independently aslift-cli.pkg.
      • The textbook librariesstdlib.jar andalgs4.jar.
      • Java wrapper scripts, includingjavac-algs4 and java-algs4.
      • Custom.bashrc,.bash_profile, and.inputrc files.As a precaution, the installer will do this only if detects no preexistingbash configuration files.
      • SpotBugs 4.0.3;our SpotBugs configuration file spotbugs.xml;and wrapper script spotbugs.
      • PMD 6.15.0;our PMD configuration file pmd.xml;and wrapper script pmd.
      • Checkstyle 8.31;various configuration files(checkstyle-cos126.xml,checkstyle-cos226.xml,checkstyle-coursera.xml, andcheckstyle-suppressions.xml);custom checks checkstyle-lift.jar;and wrapper script checkstyle.
    How is the software licensed?
    All of the included software is licensed under various open-source licenses.
    • IntelliJ IDEA, Community Edition is licensed under theApache License, Version 2.0.
    • OpenJDK 11 is licensed under theGNU General Public License,version 2, with the Classpath Exception.
    • SpotBugs is licensed under theGNU Lesser Public License, Version 2.1.
    • Checkstyle is licensed under theGNU Lesser Public License, Version 2.1.
    • PMD is licensed under a BSD-style license.
    • stdlib.jar and algs4.jar are licensed under theGNU General Public License, Version 3.
    What’s the sha256sum of lift-java.pkg?
    Can I run the installer from the command line?
    Yes. Use the command sudo installer -verbose -pkg lift-java.pkg -target /
    How can I uninstall the software?
    • To uninstall OpenJDK 11,delete the following directory:
      • /Library/Java/JavaVirtualMachines/jdk-11.0.7.jdk/
    • To uninstall IntelliJ, delete the following:
      • /Applications/IntelliJ IDEA CE.app
      • ~/Library/Application Support/JetBrains/IdeaIC2020.1/
      • ~/Library/Caches/JetBrains/IdeaIC2020.1/
      • ~/Library/Logs/JetBrains/IdeaIC2020.1/
    • To uninstall SpotBugs, PMD, Checkstyle,and our textbook libraries, delete the following directory:
      • /usr/local/lift/
    • To uninstall our wrapper scripts, delete the following files:
      • /usr/local/bin/javac-{algs4,introcs}
      • /usr/local/bin/java-{algs4,introcs}
      • /usr/local/bin/jshell-{algs4,introcs}
      • /usr/local/bin/spotbugs
      • /usr/local/bin/pmd
      • /usr/local/bin/checkstyle
    Can I use a vendor and version of Java other than OpenJDK 11?
    Yes.You may use any version of Java 8, Java 9, Java 10, or Java 12, from either Oracle or OpenJDK.However, if you do so, you will need to manually configure the Platform SDK and Project SDK viaIntelliJ via File → Project Structure.
    How can I check which version of Java is installed (and where it is installed)?
    Type the following commands in the terminal:It’s important that the Java version numbers match and that you see the number11,but the rest is not critical.
    How does this custom version of IntelliJ different from the standard one?
    IntelliJis an industrial-strength integrated development environment (IDE),suitable for use by professional programmers.The installer configures your user preferences to make itmore suitable for use by novice programmers:
    • Disables all built-in plugins except Terminal and JUnit. Installs the SpotBugs, Checkstyle-IDEA, Run-with-Arguments, Save-Actions, and Archive browser plugins.
    • Eliminates or reduces various popup elements (lightbulbs, code folding, breadcrumbs, gutter markers, notifications, parameter hints).
    • Simplifies menus and toolbars, hiding advanced options.
    • Disables live templates and postfix completion.
    • Adopts the Obsidian Black color scheme.
    • Auto-configures Java upon installation.
    • Adds a few keyboard shortcuts.

    The course-specific project folders perform additional customizations:

    • Streamlines autocomplete to display only relevant libraries(such as java.lang,java.util, and algs4.jar).
    • Configures SpotBugs and Checkstyle with course-specific rules.
    • Provides course-specific libraries (such as algs4.jar).
    • Enables auto-formatting of code on save.
    • Enables auto-importing of Java libraries.
    How can I manually configure the Platform SDK and Project SDK in IntelliJ?
    The installer should configure the Platform SDK automatically.To configure it manually,
    • Navigate to File → Project Structure → Platform Settings → SDKs.
    • Click the + symbol (top left) to add an SDK.
    • Locate an SDK. A typical location for a Java SDK onMac OS X is /Library/Java/JavaVirtualMachines/adoptopenjdk-11.jdk/Contents/Home/.
    • Use the shorthand name suggested by IntelliJ(e.g., 11 for version 11.0.7).

    To manually configure the Project SDK,

    • Navigate to File → Project Structure → Project Settings → Project.
    • Choose the desired Project SDK from the drop-down list.
    • Be sure to use 8 as the Project language level, as our autogradercurrently supports only Java 8 features.
    What are the most important IntelliJ menu options to remember?
    Here are the most important ones (and their shortcuts).
    • LIFT → New Java Class (⌘N). Create a new Java class.
    • LIFT → Recompile (⌘B). Compile the current program.
    • LIFT → Run with Arguments (⌘E). Run the current program with command-line arguments.
    • LIFT → Open in Terminal (⌘T). Open a new Terminal tab.
    • File → Save All (⌘S). Save (and reformat) all open files.
    • View → Tool Windows → Project (⌘1). Show/hide the Project View sidebar.
    • View → Tool Windows → Terminal (⌘2). Show/hide the Terminal window.
    Any special characters to avoid when naming IntelliJ projects or files?
    Do not use an exclamation point (!) as the last characterin the project folder (or any directory name along the path to your project folder);that will confuse both IntelliJ and Checkstyle.
    How can I create a new project in IntelliJ?
    If you want to inherit all of the properties of an existing project,
    • Use the Finder to copy the project folder,giving it your preferred name.
    • Delete any unwanted files.
    • Be sure to keepthe .iml file (which defines the project),the .idea subdirectory (which containsthe IntelliJ course preferences), andthe .lift subdirectory (which contains the courselibraries).

    To create a new project from scratch, you can use the Create New Project option from theWelcome screen. But, we do not recommend this approach for novice programmers.

    Can I use a version of IntelliJ that is more recent than 2020.1.1?
    Yes, though if it is 2020.2 (or above),you will need to migrate your user preferences.
    How I can I restore the original IntelliJ settings(instead of the abbreviated novice-friendly ones)?
    • To restore the menus and toolbars: Preferences → Appearances & Behavior → Menus and Toolbars → Restore All Defaults.
    • To restore all settings: Help → Find Action → Restore Default Settings.
    Command-Line / Embedded Terminal FAQ
    When I compile or execute a program from the command line that uses one of thetextbook libraries, I get an error that it cannot find the library. How can I fix this?
    Make sure that you are using the appropriate wrapper script,such as javac-algs4or java-algs4.
    How should I configure Bash?
    If you followed our instructions, our wrapper scripts (such asjavac-algs4 andjava-algs4)should already be available.

    Our autoinstaller customizes the command line in a few ways by copying these three configuration files:.bashrc,.bash_profile, and.inputrc.Note that the autoinstaller will copy these files only if none of them already exists.If you had previous versions and wish to replace your versions with ours, type the following commands:

    How do I break out of a program in an infinite loop?
    Type Ctrl-C.
    How do I specify EOF to signal that standard input is empty?
    On Mac OS X and Linux, type EnterCtrl-D.On Windows, type EnterCtrl-ZEnter,even in Git Bash.
    How can I run SpotBugs, PMD, and Checkstyle from the command line?
    The installer includes wrapper scripts to simplify this process.
    • To run SpotBugs 4.0.3, type the following command in the terminal:The argument must be a list of .class files.Here is a list ofbug descriptions.
    • To run PMD 6.15.0, type the following command in the terminal:The argument must be either a single .java file ora directory containing one or more .java files.Here is a list of bug patterns.
    • To run Checkstyle 8.31, type one ofthe following commands in the terminal, depending on whether you are COS 126, COS 226, or Coursera student:The argument must be a list of .java files.Here is a list ofavailable checks.

This page describes how to install and uninstall JDK 8 for OS X computers.

This page has these topics:

See 'JDK 8 and JRE 8 Installation Start Here' for general information about installing JDK 8 and JRE 8.

See 'OS X Platform Install FAQ' for general information about installing JDK 8 on OS X.

System Requirements

Observe the following requirements:

  • Any Intel-based computer running OS X 10.8 (Mountain Lion) or later.

  • Administrator privileges.

Note that installing the JDK on OS X is performed on a system wide basis, for all users, and administrator privileges are required. You cannot install Java for a single user.

Installing the JDK also installs the JRE. The one exception is that the system will not replace the current JRE with a lower version. To install a lower version of the JRE, first uninstall the current version as described in 'Uninstalling the JRE'.

JDK Installation Instructions

When you install the Java Development Kit (JDK), the associated Java Runtime Environment (JRE) is installed at the same time. The JavaFX SDK and Runtime are also installed and integrated into the standard JDK directory structure.

Depending on your processor, the downloaded file has one of the following names:

  • jdk-8uversion-macosx-amd64.dmg

  • jdk-8uversion-macosx-x64.dmg

Where version is 6 or later.

  1. Download the file.

    Before the file can be downloaded, you must accept the license agreement.

  2. From either the Downloads window of the browser, or from the file browser, double click the .dmg file to launch it.

    A Finder window appears containing an icon of an open box and the name of the .pkg file.

  3. Double click the package icon to launch the Install app.

    The Install app displays the Introduction window.

  4. Enter the Administrator login and password and click Install Software.

    The software is installed and a confirmation window appears.

  5. Refer to http://www.oracle.com/technetwork/java/javase/downloads/jdk-for-mac-readme-1564562.html for more information about the installation.

  6. After the software is installed, delete the .dmg file if you want to save disk space.

  7. Determining the Default Version of the JDK

    If you have not yet installed Apple's Java OS X 2012-006 update, then you are still using a version of Apple Java 6 that includes the plug-in and the Java Preferences app. See 'Note for Users of OS X that Include Apple Java 6 Plug-in'.

    There can be multiple JDKs installed on a system, as many as you wish.

    When launching a Java application through the command line, the system uses the default JDK. It is possible for the version of the JRE to be different than the version of the JDK.

    You can determine which version of the JDK is the default by typing java -version in a Terminal window. If the installed version is 8u6, you will see a string that includes the text 1.8.0_06. For example:

    To run a different version of Java, either specify the full path, or use the java_home tool:

    Mac Os Sierra

    For more information, see the java_home(1) man page.

    Uninstalling the JDK

    To uninstall the JDK, you must have Administrator privileges and execute the remove command either as root or by using the sudo(8) tool.

    Mac Os High Sierra Iso Download

    For example, to uninstall 8u6:

    Java Download For Mac Os High Sierra

    Java Runtime Macos High Sierra

    Do not attempt to uninstall Java by removing the Java tools from /usr/bin. This directory is part of the system software and any changes will be reset by Apple the next time you perform an update of the OS.

    © 2021 trezvoe-taxi.ru