<?xml version="1.0" encoding="UTF-8"?>
<!-- XBRL document created with DocuBuilder 4.9 by Appatura -->
<!--XBRL-1318-->
<link:linkbase xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns:jhfii-20190101="http://jhfii-20190101/20181221" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:roleRef roleURI="http://xbrl.sec.gov/rr/role/RiskReturnDetailData" xlink:type="simple" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#RiskReturnDetailData"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/DocumentDocumentandEntityInformation" xlink:type="simple" xlink:href="jhfii-20190101.xsd#DocumentDocumentandEntityInformation"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/AAAA" xlink:type="simple" xlink:href="jhfii-20190101.xsd#AAAA"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataAAAA" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataAAAA"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataAAAA" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataAAAA"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataAAAA" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataAAAA"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleNoRedemptionAAAA" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleNoRedemptionAAAA"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleAAAA" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleAAAA"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataAAAA" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataAAAA"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BBBB" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BBBB"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataBBBB" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataBBBB"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataBBBB" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataBBBB"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataBBBB" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataBBBB"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleBBBB" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleBBBB"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataBBBB" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataBBBB"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/CCCC" xlink:type="simple" xlink:href="jhfii-20190101.xsd#CCCC"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataCCCC" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataCCCC"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataCCCC" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataCCCC"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataCCCC" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataCCCC"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleNoRedemptionCCCC" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleNoRedemptionCCCC"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleCCCC" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleCCCC"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataCCCC" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataCCCC"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/DDDD" xlink:type="simple" xlink:href="jhfii-20190101.xsd#DDDD"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataDDDD" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataDDDD"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataDDDD" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataDDDD"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataDDDD" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataDDDD"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleDDDD" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleDDDD"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataDDDD" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataDDDD"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/EEEE" xlink:type="simple" xlink:href="jhfii-20190101.xsd#EEEE"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataEEEE" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataEEEE"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataEEEE" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataEEEE"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataEEEE" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataEEEE"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleNoRedemptionEEEE" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleNoRedemptionEEEE"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleEEEE" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleEEEE"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataEEEE" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataEEEE"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/FFFF" xlink:type="simple" xlink:href="jhfii-20190101.xsd#FFFF"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataFFFF" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataFFFF"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataFFFF" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataFFFF"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataFFFF" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataFFFF"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleNoRedemptionFFFF" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleNoRedemptionFFFF"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleFFFF" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleFFFF"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataFFFF" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataFFFF"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/GGGG" xlink:type="simple" xlink:href="jhfii-20190101.xsd#GGGG"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataGGGG" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataGGGG"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataGGGG" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataGGGG"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataGGGG" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataGGGG"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleGGGG" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleGGGG"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataGGGG" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataGGGG"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/HHHH" xlink:type="simple" xlink:href="jhfii-20190101.xsd#HHHH"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataHHHH" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataHHHH"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataHHHH" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataHHHH"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataHHHH" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataHHHH"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleNoRedemptionHHHH" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleNoRedemptionHHHH"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleHHHH" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleHHHH"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataHHHH" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataHHHH"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/IIII" xlink:type="simple" xlink:href="jhfii-20190101.xsd#IIII"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataIIII" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataIIII"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataIIII" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataIIII"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataIIII" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataIIII"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleNoRedemptionIIII" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleNoRedemptionIIII"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleIIII" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleIIII"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataIIII" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataIIII"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/JJJJ" xlink:type="simple" xlink:href="jhfii-20190101.xsd#JJJJ"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataJJJJ" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataJJJJ"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataJJJJ" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataJJJJ"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataJJJJ" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataJJJJ"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleJJJJ" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleJJJJ"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataJJJJ" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataJJJJ"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/KKKK" xlink:type="simple" xlink:href="jhfii-20190101.xsd#KKKK"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataKKKK" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataKKKK"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataKKKK" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataKKKK"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataKKKK" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataKKKK"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleNoRedemptionKKKK" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleNoRedemptionKKKK"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleKKKK" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleKKKK"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataKKKK" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataKKKK"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/LLLL" xlink:type="simple" xlink:href="jhfii-20190101.xsd#LLLL"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataLLLL" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataLLLL"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataLLLL" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataLLLL"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataLLLL" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataLLLL"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleLLLL" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleLLLL"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataLLLL" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataLLLL"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/MMMM" xlink:type="simple" xlink:href="jhfii-20190101.xsd#MMMM"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataMMMM" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataMMMM"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataMMMM" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataMMMM"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataMMMM" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataMMMM"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleNoRedemptionMMMM" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleNoRedemptionMMMM"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleMMMM" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleMMMM"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataMMMM" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataMMMM"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/NNNN" xlink:type="simple" xlink:href="jhfii-20190101.xsd#NNNN"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataNNNN" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataNNNN"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataNNNN" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataNNNN"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataNNNN" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataNNNN"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleNoRedemptionNNNN" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleNoRedemptionNNNN"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleNNNN" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleNNNN"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataNNNN" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataNNNN"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OOOO" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OOOO"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataOOOO" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataOOOO"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataOOOO" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataOOOO"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataOOOO" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataOOOO"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleNoRedemptionOOOO" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleNoRedemptionOOOO"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleOOOO" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleOOOO"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataOOOO" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataOOOO"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PPPP" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PPPP"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataPPPP" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataPPPP"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataPPPP" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataPPPP"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataPPPP" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataPPPP"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExamplePPPP" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExamplePPPP"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataPPPP" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataPPPP"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/QQQQ" xlink:type="simple" xlink:href="jhfii-20190101.xsd#QQQQ"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataQQQQ" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataQQQQ"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataQQQQ" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataQQQQ"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataQQQQ" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataQQQQ"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleQQQQ" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleQQQQ"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataQQQQ" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataQQQQ"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/RRRR" xlink:type="simple" xlink:href="jhfii-20190101.xsd#RRRR"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataRRRR" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataRRRR"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataRRRR" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataRRRR"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataRRRR" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataRRRR"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleRRRR" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleRRRR"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataRRRR" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataRRRR"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/SSSS" xlink:type="simple" xlink:href="jhfii-20190101.xsd#SSSS"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataSSSS" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataSSSS"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataSSSS" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataSSSS"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataSSSS" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataSSSS"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleSSSS" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleSSSS"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataSSSS" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataSSSS"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/TTTT" xlink:type="simple" xlink:href="jhfii-20190101.xsd#TTTT"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataTTTT" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataTTTT"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataTTTT" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataTTTT"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataTTTT" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataTTTT"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleTTTT" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleTTTT"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataTTTT" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataTTTT"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/UUUU" xlink:type="simple" xlink:href="jhfii-20190101.xsd#UUUU"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataUUUU" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataUUUU"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataUUUU" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataUUUU"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataUUUU" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataUUUU"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleUUUU" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleUUUU"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataUUUU" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataUUUU"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/VVVV" xlink:type="simple" xlink:href="jhfii-20190101.xsd#VVVV"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataVVVV" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataVVVV"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataVVVV" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataVVVV"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataVVVV" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataVVVV"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleVVVV" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleVVVV"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataVVVV" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataVVVV"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/WWWW" xlink:type="simple" xlink:href="jhfii-20190101.xsd#WWWW"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataWWWW" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataWWWW"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataWWWW" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataWWWW"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataWWWW" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataWWWW"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleWWWW" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleWWWW"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataWWWW" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataWWWW"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/XXXX" xlink:type="simple" xlink:href="jhfii-20190101.xsd#XXXX"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataXXXX" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataXXXX"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataXXXX" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataXXXX"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataXXXX" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataXXXX"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleNoRedemptionXXXX" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleNoRedemptionXXXX"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleXXXX" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleXXXX"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataXXXX" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataXXXX"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/YYYY" xlink:type="simple" xlink:href="jhfii-20190101.xsd#YYYY"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataYYYY" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataYYYY"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataYYYY" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataYYYY"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataYYYY" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataYYYY"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleNoRedemptionYYYY" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleNoRedemptionYYYY"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleYYYY" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleYYYY"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataYYYY" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataYYYY"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ZZZZ" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ZZZZ"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataZZZZ" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataZZZZ"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataZZZZ" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataZZZZ"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataZZZZ" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataZZZZ"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleZZZZ" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleZZZZ"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataZZZZ" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataZZZZ"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/AAAB" xlink:type="simple" xlink:href="jhfii-20190101.xsd#AAAB"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataAAAB" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataAAAB"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataAAAB" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataAAAB"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataAAAB" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataAAAB"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleNoRedemptionAAAB" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleNoRedemptionAAAB"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleAAAB" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleAAAB"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataAAAB" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataAAAB"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BBBC" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BBBC"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataBBBC" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataBBBC"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataBBBC" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataBBBC"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataBBBC" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataBBBC"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleBBBC" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleBBBC"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataBBBC" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataBBBC"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/CCCD" xlink:type="simple" xlink:href="jhfii-20190101.xsd#CCCD"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataCCCD" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataCCCD"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataCCCD" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataCCCD"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataCCCD" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataCCCD"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleNoRedemptionCCCD" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleNoRedemptionCCCD"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleCCCD" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleCCCD"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataCCCD" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataCCCD"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/DDDE" xlink:type="simple" xlink:href="jhfii-20190101.xsd#DDDE"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataDDDE" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataDDDE"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ShareholderFeesDataDDDE" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ShareholderFeesDataDDDE"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataDDDE" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataDDDE"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleNoRedemptionDDDE" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleNoRedemptionDDDE"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleDDDE" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleDDDE"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataDDDE" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataDDDE"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/EEEF" xlink:type="simple" xlink:href="jhfii-20190101.xsd#EEEF"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataEEEF" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataEEEF"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataEEEF" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataEEEF"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleEEEF" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleEEEF"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataEEEF" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataEEEF"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/FFFG" xlink:type="simple" xlink:href="jhfii-20190101.xsd#FFFG"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/PerformanceTableDataFFFG" xlink:type="simple" xlink:href="jhfii-20190101.xsd#PerformanceTableDataFFFG"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/OperatingExpensesDataFFFG" xlink:type="simple" xlink:href="jhfii-20190101.xsd#OperatingExpensesDataFFFG"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/ExpenseExampleFFFG" xlink:type="simple" xlink:href="jhfii-20190101.xsd#ExpenseExampleFFFG"/>
    <link:roleRef roleURI="http://jhfii-20190101/role/BarChartDataFFFG" xlink:type="simple" xlink:href="jhfii-20190101.xsd#BarChartDataFFFG"/>
    <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
    <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
    <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
    <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
    <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/DocumentDocumentandEntityInformation">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentType" xlink:label="dei_DocumentType"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="dei_DocumentType" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentPeriodEndDate" xlink:label="dei_DocumentPeriodEndDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="dei_DocumentPeriodEndDate" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityRegistrantName" xlink:label="dei_EntityRegistrantName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="dei_EntityRegistrantName" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityCentralIndexKey" xlink:label="dei_EntityCentralIndexKey"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="dei_EntityCentralIndexKey" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_AmendmentFlag" xlink:label="dei_AmendmentFlag"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="dei_AmendmentFlag" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_TradingSymbol" xlink:label="dei_TradingSymbol"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="dei_TradingSymbol" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentCreationDate" xlink:label="dei_DocumentCreationDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="dei_DocumentCreationDate" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentEffectiveDate" xlink:label="dei_DocumentEffectiveDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="dei_DocumentEffectiveDate" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_AAAAMember" xlink:label="AAAAMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="AAAAMember" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_BBBBMember" xlink:label="BBBBMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="BBBBMember" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_CCCCMember" xlink:label="CCCCMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="CCCCMember" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_DDDDMember" xlink:label="DDDDMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="DDDDMember" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_EEEEMember" xlink:label="EEEEMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="EEEEMember" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_FFFFMember" xlink:label="FFFFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="FFFFMember" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_GGGGMember" xlink:label="GGGGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="GGGGMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_HHHHMember" xlink:label="HHHHMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="HHHHMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_IIIIMember" xlink:label="IIIIMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="IIIIMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_JJJJMember" xlink:label="JJJJMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="JJJJMember" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_KKKKMember" xlink:label="KKKKMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="KKKKMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_LLLLMember" xlink:label="LLLLMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="LLLLMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_MMMMMember" xlink:label="MMMMMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="MMMMMember" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_NNNNMember" xlink:label="NNNNMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="NNNNMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_OOOOMember" xlink:label="OOOOMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="OOOOMember" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_PPPPMember" xlink:label="PPPPMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="PPPPMember" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_QQQQMember" xlink:label="QQQQMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="QQQQMember" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_RRRRMember" xlink:label="RRRRMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="RRRRMember" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_SSSSMember" xlink:label="SSSSMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="SSSSMember" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_TTTTMember" xlink:label="TTTTMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="TTTTMember" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_UUUUMember" xlink:label="UUUUMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="UUUUMember" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_VVVVMember" xlink:label="VVVVMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="VVVVMember" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_WWWWMember" xlink:label="WWWWMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="WWWWMember" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_XXXXMember" xlink:label="XXXXMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="XXXXMember" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_YYYYMember" xlink:label="YYYYMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="YYYYMember" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_ZZZZMember" xlink:label="ZZZZMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="ZZZZMember" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_AAABMember" xlink:label="AAABMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="AAABMember" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_BBBCMember" xlink:label="BBBCMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="BBBCMember" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_CCCDMember" xlink:label="CCCDMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="CCCDMember" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_DDDEMember" xlink:label="DDDEMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="DDDEMember" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_EEEFMember" xlink:label="EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="EEEFMember" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_FFFGMember" xlink:label="FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="FFFGMember" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000034047Member" xlink:label="S000034047Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000034047Member" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003401Member" xlink:label="S000003401Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003401Member" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000040959Member" xlink:label="S000040959Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000040959Member" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003366Member" xlink:label="S000003366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003366Member" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043433Member" xlink:label="S000043433Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043433Member" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043434Member" xlink:label="S000043434Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043434Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043435Member" xlink:label="S000043435Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043435Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043436Member" xlink:label="S000043436Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043436Member" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043437Member" xlink:label="S000043437Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043437Member" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000037602Member" xlink:label="S000037602Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000037602Member" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009779Member" xlink:label="S000009779Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009779Member" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000027304Member" xlink:label="S000027304Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000027304Member" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000017260Member" xlink:label="S000017260Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000017260Member" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000020234Member" xlink:label="S000020234Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000020234Member" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003363Member" xlink:label="S000003363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003363Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003311Member" xlink:label="S000003311Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003311Member" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003312Member" xlink:label="S000003312Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003312Member" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003313Member" xlink:label="S000003313Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003313Member" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003317Member" xlink:label="S000003317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003317Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003319Member" xlink:label="S000003319Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003319Member" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003320Member" xlink:label="S000003320Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003320Member" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003322Member" xlink:label="S000003322Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003322Member" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003324Member" xlink:label="S000003324Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003324Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003344Member" xlink:label="S000003344Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003344Member" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042847Member" xlink:label="S000042847Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042847Member" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042848Member" xlink:label="S000042848Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042848Member" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042849Member" xlink:label="S000042849Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042849Member" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028822Member" xlink:label="S000028822Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028822Member" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042850Member" xlink:label="S000042850Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042850Member" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028823Member" xlink:label="S000028823Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028823Member" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042851Member" xlink:label="S000042851Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042851Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028824Member" xlink:label="S000028824Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028824Member" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042852Member" xlink:label="S000042852Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042852Member" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028825Member" xlink:label="S000028825Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028825Member" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042853Member" xlink:label="S000042853Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042853Member" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028826Member" xlink:label="S000028826Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028826Member" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042854Member" xlink:label="S000042854Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042854Member" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028817Member" xlink:label="S000028817Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028817Member" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042855Member" xlink:label="S000042855Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042855Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028818Member" xlink:label="S000028818Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028818Member" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044503Member" xlink:label="S000044503Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044503Member" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044501Member" xlink:label="S000044501Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044501Member" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053255Member" xlink:label="S000053255Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053255Member" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053253Member" xlink:label="S000053253Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053253Member" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028821Member" xlink:label="S000028821Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028821Member" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013649Member" xlink:label="S000013649Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013649Member" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013652Member" xlink:label="S000013652Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013652Member" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013653Member" xlink:label="S000013653Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013653Member" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013654Member" xlink:label="S000013654Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013654Member" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013655Member" xlink:label="S000013655Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013655Member" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013656Member" xlink:label="S000013656Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013656Member" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013657Member" xlink:label="S000013657Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013657Member" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013658Member" xlink:label="S000013658Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013658Member" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013659Member" xlink:label="S000013659Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013659Member" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044502Member" xlink:label="S000044502Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044502Member" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053254Member" xlink:label="S000053254Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053254Member" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003360Member" xlink:label="S000003360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003360Member" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003356Member" xlink:label="S000003356Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003356Member" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003357Member" xlink:label="S000003357Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003357Member" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003364Member" xlink:label="S000003364Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003364Member" use="optional" order="61.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003400Member" xlink:label="S000003400Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003400Member" use="optional" order="62.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000039618Member" xlink:label="S000039618Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000039618Member" use="optional" order="63.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000030799Member" xlink:label="S000030799Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000030799Member" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000034046Member" xlink:label="S000034046Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000034046Member" use="optional" order="65.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000029558Member" xlink:label="S000029558Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000029558Member" use="optional" order="66.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000055170Member" xlink:label="S000055170Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000055170Member" use="optional" order="67.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000024677Member" xlink:label="S000024677Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000024677Member" use="optional" order="68.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009815Member" xlink:label="S000009815Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009815Member" use="optional" order="69.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000024676Member" xlink:label="S000024676Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000024676Member" use="optional" order="70.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009817Member" xlink:label="S000009817Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009817Member" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009819Member" xlink:label="S000009819Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009819Member" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000036500Member" xlink:label="S000036500Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000036500Member" use="optional" order="73.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009820Member" xlink:label="S000009820Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009820Member" use="optional" order="74.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003394Member" xlink:label="S000003394Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003394Member" use="optional" order="75.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000055171Member" xlink:label="S000055171Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000055171Member" use="optional" order="76.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000023552Member" xlink:label="S000023552Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000023552Member" use="optional" order="77.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000045160Member" xlink:label="S000045160Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000045160Member" use="optional" order="78.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135671Member" xlink:label="C000135671Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135671Member" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000143712Member" xlink:label="C000143712Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000143712Member" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135672Member" xlink:label="C000135672Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135672Member" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000104937Member" xlink:label="C000104937Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000104937Member" use="optional" order="110.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135673Member" xlink:label="C000135673Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135673Member" use="optional" order="111.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009374Member" xlink:label="C000009374Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009374Member" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000111336Member" xlink:label="C000111336Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000111336Member" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000145671Member" xlink:label="C000145671Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000145671Member" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000111337Member" xlink:label="C000111337Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000111337Member" use="optional" order="210.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009376Member" xlink:label="C000009376Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009376Member" use="optional" order="211.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000173130Member" xlink:label="C000173130Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000173130Member" use="optional" order="212.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000127063Member" xlink:label="C000127063Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000127063Member" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000152689Member" xlink:label="C000152689Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000152689Member" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000127064Member" xlink:label="C000127064Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000127064Member" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000127065Member" xlink:label="C000127065Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000127065Member" use="optional" order="310.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000152690Member" xlink:label="C000152690Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000152690Member" use="optional" order="311.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000152691Member" xlink:label="C000152691Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000152691Member" use="optional" order="312.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000152692Member" xlink:label="C000152692Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000152692Member" use="optional" order="313.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153953Member" xlink:label="C000153953Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153953Member" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153954Member" xlink:label="C000153954Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153954Member" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153955Member" xlink:label="C000153955Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153955Member" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009270Member" xlink:label="C000009270Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009270Member" use="optional" order="410.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134634Member" xlink:label="C000134634Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134634Member" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134635Member" xlink:label="C000134635Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134635Member" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134636Member" xlink:label="C000134636Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134636Member" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134638Member" xlink:label="C000134638Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134638Member" use="optional" order="510.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134640Member" xlink:label="C000134640Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134640Member" use="optional" order="511.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134641Member" xlink:label="C000134641Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134641Member" use="optional" order="512.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134642Member" xlink:label="C000134642Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134642Member" use="optional" order="513.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134643Member" xlink:label="C000134643Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134643Member" use="optional" order="67.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134644Member" xlink:label="C000134644Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134644Member" use="optional" order="68.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134645Member" xlink:label="C000134645Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134645Member" use="optional" order="69.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134646Member" xlink:label="C000134646Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134646Member" use="optional" order="610.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134647Member" xlink:label="C000134647Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134647Member" use="optional" order="611.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134648Member" xlink:label="C000134648Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134648Member" use="optional" order="612.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134649Member" xlink:label="C000134649Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134649Member" use="optional" order="613.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134650Member" xlink:label="C000134650Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134650Member" use="optional" order="614.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134651Member" xlink:label="C000134651Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134651Member" use="optional" order="615.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134652Member" xlink:label="C000134652Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134652Member" use="optional" order="77.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134653Member" xlink:label="C000134653Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134653Member" use="optional" order="78.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134654Member" xlink:label="C000134654Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134654Member" use="optional" order="79.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134655Member" xlink:label="C000134655Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134655Member" use="optional" order="710.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134656Member" xlink:label="C000134656Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134656Member" use="optional" order="711.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134657Member" xlink:label="C000134657Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134657Member" use="optional" order="712.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134658Member" xlink:label="C000134658Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134658Member" use="optional" order="713.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134659Member" xlink:label="C000134659Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134659Member" use="optional" order="714.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134660Member" xlink:label="C000134660Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134660Member" use="optional" order="715.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134661Member" xlink:label="C000134661Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134661Member" use="optional" order="87.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134662Member" xlink:label="C000134662Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134662Member" use="optional" order="88.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134663Member" xlink:label="C000134663Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134663Member" use="optional" order="89.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134664Member" xlink:label="C000134664Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134664Member" use="optional" order="810.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134665Member" xlink:label="C000134665Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134665Member" use="optional" order="811.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134666Member" xlink:label="C000134666Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134666Member" use="optional" order="812.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134667Member" xlink:label="C000134667Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134667Member" use="optional" order="813.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134668Member" xlink:label="C000134668Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134668Member" use="optional" order="814.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134669Member" xlink:label="C000134669Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134669Member" use="optional" order="815.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134670Member" xlink:label="C000134670Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134670Member" use="optional" order="97.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134671Member" xlink:label="C000134671Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134671Member" use="optional" order="98.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134672Member" xlink:label="C000134672Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134672Member" use="optional" order="99.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134673Member" xlink:label="C000134673Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134673Member" use="optional" order="910.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134674Member" xlink:label="C000134674Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134674Member" use="optional" order="911.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134675Member" xlink:label="C000134675Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134675Member" use="optional" order="912.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134676Member" xlink:label="C000134676Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134676Member" use="optional" order="913.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134677Member" xlink:label="C000134677Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134677Member" use="optional" order="914.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134678Member" xlink:label="C000134678Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134678Member" use="optional" order="915.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000116034Member" xlink:label="C000116034Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000116034Member" use="optional" order="107.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000116035Member" xlink:label="C000116035Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000116035Member" use="optional" order="108.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000116036Member" xlink:label="C000116036Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000116036Member" use="optional" order="109.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000178758Member" xlink:label="C000178758Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000178758Member" use="optional" order="1010.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128520Member" xlink:label="C000128520Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128520Member" use="optional" order="117.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128521Member" xlink:label="C000128521Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128521Member" use="optional" order="118.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128522Member" xlink:label="C000128522Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128522Member" use="optional" order="119.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000026876Member" xlink:label="C000026876Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000026876Member" use="optional" order="1110.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128524Member" xlink:label="C000128524Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128524Member" use="optional" order="1111.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128526Member" xlink:label="C000128526Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128526Member" use="optional" order="1112.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128527Member" xlink:label="C000128527Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128527Member" use="optional" order="1113.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128528Member" xlink:label="C000128528Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128528Member" use="optional" order="1114.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000082346Member" xlink:label="C000082346Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000082346Member" use="optional" order="127.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000145673Member" xlink:label="C000145673Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000145673Member" use="optional" order="128.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000082347Member" xlink:label="C000082347Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000082347Member" use="optional" order="129.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000082348Member" xlink:label="C000082348Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000082348Member" use="optional" order="1210.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153965Member" xlink:label="C000153965Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153965Member" use="optional" order="1211.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153966Member" xlink:label="C000153966Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153966Member" use="optional" order="1212.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153967Member" xlink:label="C000153967Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153967Member" use="optional" order="1213.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099349Member" xlink:label="C000099349Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099349Member" use="optional" order="137.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099350Member" xlink:label="C000099350Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099350Member" use="optional" order="138.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099351Member" xlink:label="C000099351Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099351Member" use="optional" order="139.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000047776Member" xlink:label="C000047776Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000047776Member" use="optional" order="1310.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099354Member" xlink:label="C000099354Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099354Member" use="optional" order="1311.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099355Member" xlink:label="C000099355Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099355Member" use="optional" order="1312.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106468Member" xlink:label="C000106468Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106468Member" use="optional" order="1313.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056650Member" xlink:label="C000056650Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056650Member" use="optional" order="147.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056647Member" xlink:label="C000056647Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056647Member" use="optional" order="148.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056648Member" xlink:label="C000056648Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056648Member" use="optional" order="149.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056649Member" xlink:label="C000056649Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056649Member" use="optional" order="1410.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056651Member" xlink:label="C000056651Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056651Member" use="optional" order="1411.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056652Member" xlink:label="C000056652Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056652Member" use="optional" order="1412.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106469Member" xlink:label="C000106469Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106469Member" use="optional" order="1413.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000199365Member" xlink:label="C000199365Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000199365Member" use="optional" order="157.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000199366Member" xlink:label="C000199366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000199366Member" use="optional" order="158.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000199363Member" xlink:label="C000199363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000199363Member" use="optional" order="159.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009243Member" xlink:label="C000009243Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009243Member" use="optional" order="1510.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000199364Member" xlink:label="C000199364Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000199364Member" use="optional" order="1511.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008868Member" xlink:label="C000008868Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008868Member" use="optional" order="167.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153947Member" xlink:label="C000153947Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153947Member" use="optional" order="168.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153948Member" xlink:label="C000153948Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153948Member" use="optional" order="169.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153949Member" xlink:label="C000153949Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153949Member" use="optional" order="1610.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008867Member" xlink:label="C000008867Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008867Member" use="optional" order="1611.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008877Member" xlink:label="C000008877Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008877Member" use="optional" order="177.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008876Member" xlink:label="C000008876Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008876Member" use="optional" order="178.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008886Member" xlink:label="C000008886Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008886Member" use="optional" order="187.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008885Member" xlink:label="C000008885Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008885Member" use="optional" order="188.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008922Member" xlink:label="C000008922Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008922Member" use="optional" order="197.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153950Member" xlink:label="C000153950Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153950Member" use="optional" order="198.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153951Member" xlink:label="C000153951Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153951Member" use="optional" order="199.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153952Member" xlink:label="C000153952Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153952Member" use="optional" order="1910.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008921Member" xlink:label="C000008921Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008921Member" use="optional" order="1911.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008940Member" xlink:label="C000008940Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008940Member" use="optional" order="207.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008939Member" xlink:label="C000008939Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008939Member" use="optional" order="208.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008949Member" xlink:label="C000008949Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008949Member" use="optional" order="217.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008948Member" xlink:label="C000008948Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008948Member" use="optional" order="218.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008967Member" xlink:label="C000008967Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008967Member" use="optional" order="227.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008966Member" xlink:label="C000008966Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008966Member" use="optional" order="228.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008985Member" xlink:label="C000008985Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008985Member" use="optional" order="237.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008984Member" xlink:label="C000008984Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008984Member" use="optional" order="238.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009123Member" xlink:label="C000009123Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009123Member" use="optional" order="247.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009122Member" xlink:label="C000009122Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009122Member" use="optional" order="248.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132735Member" xlink:label="C000132735Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132735Member" use="optional" order="257.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132736Member" xlink:label="C000132736Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132736Member" use="optional" order="258.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132737Member" xlink:label="C000132737Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132737Member" use="optional" order="259.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132739Member" xlink:label="C000132739Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132739Member" use="optional" order="2510.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132740Member" xlink:label="C000132740Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132740Member" use="optional" order="2511.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132741Member" xlink:label="C000132741Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132741Member" use="optional" order="2512.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132742Member" xlink:label="C000132742Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132742Member" use="optional" order="2513.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132750Member" xlink:label="C000132750Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132750Member" use="optional" order="267.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132743Member" xlink:label="C000132743Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132743Member" use="optional" order="268.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132744Member" xlink:label="C000132744Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132744Member" use="optional" order="269.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132746Member" xlink:label="C000132746Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132746Member" use="optional" order="2610.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132747Member" xlink:label="C000132747Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132747Member" use="optional" order="2611.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132748Member" xlink:label="C000132748Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132748Member" use="optional" order="2612.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132749Member" xlink:label="C000132749Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132749Member" use="optional" order="2613.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132751Member" xlink:label="C000132751Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132751Member" use="optional" order="277.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132752Member" xlink:label="C000132752Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132752Member" use="optional" order="278.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132753Member" xlink:label="C000132753Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132753Member" use="optional" order="279.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132755Member" xlink:label="C000132755Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132755Member" use="optional" order="2710.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132756Member" xlink:label="C000132756Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132756Member" use="optional" order="2711.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132757Member" xlink:label="C000132757Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132757Member" use="optional" order="2712.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132758Member" xlink:label="C000132758Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132758Member" use="optional" order="2713.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088372Member" xlink:label="C000088372Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088372Member" use="optional" order="287.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088367Member" xlink:label="C000088367Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088367Member" use="optional" order="288.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113517Member" xlink:label="C000113517Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113517Member" use="optional" order="289.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088368Member" xlink:label="C000088368Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088368Member" use="optional" order="2810.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088369Member" xlink:label="C000088369Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088369Member" use="optional" order="2811.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088370Member" xlink:label="C000088370Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088370Member" use="optional" order="2812.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106476Member" xlink:label="C000106476Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106476Member" use="optional" order="2813.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132759Member" xlink:label="C000132759Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132759Member" use="optional" order="297.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132760Member" xlink:label="C000132760Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132760Member" use="optional" order="298.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132761Member" xlink:label="C000132761Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132761Member" use="optional" order="299.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132763Member" xlink:label="C000132763Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132763Member" use="optional" order="2910.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132764Member" xlink:label="C000132764Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132764Member" use="optional" order="2911.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132765Member" xlink:label="C000132765Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132765Member" use="optional" order="2912.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132766Member" xlink:label="C000132766Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132766Member" use="optional" order="2913.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088379Member" xlink:label="C000088379Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088379Member" use="optional" order="307.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088374Member" xlink:label="C000088374Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088374Member" use="optional" order="308.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113518Member" xlink:label="C000113518Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113518Member" use="optional" order="309.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088375Member" xlink:label="C000088375Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088375Member" use="optional" order="3010.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088376Member" xlink:label="C000088376Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088376Member" use="optional" order="3011.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088377Member" xlink:label="C000088377Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088377Member" use="optional" order="3012.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106477Member" xlink:label="C000106477Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106477Member" use="optional" order="3013.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132767Member" xlink:label="C000132767Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132767Member" use="optional" order="317.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132768Member" xlink:label="C000132768Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132768Member" use="optional" order="318.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132769Member" xlink:label="C000132769Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132769Member" use="optional" order="319.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132771Member" xlink:label="C000132771Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132771Member" use="optional" order="3110.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132772Member" xlink:label="C000132772Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132772Member" use="optional" order="3111.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132773Member" xlink:label="C000132773Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132773Member" use="optional" order="3112.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132774Member" xlink:label="C000132774Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132774Member" use="optional" order="3113.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088386Member" xlink:label="C000088386Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088386Member" use="optional" order="327.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088381Member" xlink:label="C000088381Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088381Member" use="optional" order="328.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113519Member" xlink:label="C000113519Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113519Member" use="optional" order="329.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088382Member" xlink:label="C000088382Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088382Member" use="optional" order="3210.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088383Member" xlink:label="C000088383Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088383Member" use="optional" order="3211.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088384Member" xlink:label="C000088384Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088384Member" use="optional" order="3212.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106478Member" xlink:label="C000106478Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106478Member" use="optional" order="3213.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132775Member" xlink:label="C000132775Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132775Member" use="optional" order="337.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132776Member" xlink:label="C000132776Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132776Member" use="optional" order="338.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132777Member" xlink:label="C000132777Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132777Member" use="optional" order="339.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132779Member" xlink:label="C000132779Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132779Member" use="optional" order="3310.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132780Member" xlink:label="C000132780Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132780Member" use="optional" order="3311.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132781Member" xlink:label="C000132781Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132781Member" use="optional" order="3312.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132782Member" xlink:label="C000132782Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132782Member" use="optional" order="3313.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088393Member" xlink:label="C000088393Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088393Member" use="optional" order="347.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088388Member" xlink:label="C000088388Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088388Member" use="optional" order="348.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113520Member" xlink:label="C000113520Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113520Member" use="optional" order="349.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088389Member" xlink:label="C000088389Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088389Member" use="optional" order="3410.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088390Member" xlink:label="C000088390Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088390Member" use="optional" order="3411.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088391Member" xlink:label="C000088391Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088391Member" use="optional" order="3412.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106479Member" xlink:label="C000106479Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106479Member" use="optional" order="3413.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132783Member" xlink:label="C000132783Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132783Member" use="optional" order="357.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132784Member" xlink:label="C000132784Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132784Member" use="optional" order="358.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132785Member" xlink:label="C000132785Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132785Member" use="optional" order="359.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132787Member" xlink:label="C000132787Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132787Member" use="optional" order="3510.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132788Member" xlink:label="C000132788Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132788Member" use="optional" order="3511.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132789Member" xlink:label="C000132789Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132789Member" use="optional" order="3512.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132790Member" xlink:label="C000132790Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132790Member" use="optional" order="3513.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088400Member" xlink:label="C000088400Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088400Member" use="optional" order="367.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088395Member" xlink:label="C000088395Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088395Member" use="optional" order="368.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113521Member" xlink:label="C000113521Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113521Member" use="optional" order="369.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088396Member" xlink:label="C000088396Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088396Member" use="optional" order="3610.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088397Member" xlink:label="C000088397Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088397Member" use="optional" order="3611.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088398Member" xlink:label="C000088398Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088398Member" use="optional" order="3612.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106480Member" xlink:label="C000106480Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106480Member" use="optional" order="3613.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132791Member" xlink:label="C000132791Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132791Member" use="optional" order="377.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132792Member" xlink:label="C000132792Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132792Member" use="optional" order="378.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132793Member" xlink:label="C000132793Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132793Member" use="optional" order="379.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132795Member" xlink:label="C000132795Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132795Member" use="optional" order="3710.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132796Member" xlink:label="C000132796Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132796Member" use="optional" order="3711.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132797Member" xlink:label="C000132797Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132797Member" use="optional" order="3712.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132798Member" xlink:label="C000132798Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132798Member" use="optional" order="3713.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088342Member" xlink:label="C000088342Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088342Member" use="optional" order="387.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088337Member" xlink:label="C000088337Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088337Member" use="optional" order="388.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113513Member" xlink:label="C000113513Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113513Member" use="optional" order="389.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088338Member" xlink:label="C000088338Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088338Member" use="optional" order="3810.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088339Member" xlink:label="C000088339Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088339Member" use="optional" order="3811.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088340Member" xlink:label="C000088340Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088340Member" use="optional" order="3812.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106472Member" xlink:label="C000106472Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106472Member" use="optional" order="3813.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132799Member" xlink:label="C000132799Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132799Member" use="optional" order="397.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132800Member" xlink:label="C000132800Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132800Member" use="optional" order="398.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132801Member" xlink:label="C000132801Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132801Member" use="optional" order="399.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132803Member" xlink:label="C000132803Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132803Member" use="optional" order="3910.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132804Member" xlink:label="C000132804Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132804Member" use="optional" order="3911.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132805Member" xlink:label="C000132805Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132805Member" use="optional" order="3912.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132806Member" xlink:label="C000132806Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132806Member" use="optional" order="3913.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088349Member" xlink:label="C000088349Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088349Member" use="optional" order="407.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088344Member" xlink:label="C000088344Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088344Member" use="optional" order="408.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113514Member" xlink:label="C000113514Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113514Member" use="optional" order="409.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088345Member" xlink:label="C000088345Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088345Member" use="optional" order="4010.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088346Member" xlink:label="C000088346Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088346Member" use="optional" order="4011.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088347Member" xlink:label="C000088347Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088347Member" use="optional" order="4012.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106473Member" xlink:label="C000106473Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106473Member" use="optional" order="4013.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138480Member" xlink:label="C000138480Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138480Member" use="optional" order="417.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138481Member" xlink:label="C000138481Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138481Member" use="optional" order="418.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138482Member" xlink:label="C000138482Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138482Member" use="optional" order="419.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138484Member" xlink:label="C000138484Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138484Member" use="optional" order="4110.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138485Member" xlink:label="C000138485Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138485Member" use="optional" order="4111.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138486Member" xlink:label="C000138486Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138486Member" use="optional" order="4112.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138487Member" xlink:label="C000138487Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138487Member" use="optional" order="4113.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138465Member" xlink:label="C000138465Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138465Member" use="optional" order="427.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138466Member" xlink:label="C000138466Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138466Member" use="optional" order="428.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138467Member" xlink:label="C000138467Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138467Member" use="optional" order="429.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138468Member" xlink:label="C000138468Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138468Member" use="optional" order="4210.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138469Member" xlink:label="C000138469Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138469Member" use="optional" order="4211.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138470Member" xlink:label="C000138470Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138470Member" use="optional" order="4212.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138471Member" xlink:label="C000138471Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138471Member" use="optional" order="4213.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167628Member" xlink:label="C000167628Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167628Member" use="optional" order="437.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167629Member" xlink:label="C000167629Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167629Member" use="optional" order="438.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167630Member" xlink:label="C000167630Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167630Member" use="optional" order="439.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167632Member" xlink:label="C000167632Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167632Member" use="optional" order="4310.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167633Member" xlink:label="C000167633Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167633Member" use="optional" order="4311.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167634Member" xlink:label="C000167634Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167634Member" use="optional" order="4312.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167635Member" xlink:label="C000167635Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167635Member" use="optional" order="4313.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167612Member" xlink:label="C000167612Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167612Member" use="optional" order="447.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167613Member" xlink:label="C000167613Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167613Member" use="optional" order="448.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167614Member" xlink:label="C000167614Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167614Member" use="optional" order="449.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167615Member" xlink:label="C000167615Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167615Member" use="optional" order="4410.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167616Member" xlink:label="C000167616Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167616Member" use="optional" order="4411.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167617Member" xlink:label="C000167617Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167617Member" use="optional" order="4412.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167618Member" xlink:label="C000167618Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167618Member" use="optional" order="4413.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088365Member" xlink:label="C000088365Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088365Member" use="optional" order="457.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088360Member" xlink:label="C000088360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088360Member" use="optional" order="458.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113516Member" xlink:label="C000113516Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113516Member" use="optional" order="459.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088361Member" xlink:label="C000088361Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088361Member" use="optional" order="4510.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088362Member" xlink:label="C000088362Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088362Member" use="optional" order="4511.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088363Member" xlink:label="C000088363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088363Member" use="optional" order="4512.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106475Member" xlink:label="C000106475Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106475Member" use="optional" order="4513.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037309Member" xlink:label="C000037309Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037309Member" use="optional" order="467.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037307Member" xlink:label="C000037307Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037307Member" use="optional" order="468.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153956Member" xlink:label="C000153956Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153956Member" use="optional" order="469.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037314Member" xlink:label="C000037314Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037314Member" use="optional" order="4610.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113503Member" xlink:label="C000113503Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113503Member" use="optional" order="4611.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037316Member" xlink:label="C000037316Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037316Member" use="optional" order="4612.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037317Member" xlink:label="C000037317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037317Member" use="optional" order="4613.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037308Member" xlink:label="C000037308Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037308Member" use="optional" order="4614.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106459Member" xlink:label="C000106459Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106459Member" use="optional" order="4615.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037340Member" xlink:label="C000037340Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037340Member" use="optional" order="477.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037330Member" xlink:label="C000037330Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037330Member" use="optional" order="478.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153957Member" xlink:label="C000153957Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153957Member" use="optional" order="479.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037335Member" xlink:label="C000037335Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037335Member" use="optional" order="4710.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113504Member" xlink:label="C000113504Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113504Member" use="optional" order="4711.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037337Member" xlink:label="C000037337Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037337Member" use="optional" order="4712.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037338Member" xlink:label="C000037338Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037338Member" use="optional" order="4713.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037339Member" xlink:label="C000037339Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037339Member" use="optional" order="4714.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106460Member" xlink:label="C000106460Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106460Member" use="optional" order="4715.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037351Member" xlink:label="C000037351Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037351Member" use="optional" order="487.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037341Member" xlink:label="C000037341Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037341Member" use="optional" order="488.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153958Member" xlink:label="C000153958Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153958Member" use="optional" order="489.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037346Member" xlink:label="C000037346Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037346Member" use="optional" order="4810.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113505Member" xlink:label="C000113505Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113505Member" use="optional" order="4811.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037348Member" xlink:label="C000037348Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037348Member" use="optional" order="4812.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037349Member" xlink:label="C000037349Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037349Member" use="optional" order="4813.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037350Member" xlink:label="C000037350Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037350Member" use="optional" order="4814.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106461Member" xlink:label="C000106461Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106461Member" use="optional" order="4815.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037362Member" xlink:label="C000037362Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037362Member" use="optional" order="497.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037352Member" xlink:label="C000037352Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037352Member" use="optional" order="498.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153959Member" xlink:label="C000153959Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153959Member" use="optional" order="499.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037357Member" xlink:label="C000037357Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037357Member" use="optional" order="4910.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113506Member" xlink:label="C000113506Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113506Member" use="optional" order="4911.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037359Member" xlink:label="C000037359Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037359Member" use="optional" order="4912.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037360Member" xlink:label="C000037360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037360Member" use="optional" order="4913.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037361Member" xlink:label="C000037361Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037361Member" use="optional" order="4914.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106462Member" xlink:label="C000106462Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106462Member" use="optional" order="4915.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037373Member" xlink:label="C000037373Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037373Member" use="optional" order="507.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037363Member" xlink:label="C000037363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037363Member" use="optional" order="508.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153960Member" xlink:label="C000153960Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153960Member" use="optional" order="509.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037368Member" xlink:label="C000037368Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037368Member" use="optional" order="5010.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113507Member" xlink:label="C000113507Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113507Member" use="optional" order="5011.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037370Member" xlink:label="C000037370Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037370Member" use="optional" order="5012.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037371Member" xlink:label="C000037371Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037371Member" use="optional" order="5013.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037372Member" xlink:label="C000037372Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037372Member" use="optional" order="5014.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106463Member" xlink:label="C000106463Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106463Member" use="optional" order="5015.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037384Member" xlink:label="C000037384Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037384Member" use="optional" order="517.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037374Member" xlink:label="C000037374Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037374Member" use="optional" order="518.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153961Member" xlink:label="C000153961Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153961Member" use="optional" order="519.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037379Member" xlink:label="C000037379Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037379Member" use="optional" order="5110.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113508Member" xlink:label="C000113508Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113508Member" use="optional" order="5111.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037381Member" xlink:label="C000037381Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037381Member" use="optional" order="5112.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037382Member" xlink:label="C000037382Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037382Member" use="optional" order="5113.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037383Member" xlink:label="C000037383Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037383Member" use="optional" order="5114.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106464Member" xlink:label="C000106464Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106464Member" use="optional" order="5115.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037395Member" xlink:label="C000037395Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037395Member" use="optional" order="527.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037385Member" xlink:label="C000037385Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037385Member" use="optional" order="528.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153962Member" xlink:label="C000153962Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153962Member" use="optional" order="529.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037390Member" xlink:label="C000037390Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037390Member" use="optional" order="5210.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113509Member" xlink:label="C000113509Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113509Member" use="optional" order="5211.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037392Member" xlink:label="C000037392Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037392Member" use="optional" order="5212.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037393Member" xlink:label="C000037393Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037393Member" use="optional" order="5213.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037394Member" xlink:label="C000037394Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037394Member" use="optional" order="5214.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106465Member" xlink:label="C000106465Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106465Member" use="optional" order="5215.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037406Member" xlink:label="C000037406Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037406Member" use="optional" order="537.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037396Member" xlink:label="C000037396Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037396Member" use="optional" order="538.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153963Member" xlink:label="C000153963Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153963Member" use="optional" order="539.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037401Member" xlink:label="C000037401Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037401Member" use="optional" order="5310.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113510Member" xlink:label="C000113510Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113510Member" use="optional" order="5311.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037403Member" xlink:label="C000037403Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037403Member" use="optional" order="5312.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037404Member" xlink:label="C000037404Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037404Member" use="optional" order="5313.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037405Member" xlink:label="C000037405Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037405Member" use="optional" order="5314.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106466Member" xlink:label="C000106466Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106466Member" use="optional" order="5315.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037417Member" xlink:label="C000037417Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037417Member" use="optional" order="547.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037407Member" xlink:label="C000037407Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037407Member" use="optional" order="548.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153964Member" xlink:label="C000153964Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153964Member" use="optional" order="549.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037412Member" xlink:label="C000037412Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037412Member" use="optional" order="5410.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113511Member" xlink:label="C000113511Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113511Member" use="optional" order="5411.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037414Member" xlink:label="C000037414Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037414Member" use="optional" order="5412.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037415Member" xlink:label="C000037415Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037415Member" use="optional" order="5413.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037416Member" xlink:label="C000037416Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037416Member" use="optional" order="5414.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106467Member" xlink:label="C000106467Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106467Member" use="optional" order="5415.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138478Member" xlink:label="C000138478Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138478Member" use="optional" order="557.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138479Member" xlink:label="C000138479Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138479Member" use="optional" order="558.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153974Member" xlink:label="C000153974Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153974Member" use="optional" order="559.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138472Member" xlink:label="C000138472Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138472Member" use="optional" order="5510.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138473Member" xlink:label="C000138473Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138473Member" use="optional" order="5511.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138474Member" xlink:label="C000138474Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138474Member" use="optional" order="5512.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138475Member" xlink:label="C000138475Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138475Member" use="optional" order="5513.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138476Member" xlink:label="C000138476Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138476Member" use="optional" order="5514.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138477Member" xlink:label="C000138477Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138477Member" use="optional" order="5515.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167626Member" xlink:label="C000167626Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167626Member" use="optional" order="567.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167627Member" xlink:label="C000167627Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167627Member" use="optional" order="568.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167619Member" xlink:label="C000167619Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167619Member" use="optional" order="569.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167620Member" xlink:label="C000167620Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167620Member" use="optional" order="5610.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167621Member" xlink:label="C000167621Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167621Member" use="optional" order="5611.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167622Member" xlink:label="C000167622Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167622Member" use="optional" order="5612.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167623Member" xlink:label="C000167623Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167623Member" use="optional" order="5613.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167624Member" xlink:label="C000167624Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167624Member" use="optional" order="5614.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167625Member" xlink:label="C000167625Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167625Member" use="optional" order="5615.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009221Member" xlink:label="C000009221Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009221Member" use="optional" order="577.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141730Member" xlink:label="C000141730Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141730Member" use="optional" order="578.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141733Member" xlink:label="C000141733Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141733Member" use="optional" order="579.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141734Member" xlink:label="C000141734Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141734Member" use="optional" order="5710.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009220Member" xlink:label="C000009220Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009220Member" use="optional" order="5711.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141735Member" xlink:label="C000141735Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141735Member" use="optional" order="5712.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141736Member" xlink:label="C000141736Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141736Member" use="optional" order="5713.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141737Member" xlink:label="C000141737Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141737Member" use="optional" order="5714.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141738Member" xlink:label="C000141738Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141738Member" use="optional" order="5715.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141739Member" xlink:label="C000141739Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141739Member" use="optional" order="5716.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141731Member" xlink:label="C000141731Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141731Member" use="optional" order="5717.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009189Member" xlink:label="C000009189Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009189Member" use="optional" order="587.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009188Member" xlink:label="C000009188Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009188Member" use="optional" order="588.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009198Member" xlink:label="C000009198Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009198Member" use="optional" order="597.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009197Member" xlink:label="C000009197Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009197Member" use="optional" order="598.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009253Member" xlink:label="C000009253Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009253Member" use="optional" order="607.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009252Member" xlink:label="C000009252Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009252Member" use="optional" order="608.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009367Member" xlink:label="C000009367Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009367Member" use="optional" order="617.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009366Member" xlink:label="C000009366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009366Member" use="optional" order="618.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000122206Member" xlink:label="C000122206Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000122206Member" use="optional" order="627.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000122207Member" xlink:label="C000122207Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000122207Member" use="optional" order="628.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000122208Member" xlink:label="C000122208Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000122208Member" use="optional" order="629.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000095456Member" xlink:label="C000095456Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000095456Member" use="optional" order="637.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000104936Member" xlink:label="C000104936Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000104936Member" use="optional" order="647.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000090706Member" xlink:label="C000090706Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000090706Member" use="optional" order="657.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000173477Member" xlink:label="C000173477Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000173477Member" use="optional" order="667.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000073278Member" xlink:label="C000073278Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000073278Member" use="optional" order="677.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000027161Member" xlink:label="C000027161Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000027161Member" use="optional" order="687.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000073276Member" xlink:label="C000073276Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000073276Member" use="optional" order="697.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000027179Member" xlink:label="C000027179Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000027179Member" use="optional" order="707.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135638Member" xlink:label="C000135638Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135638Member" use="optional" order="717.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135639Member" xlink:label="C000135639Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135639Member" use="optional" order="718.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000027197Member" xlink:label="C000027197Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000027197Member" use="optional" order="719.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135640Member" xlink:label="C000135640Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135640Member" use="optional" order="7110.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000111805Member" xlink:label="C000111805Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000111805Member" use="optional" order="727.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000085587Member" xlink:label="C000085587Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000085587Member" use="optional" order="737.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000085588Member" xlink:label="C000085588Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000085588Member" use="optional" order="738.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000085589Member" xlink:label="C000085589Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000085589Member" use="optional" order="739.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000027206Member" xlink:label="C000027206Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000027206Member" use="optional" order="7310.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113502Member" xlink:label="C000113502Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113502Member" use="optional" order="7311.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106458Member" xlink:label="C000106458Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106458Member" use="optional" order="7312.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009325Member" xlink:label="C000009325Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009325Member" use="optional" order="747.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000173478Member" xlink:label="C000173478Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000173478Member" use="optional" order="757.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000069283Member" xlink:label="C000069283Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000069283Member" use="optional" order="767.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000102118Member" xlink:label="C000102118Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000102118Member" use="optional" order="768.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000098166Member" xlink:label="C000098166Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000098166Member" use="optional" order="769.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113512Member" xlink:label="C000113512Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113512Member" use="optional" order="7610.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128529Member" xlink:label="C000128529Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128529Member" use="optional" order="7611.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106470Member" xlink:label="C000106470Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106470Member" use="optional" order="7612.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000140586Member" xlink:label="C000140586Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000140586Member" use="optional" order="777.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000140587Member" xlink:label="C000140587Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000140587Member" use="optional" order="778.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000140588Member" xlink:label="C000140588Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000140588Member" use="optional" order="779.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000140589Member" xlink:label="C000140589Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000140589Member" use="optional" order="7710.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/AAAA">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_AAAAMember" xlink:label="AAAAMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="AAAAMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000023552Member" xlink:label="S000023552Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000023552Member" use="optional" order="182.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BBBB">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_BBBBMember" xlink:label="BBBBMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="BBBBMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000039618Member" xlink:label="S000039618Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000039618Member" use="optional" order="168.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/CCCC">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_CCCCMember" xlink:label="CCCCMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="CCCCMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003311Member" xlink:label="S000003311Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003311Member" use="optional" order="122.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/DDDD">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_DDDDMember" xlink:label="DDDDMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="DDDDMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003311Member" xlink:label="S000003311Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003311Member" use="optional" order="122.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/EEEE">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_EEEEMember" xlink:label="EEEEMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="EEEEMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000034047Member" xlink:label="S000034047Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000034047Member" use="optional" order="104.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/FFFF">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_FFFFMember" xlink:label="FFFFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="FFFFMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000017260Member" xlink:label="S000017260Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000017260Member" use="optional" order="119.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/GGGG">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_GGGGMember" xlink:label="GGGGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="GGGGMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000017260Member" xlink:label="S000017260Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000017260Member" use="optional" order="119.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/HHHH">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_HHHHMember" xlink:label="HHHHMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="HHHHMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000027304Member" xlink:label="S000027304Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000027304Member" use="optional" order="118.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/IIII">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_IIIIMember" xlink:label="IIIIMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="IIIIMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003317Member" xlink:label="S000003317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003317Member" use="optional" order="125.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/JJJJ">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_JJJJMember" xlink:label="JJJJMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="JJJJMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003317Member" xlink:label="S000003317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003317Member" use="optional" order="125.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/KKKK">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_KKKKMember" xlink:label="KKKKMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="KKKKMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000020234Member" xlink:label="S000020234Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000020234Member" use="optional" order="120.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/LLLL">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_LLLLMember" xlink:label="LLLLMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="LLLLMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000037602Member" xlink:label="S000037602Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000037602Member" use="optional" order="116.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/MMMM">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_MMMMMember" xlink:label="MMMMMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="MMMMMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000040959Member" xlink:label="S000040959Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000040959Member" use="optional" order="109.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/NNNN">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_NNNNMember" xlink:label="NNNNMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="NNNNMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000045160Member" xlink:label="S000045160Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000045160Member" use="optional" order="183.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OOOO">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_OOOOMember" xlink:label="OOOOMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="OOOOMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009779Member" xlink:label="S000009779Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000009779Member" use="optional" order="117.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PPPP">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_PPPPMember" xlink:label="PPPPMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="PPPPMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009779Member" xlink:label="S000009779Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000009779Member" use="optional" order="117.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/QQQQ">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_QQQQMember" xlink:label="QQQQMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="QQQQMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043433Member" xlink:label="S000043433Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000043433Member" use="optional" order="111.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043434Member" xlink:label="S000043434Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000043434Member" use="optional" order="112.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043435Member" xlink:label="S000043435Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000043435Member" use="optional" order="113.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043436Member" xlink:label="S000043436Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000043436Member" use="optional" order="114.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043437Member" xlink:label="S000043437Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000043437Member" use="optional" order="115.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/RRRR">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_RRRRMember" xlink:label="RRRRMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="RRRRMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043433Member" xlink:label="S000043433Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000043433Member" use="optional" order="111.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043434Member" xlink:label="S000043434Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000043434Member" use="optional" order="112.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043435Member" xlink:label="S000043435Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000043435Member" use="optional" order="113.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043436Member" xlink:label="S000043436Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000043436Member" use="optional" order="114.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043437Member" xlink:label="S000043437Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000043437Member" use="optional" order="115.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/SSSS">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_SSSSMember" xlink:label="SSSSMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="SSSSMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042847Member" xlink:label="S000042847Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042847Member" use="optional" order="132.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042848Member" xlink:label="S000042848Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042848Member" use="optional" order="133.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042849Member" xlink:label="S000042849Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042849Member" use="optional" order="134.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042850Member" xlink:label="S000042850Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042850Member" use="optional" order="136.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042851Member" xlink:label="S000042851Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042851Member" use="optional" order="138.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042852Member" xlink:label="S000042852Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042852Member" use="optional" order="140.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042853Member" xlink:label="S000042853Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042853Member" use="optional" order="142.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042854Member" xlink:label="S000042854Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042854Member" use="optional" order="144.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042855Member" xlink:label="S000042855Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042855Member" use="optional" order="146.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044503Member" xlink:label="S000044503Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000044503Member" use="optional" order="148.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053255Member" xlink:label="S000053255Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000053255Member" use="optional" order="150.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/TTTT">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_TTTTMember" xlink:label="TTTTMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="TTTTMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042847Member" xlink:label="S000042847Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042847Member" use="optional" order="132.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042848Member" xlink:label="S000042848Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042848Member" use="optional" order="133.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042849Member" xlink:label="S000042849Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042849Member" use="optional" order="134.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042850Member" xlink:label="S000042850Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042850Member" use="optional" order="136.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042851Member" xlink:label="S000042851Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042851Member" use="optional" order="138.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042852Member" xlink:label="S000042852Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042852Member" use="optional" order="140.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042853Member" xlink:label="S000042853Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042853Member" use="optional" order="142.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042854Member" xlink:label="S000042854Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042854Member" use="optional" order="144.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042855Member" xlink:label="S000042855Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042855Member" use="optional" order="146.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044503Member" xlink:label="S000044503Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000044503Member" use="optional" order="148.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053255Member" xlink:label="S000053255Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000053255Member" use="optional" order="150.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/UUUU">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_UUUUMember" xlink:label="UUUUMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="UUUUMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028822Member" xlink:label="S000028822Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028822Member" use="optional" order="135.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028823Member" xlink:label="S000028823Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028823Member" use="optional" order="137.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028824Member" xlink:label="S000028824Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028824Member" use="optional" order="139.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028825Member" xlink:label="S000028825Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028825Member" use="optional" order="141.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028826Member" xlink:label="S000028826Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028826Member" use="optional" order="143.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028817Member" xlink:label="S000028817Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028817Member" use="optional" order="145.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028818Member" xlink:label="S000028818Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028818Member" use="optional" order="147.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044501Member" xlink:label="S000044501Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000044501Member" use="optional" order="149.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053253Member" xlink:label="S000053253Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000053253Member" use="optional" order="151.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028821Member" xlink:label="S000028821Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028821Member" use="optional" order="152.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/VVVV">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_VVVVMember" xlink:label="VVVVMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="VVVVMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028822Member" xlink:label="S000028822Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028822Member" use="optional" order="135.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028823Member" xlink:label="S000028823Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028823Member" use="optional" order="137.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028824Member" xlink:label="S000028824Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028824Member" use="optional" order="139.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028825Member" xlink:label="S000028825Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028825Member" use="optional" order="141.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028826Member" xlink:label="S000028826Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028826Member" use="optional" order="143.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028817Member" xlink:label="S000028817Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028817Member" use="optional" order="145.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028818Member" xlink:label="S000028818Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028818Member" use="optional" order="147.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044501Member" xlink:label="S000044501Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000044501Member" use="optional" order="149.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053253Member" xlink:label="S000053253Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000053253Member" use="optional" order="151.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028821Member" xlink:label="S000028821Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028821Member" use="optional" order="152.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/WWWW">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_WWWWMember" xlink:label="WWWWMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="WWWWMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013649Member" xlink:label="S000013649Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000013649Member" use="optional" order="158.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013652Member" xlink:label="S000013652Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000013652Member" use="optional" order="159.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013653Member" xlink:label="S000013653Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000013653Member" use="optional" order="160.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013654Member" xlink:label="S000013654Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000013654Member" use="optional" order="161.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013655Member" xlink:label="S000013655Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000013655Member" use="optional" order="162.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013656Member" xlink:label="S000013656Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000013656Member" use="optional" order="163.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013657Member" xlink:label="S000013657Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000013657Member" use="optional" order="164.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013658Member" xlink:label="S000013658Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000013658Member" use="optional" order="165.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013659Member" xlink:label="S000013659Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000013659Member" use="optional" order="166.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044502Member" xlink:label="S000044502Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000044502Member" use="optional" order="167.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053254Member" xlink:label="S000053254Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000053254Member" use="optional" order="168.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/XXXX">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_XXXXMember" xlink:label="XXXXMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="XXXXMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003360Member" xlink:label="S000003360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003360Member" use="optional" order="169.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/YYYY">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_YYYYMember" xlink:label="YYYYMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="YYYYMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003363Member" xlink:label="S000003363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003363Member" use="optional" order="121.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ZZZZ">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_ZZZZMember" xlink:label="ZZZZMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="ZZZZMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009819Member" xlink:label="S000009819Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000009819Member" use="optional" order="196.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/AAAB">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_AAABMember" xlink:label="AAABMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="AAABMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003366Member" xlink:label="S000003366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003366Member" use="optional" order="110.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BBBC">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_BBBCMember" xlink:label="BBBCMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="BBBCMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003366Member" xlink:label="S000003366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003366Member" use="optional" order="110.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/CCCD">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_CCCDMember" xlink:label="CCCDMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="CCCDMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009820Member" xlink:label="S000009820Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000009820Member" use="optional" order="201.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/DDDE">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_DDDEMember" xlink:label="DDDEMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="DDDEMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003401Member" xlink:label="S000003401Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003401Member" use="optional" order="108.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/EEEF">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_EEEFMember" xlink:label="EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="EEEFMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000034047Member" xlink:label="S000034047Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000034047Member" use="optional" order="104.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003401Member" xlink:label="S000003401Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003401Member" use="optional" order="108.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000040959Member" xlink:label="S000040959Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000040959Member" use="optional" order="109.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003366Member" xlink:label="S000003366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003366Member" use="optional" order="110.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000037602Member" xlink:label="S000037602Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000037602Member" use="optional" order="116.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009779Member" xlink:label="S000009779Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000009779Member" use="optional" order="117.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000027304Member" xlink:label="S000027304Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000027304Member" use="optional" order="118.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000017260Member" xlink:label="S000017260Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000017260Member" use="optional" order="119.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000020234Member" xlink:label="S000020234Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000020234Member" use="optional" order="120.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003363Member" xlink:label="S000003363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003363Member" use="optional" order="121.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003311Member" xlink:label="S000003311Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003311Member" use="optional" order="122.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003312Member" xlink:label="S000003312Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003312Member" use="optional" order="123.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003313Member" xlink:label="S000003313Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003313Member" use="optional" order="124.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003317Member" xlink:label="S000003317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003317Member" use="optional" order="125.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003319Member" xlink:label="S000003319Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003319Member" use="optional" order="127.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003320Member" xlink:label="S000003320Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003320Member" use="optional" order="128.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003322Member" xlink:label="S000003322Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003322Member" use="optional" order="129.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003324Member" xlink:label="S000003324Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003324Member" use="optional" order="130.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003344Member" xlink:label="S000003344Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003344Member" use="optional" order="131.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003360Member" xlink:label="S000003360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003360Member" use="optional" order="169.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003356Member" xlink:label="S000003356Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003356Member" use="optional" order="170.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003357Member" xlink:label="S000003357Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003357Member" use="optional" order="171.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003364Member" xlink:label="S000003364Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003364Member" use="optional" order="172.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003400Member" xlink:label="S000003400Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003400Member" use="optional" order="174.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000039618Member" xlink:label="S000039618Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000039618Member" use="optional" order="168.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000030799Member" xlink:label="S000030799Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000030799Member" use="optional" order="171.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000034046Member" xlink:label="S000034046Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000034046Member" use="optional" order="180.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000029558Member" xlink:label="S000029558Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000029558Member" use="optional" order="182.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000055170Member" xlink:label="S000055170Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000055170Member" use="optional" order="185.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000024677Member" xlink:label="S000024677Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000024677Member" use="optional" order="188.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009815Member" xlink:label="S000009815Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000009815Member" use="optional" order="193.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000024676Member" xlink:label="S000024676Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000024676Member" use="optional" order="194.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009817Member" xlink:label="S000009817Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000009817Member" use="optional" order="195.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009819Member" xlink:label="S000009819Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000009819Member" use="optional" order="196.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000036500Member" xlink:label="S000036500Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000036500Member" use="optional" order="200.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009820Member" xlink:label="S000009820Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000009820Member" use="optional" order="201.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003394Member" xlink:label="S000003394Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003394Member" use="optional" order="202.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000055171Member" xlink:label="S000055171Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000055171Member" use="optional" order="205.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/FFFG">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnHeading" xlink:label="RiskReturnHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskReturnHeading" use="optional" order="1.5"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveSecondaryTextBlock" xlink:label="ObjectiveSecondaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveSecondaryTextBlock" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesTableTextBlock" xlink:label="ShareholderFeesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesTableTextBlock" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualFundOperatingExpensesTableTextBlock" xlink:label="AnnualFundOperatingExpensesTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualFundOperatingExpensesTableTextBlock" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseFootnotesTextBlock" xlink:label="ExpenseFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseFootnotesTextBlock" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesDeferredChargesTextBlock" xlink:label="ExpensesDeferredChargesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesDeferredChargesTextBlock" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesRangeOfExchangeFeesTextBlock" xlink:label="ExpensesRangeOfExchangeFeesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesRangeOfExchangeFeesTextBlock" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearHeading" xlink:label="ExpenseExampleByYearHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearHeading" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleWithRedemptionTableTextBlock" xlink:label="ExpenseExampleWithRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleWithRedemptionTableTextBlock" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionNarrativeTextBlock" xlink:label="ExpenseExampleNoRedemptionNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionNarrativeTextBlock" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionTableTextBlock" xlink:label="ExpenseExampleNoRedemptionTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionTableTextBlock" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleFootnotesTextBlock" xlink:label="ExpenseExampleFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleFootnotesTextBlock" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleClosingTextBlock" xlink:label="ExpenseExampleClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleClosingTextBlock" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskFootnotesTextBlock" xlink:label="RiskFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskFootnotesTextBlock" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskClosingTextBlock" xlink:label="RiskClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskClosingTextBlock" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartNarrativeTextBlock" xlink:label="BarChartNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartNarrativeTextBlock" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableTextBlock" xlink:label="BarChartTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartTableTextBlock" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartFootnotesTextBlock" xlink:label="BarChartFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartFootnotesTextBlock" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableNarrativeTextBlock" xlink:label="PerformanceTableNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableNarrativeTextBlock" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableTextBlock" xlink:label="PerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableTextBlock" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MarketIndexPerformanceTableTextBlock" xlink:label="MarketIndexPerformanceTableTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MarketIndexPerformanceTableTextBlock" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableFootnotesTextBlock" xlink:label="PerformanceTableFootnotesTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableFootnotesTextBlock" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableClosingTextBlock" xlink:label="PerformanceTableClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableClosingTextBlock" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_FFFGMember" xlink:label="FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="FFFGMember" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003401Member" xlink:label="S000003401Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003401Member" use="optional" order="108.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043433Member" xlink:label="S000043433Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000043433Member" use="optional" order="111.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043434Member" xlink:label="S000043434Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000043434Member" use="optional" order="112.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043435Member" xlink:label="S000043435Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000043435Member" use="optional" order="113.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043436Member" xlink:label="S000043436Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000043436Member" use="optional" order="114.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043437Member" xlink:label="S000043437Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000043437Member" use="optional" order="115.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000020234Member" xlink:label="S000020234Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000020234Member" use="optional" order="120.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003311Member" xlink:label="S000003311Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003311Member" use="optional" order="122.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003312Member" xlink:label="S000003312Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003312Member" use="optional" order="123.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003313Member" xlink:label="S000003313Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003313Member" use="optional" order="124.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003317Member" xlink:label="S000003317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003317Member" use="optional" order="125.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003319Member" xlink:label="S000003319Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003319Member" use="optional" order="127.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003320Member" xlink:label="S000003320Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003320Member" use="optional" order="128.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003322Member" xlink:label="S000003322Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003322Member" use="optional" order="129.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003324Member" xlink:label="S000003324Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003324Member" use="optional" order="130.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003344Member" xlink:label="S000003344Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003344Member" use="optional" order="131.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042847Member" xlink:label="S000042847Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042847Member" use="optional" order="132.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042848Member" xlink:label="S000042848Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042848Member" use="optional" order="133.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042849Member" xlink:label="S000042849Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042849Member" use="optional" order="134.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028822Member" xlink:label="S000028822Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028822Member" use="optional" order="135.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042850Member" xlink:label="S000042850Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042850Member" use="optional" order="136.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028823Member" xlink:label="S000028823Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028823Member" use="optional" order="137.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042851Member" xlink:label="S000042851Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042851Member" use="optional" order="138.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028824Member" xlink:label="S000028824Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028824Member" use="optional" order="139.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042852Member" xlink:label="S000042852Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042852Member" use="optional" order="140.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028825Member" xlink:label="S000028825Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028825Member" use="optional" order="141.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042853Member" xlink:label="S000042853Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042853Member" use="optional" order="142.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028826Member" xlink:label="S000028826Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028826Member" use="optional" order="143.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042854Member" xlink:label="S000042854Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042854Member" use="optional" order="144.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028817Member" xlink:label="S000028817Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028817Member" use="optional" order="145.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042855Member" xlink:label="S000042855Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042855Member" use="optional" order="146.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028818Member" xlink:label="S000028818Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028818Member" use="optional" order="147.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044503Member" xlink:label="S000044503Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000044503Member" use="optional" order="148.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044501Member" xlink:label="S000044501Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000044501Member" use="optional" order="149.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053255Member" xlink:label="S000053255Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000053255Member" use="optional" order="150.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053253Member" xlink:label="S000053253Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000053253Member" use="optional" order="151.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028821Member" xlink:label="S000028821Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028821Member" use="optional" order="152.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013649Member" xlink:label="S000013649Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000013649Member" use="optional" order="158.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013652Member" xlink:label="S000013652Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000013652Member" use="optional" order="159.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013653Member" xlink:label="S000013653Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000013653Member" use="optional" order="160.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013654Member" xlink:label="S000013654Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000013654Member" use="optional" order="161.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013655Member" xlink:label="S000013655Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000013655Member" use="optional" order="162.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013656Member" xlink:label="S000013656Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000013656Member" use="optional" order="163.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013657Member" xlink:label="S000013657Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000013657Member" use="optional" order="164.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013658Member" xlink:label="S000013658Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000013658Member" use="optional" order="165.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013659Member" xlink:label="S000013659Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000013659Member" use="optional" order="166.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044502Member" xlink:label="S000044502Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000044502Member" use="optional" order="167.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053254Member" xlink:label="S000053254Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000053254Member" use="optional" order="168.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003360Member" xlink:label="S000003360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003360Member" use="optional" order="169.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003356Member" xlink:label="S000003356Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003356Member" use="optional" order="170.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003357Member" xlink:label="S000003357Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003357Member" use="optional" order="171.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003364Member" xlink:label="S000003364Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003364Member" use="optional" order="172.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003400Member" xlink:label="S000003400Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003400Member" use="optional" order="174.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataAAAA">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_AAAAMember" xlink:label="AAAAMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="AAAAMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000023552Member" xlink:label="S000023552Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000023552Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000069283Member" xlink:label="C000069283Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000069283Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000102118Member" xlink:label="C000102118Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000102118Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000098166Member" xlink:label="C000098166Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000098166Member" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113512Member" xlink:label="C000113512Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113512Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128529Member" xlink:label="C000128529Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128529Member" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106470Member" xlink:label="C000106470Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106470Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122902AAAAMember" xlink:label="benchmark2015122902AAAAMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122902AAAAMember" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="69.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="70.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="74.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataAAAA">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_AAAAMember" xlink:label="AAAAMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="AAAAMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000023552Member" xlink:label="S000023552Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000023552Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000069283Member" xlink:label="C000069283Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000069283Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000102118Member" xlink:label="C000102118Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000102118Member" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000098166Member" xlink:label="C000098166Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000098166Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113512Member" xlink:label="C000113512Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113512Member" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128529Member" xlink:label="C000128529Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128529Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106470Member" xlink:label="C000106470Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106470Member" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="53.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataAAAA">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_AAAAMember" xlink:label="AAAAMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="AAAAMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000023552Member" xlink:label="S000023552Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000023552Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000069283Member" xlink:label="C000069283Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000069283Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000102118Member" xlink:label="C000102118Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000102118Member" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000098166Member" xlink:label="C000098166Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000098166Member" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113512Member" xlink:label="C000113512Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113512Member" use="optional" order="62.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128529Member" xlink:label="C000128529Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128529Member" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106470Member" xlink:label="C000106470Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106470Member" use="optional" order="98.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="118.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="119.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="120.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="121.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="122.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="123.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="124.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="125.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="126.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="127.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="128.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="129.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleNoRedemptionAAAA">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_AAAAMember" xlink:label="AAAAMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="AAAAMember" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000023552Member" xlink:label="S000023552Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000023552Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000102118Member" xlink:label="C000102118Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000102118Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionAbstract" xlink:label="ExpenseExampleNoRedemptionAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ProspectusTable" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear01" xlink:label="ExpenseExampleNoRedemptionYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear01" use="optional" priority="1" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear03" xlink:label="ExpenseExampleNoRedemptionYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear03" use="optional" priority="1" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear05" xlink:label="ExpenseExampleNoRedemptionYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear05" use="optional" priority="1" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear10" xlink:label="ExpenseExampleNoRedemptionYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear10" use="optional" priority="1" order="20.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleAAAA">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_AAAAMember" xlink:label="AAAAMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="AAAAMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000023552Member" xlink:label="S000023552Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000023552Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000069283Member" xlink:label="C000069283Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000069283Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000102118Member" xlink:label="C000102118Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000102118Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000098166Member" xlink:label="C000098166Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000098166Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113512Member" xlink:label="C000113512Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113512Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128529Member" xlink:label="C000128529Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128529Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106470Member" xlink:label="C000106470Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106470Member" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="61.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataAAAA">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_AAAAMember" xlink:label="AAAAMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="AAAAMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000023552Member" xlink:label="S000023552Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000023552Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000069283Member" xlink:label="C000069283Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000069283Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="60.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataBBBB">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_BBBBMember" xlink:label="BBBBMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="BBBBMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000039618Member" xlink:label="S000039618Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000039618Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000122206Member" xlink:label="C000122206Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000122206Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000122207Member" xlink:label="C000122207Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000122207Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122903BBBBMember" xlink:label="benchmark2015122903BBBBMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122903BBBBMember" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122904BBBBMember" xlink:label="benchmark2015122904BBBBMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122904BBBBMember" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122905BBBBMember" xlink:label="benchmark2015122905BBBBMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122905BBBBMember" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="46.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataBBBB">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_BBBBMember" xlink:label="BBBBMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="BBBBMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000039618Member" xlink:label="S000039618Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000039618Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000122206Member" xlink:label="C000122206Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000122206Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000122207Member" xlink:label="C000122207Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000122207Member" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="29.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataBBBB">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_BBBBMember" xlink:label="BBBBMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="BBBBMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000039618Member" xlink:label="S000039618Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000039618Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000122206Member" xlink:label="C000122206Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000122206Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000122207Member" xlink:label="C000122207Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000122207Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="45.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleBBBB">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_BBBBMember" xlink:label="BBBBMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="BBBBMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000039618Member" xlink:label="S000039618Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000039618Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000122206Member" xlink:label="C000122206Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000122206Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000122207Member" xlink:label="C000122207Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000122207Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="29.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataBBBB">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_BBBBMember" xlink:label="BBBBMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="BBBBMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000039618Member" xlink:label="S000039618Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000039618Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000122206Member" xlink:label="C000122206Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000122206Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="50.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataCCCC">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_CCCCMember" xlink:label="CCCCMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="CCCCMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003311Member" xlink:label="S000003311Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003311Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153947Member" xlink:label="C000153947Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153947Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153948Member" xlink:label="C000153948Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153948Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1084CCCCMember" xlink:label="benchmark1084CCCCMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1084CCCCMember" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1121CCCCMember" xlink:label="benchmark1121CCCCMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1121CCCCMember" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="56.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataCCCC">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_CCCCMember" xlink:label="CCCCMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="CCCCMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003311Member" xlink:label="S000003311Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003311Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153947Member" xlink:label="C000153947Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153947Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153948Member" xlink:label="C000153948Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153948Member" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="29.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataCCCC">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_CCCCMember" xlink:label="CCCCMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="CCCCMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003311Member" xlink:label="S000003311Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003311Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153947Member" xlink:label="C000153947Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153947Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153948Member" xlink:label="C000153948Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153948Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="45.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleNoRedemptionCCCC">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_CCCCMember" xlink:label="CCCCMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="CCCCMember" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003311Member" xlink:label="S000003311Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003311Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153948Member" xlink:label="C000153948Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153948Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionAbstract" xlink:label="ExpenseExampleNoRedemptionAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ProspectusTable" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear01" xlink:label="ExpenseExampleNoRedemptionYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear01" use="optional" priority="1" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear03" xlink:label="ExpenseExampleNoRedemptionYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear03" use="optional" priority="1" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear05" xlink:label="ExpenseExampleNoRedemptionYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear05" use="optional" priority="1" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear10" xlink:label="ExpenseExampleNoRedemptionYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear10" use="optional" priority="1" order="20.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleCCCC">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_CCCCMember" xlink:label="CCCCMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="CCCCMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003311Member" xlink:label="S000003311Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003311Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153947Member" xlink:label="C000153947Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153947Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153948Member" xlink:label="C000153948Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153948Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="29.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataCCCC">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_CCCCMember" xlink:label="CCCCMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="CCCCMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003311Member" xlink:label="S000003311Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003311Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153947Member" xlink:label="C000153947Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153947Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="61.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="62.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataDDDD">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_DDDDMember" xlink:label="DDDDMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="DDDDMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003311Member" xlink:label="S000003311Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003311Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153949Member" xlink:label="C000153949Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153949Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1084DDDDMember" xlink:label="benchmark1084DDDDMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1084DDDDMember" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1121DDDDMember" xlink:label="benchmark1121DDDDMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1121DDDDMember" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="50.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataDDDD">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_DDDDMember" xlink:label="DDDDMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="DDDDMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003311Member" xlink:label="S000003311Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003311Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153949Member" xlink:label="C000153949Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153949Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="21.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataDDDD">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_DDDDMember" xlink:label="DDDDMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="DDDDMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003311Member" xlink:label="S000003311Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003311Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153949Member" xlink:label="C000153949Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153949Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="31.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleDDDD">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_DDDDMember" xlink:label="DDDDMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="DDDDMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003311Member" xlink:label="S000003311Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003311Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153949Member" xlink:label="C000153949Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153949Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="21.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataDDDD">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_DDDDMember" xlink:label="DDDDMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="DDDDMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003311Member" xlink:label="S000003311Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003311Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153949Member" xlink:label="C000153949Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153949Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="61.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="62.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataEEEE">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_EEEEMember" xlink:label="EEEEMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="EEEEMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000034047Member" xlink:label="S000034047Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000034047Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135671Member" xlink:label="C000135671Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135671Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000143712Member" xlink:label="C000143712Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000143712Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135672Member" xlink:label="C000135672Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135672Member" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135673Member" xlink:label="C000135673Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135673Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_bench2014042309EEEEMember" xlink:label="bench2014042309EEEEMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="bench2014042309EEEEMember" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1084EEEEMember" xlink:label="benchmark1084EEEEMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1084EEEEMember" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="63.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="65.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="66.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="68.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataEEEE">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_EEEEMember" xlink:label="EEEEMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="EEEEMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000034047Member" xlink:label="S000034047Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000034047Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135671Member" xlink:label="C000135671Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135671Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000143712Member" xlink:label="C000143712Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000143712Member" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135672Member" xlink:label="C000135672Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135672Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135673Member" xlink:label="C000135673Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135673Member" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="41.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataEEEE">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_EEEEMember" xlink:label="EEEEMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="EEEEMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000034047Member" xlink:label="S000034047Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000034047Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135671Member" xlink:label="C000135671Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135671Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000143712Member" xlink:label="C000143712Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000143712Member" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135672Member" xlink:label="C000135672Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135672Member" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135673Member" xlink:label="C000135673Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135673Member" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="66.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="67.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="68.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="69.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="70.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="73.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="74.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="75.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="76.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="77.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleNoRedemptionEEEE">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_EEEEMember" xlink:label="EEEEMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="EEEEMember" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000034047Member" xlink:label="S000034047Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000034047Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000143712Member" xlink:label="C000143712Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000143712Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionAbstract" xlink:label="ExpenseExampleNoRedemptionAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ProspectusTable" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear01" xlink:label="ExpenseExampleNoRedemptionYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear01" use="optional" priority="1" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear03" xlink:label="ExpenseExampleNoRedemptionYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear03" use="optional" priority="1" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear05" xlink:label="ExpenseExampleNoRedemptionYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear05" use="optional" priority="1" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear10" xlink:label="ExpenseExampleNoRedemptionYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear10" use="optional" priority="1" order="20.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleEEEE">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_EEEEMember" xlink:label="EEEEMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="EEEEMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000034047Member" xlink:label="S000034047Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000034047Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135671Member" xlink:label="C000135671Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135671Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000143712Member" xlink:label="C000143712Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000143712Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135672Member" xlink:label="C000135672Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135672Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135673Member" xlink:label="C000135673Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135673Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="45.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataEEEE">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_EEEEMember" xlink:label="EEEEMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="EEEEMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000034047Member" xlink:label="S000034047Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000034047Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135671Member" xlink:label="C000135671Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135671Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="54.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataFFFF">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_FFFFMember" xlink:label="FFFFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="FFFFMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000017260Member" xlink:label="S000017260Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000017260Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099349Member" xlink:label="C000099349Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099349Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099350Member" xlink:label="C000099350Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099350Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099351Member" xlink:label="C000099351Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099351Member" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106468Member" xlink:label="C000106468Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106468Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1119FFFFMember" xlink:label="benchmark1119FFFFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1119FFFFMember" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="62.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataFFFF">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_FFFFMember" xlink:label="FFFFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="FFFFMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000017260Member" xlink:label="S000017260Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000017260Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099349Member" xlink:label="C000099349Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099349Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099350Member" xlink:label="C000099350Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099350Member" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099351Member" xlink:label="C000099351Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099351Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106468Member" xlink:label="C000106468Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106468Member" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="41.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataFFFF">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_FFFFMember" xlink:label="FFFFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="FFFFMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000017260Member" xlink:label="S000017260Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000017260Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099349Member" xlink:label="C000099349Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099349Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099350Member" xlink:label="C000099350Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099350Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099351Member" xlink:label="C000099351Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099351Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106468Member" xlink:label="C000106468Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106468Member" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="61.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="62.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="63.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="65.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="66.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="67.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="68.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="69.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleNoRedemptionFFFF">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_FFFFMember" xlink:label="FFFFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="FFFFMember" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000017260Member" xlink:label="S000017260Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000017260Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099350Member" xlink:label="C000099350Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099350Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionAbstract" xlink:label="ExpenseExampleNoRedemptionAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ProspectusTable" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear01" xlink:label="ExpenseExampleNoRedemptionYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear01" use="optional" priority="1" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear03" xlink:label="ExpenseExampleNoRedemptionYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear03" use="optional" priority="1" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear05" xlink:label="ExpenseExampleNoRedemptionYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear05" use="optional" priority="1" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear10" xlink:label="ExpenseExampleNoRedemptionYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear10" use="optional" priority="1" order="20.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleFFFF">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_FFFFMember" xlink:label="FFFFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="FFFFMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000017260Member" xlink:label="S000017260Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000017260Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099349Member" xlink:label="C000099349Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099349Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099350Member" xlink:label="C000099350Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099350Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099351Member" xlink:label="C000099351Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099351Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106468Member" xlink:label="C000106468Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106468Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="45.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataFFFF">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_FFFFMember" xlink:label="FFFFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="FFFFMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000017260Member" xlink:label="S000017260Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000017260Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099349Member" xlink:label="C000099349Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099349Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="61.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="62.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataGGGG">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_GGGGMember" xlink:label="GGGGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="GGGGMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000017260Member" xlink:label="S000017260Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000017260Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099354Member" xlink:label="C000099354Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099354Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099355Member" xlink:label="C000099355Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099355Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1119GGGGMember" xlink:label="benchmark1119GGGGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1119GGGGMember" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="50.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataGGGG">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_GGGGMember" xlink:label="GGGGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="GGGGMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000017260Member" xlink:label="S000017260Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000017260Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099354Member" xlink:label="C000099354Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099354Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099355Member" xlink:label="C000099355Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099355Member" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="25.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataGGGG">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_GGGGMember" xlink:label="GGGGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="GGGGMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000017260Member" xlink:label="S000017260Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000017260Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099354Member" xlink:label="C000099354Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099354Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099355Member" xlink:label="C000099355Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099355Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="53.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleGGGG">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_GGGGMember" xlink:label="GGGGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="GGGGMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000017260Member" xlink:label="S000017260Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000017260Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099354Member" xlink:label="C000099354Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099354Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099355Member" xlink:label="C000099355Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099355Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="29.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataGGGG">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_GGGGMember" xlink:label="GGGGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="GGGGMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000017260Member" xlink:label="S000017260Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000017260Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099354Member" xlink:label="C000099354Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099354Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="61.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="62.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataHHHH">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_HHHHMember" xlink:label="HHHHMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="HHHHMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000027304Member" xlink:label="S000027304Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000027304Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000082346Member" xlink:label="C000082346Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000082346Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000145673Member" xlink:label="C000145673Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000145673Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000082347Member" xlink:label="C000082347Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000082347Member" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153965Member" xlink:label="C000153965Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153965Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153966Member" xlink:label="C000153966Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153966Member" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153967Member" xlink:label="C000153967Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153967Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010902HHHHMember" xlink:label="benchmark010902HHHHMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010902HHHHMember" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="69.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="70.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="74.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataHHHH">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_HHHHMember" xlink:label="HHHHMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="HHHHMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000027304Member" xlink:label="S000027304Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000027304Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000082346Member" xlink:label="C000082346Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000082346Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000145673Member" xlink:label="C000145673Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000145673Member" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000082347Member" xlink:label="C000082347Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000082347Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153965Member" xlink:label="C000153965Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153965Member" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153966Member" xlink:label="C000153966Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153966Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153967Member" xlink:label="C000153967Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153967Member" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="53.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataHHHH">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_HHHHMember" xlink:label="HHHHMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="HHHHMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000027304Member" xlink:label="S000027304Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000027304Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000082346Member" xlink:label="C000082346Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000082346Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000145673Member" xlink:label="C000145673Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000145673Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000082347Member" xlink:label="C000082347Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000082347Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153965Member" xlink:label="C000153965Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153965Member" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153966Member" xlink:label="C000153966Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153966Member" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153967Member" xlink:label="C000153967Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153967Member" use="optional" order="88.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="106.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="107.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="108.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="109.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="110.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="111.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="112.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="113.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="114.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="115.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="116.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="117.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleNoRedemptionHHHH">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_HHHHMember" xlink:label="HHHHMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="HHHHMember" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000027304Member" xlink:label="S000027304Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000027304Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000145673Member" xlink:label="C000145673Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000145673Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionAbstract" xlink:label="ExpenseExampleNoRedemptionAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ProspectusTable" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear01" xlink:label="ExpenseExampleNoRedemptionYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear01" use="optional" priority="1" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear03" xlink:label="ExpenseExampleNoRedemptionYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear03" use="optional" priority="1" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear05" xlink:label="ExpenseExampleNoRedemptionYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear05" use="optional" priority="1" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear10" xlink:label="ExpenseExampleNoRedemptionYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear10" use="optional" priority="1" order="20.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleHHHH">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_HHHHMember" xlink:label="HHHHMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="HHHHMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000027304Member" xlink:label="S000027304Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000027304Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000082346Member" xlink:label="C000082346Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000082346Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000145673Member" xlink:label="C000145673Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000145673Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000082347Member" xlink:label="C000082347Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000082347Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153965Member" xlink:label="C000153965Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153965Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153966Member" xlink:label="C000153966Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153966Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153967Member" xlink:label="C000153967Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153967Member" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="61.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataHHHH">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_HHHHMember" xlink:label="HHHHMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="HHHHMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000027304Member" xlink:label="S000027304Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000027304Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000082346Member" xlink:label="C000082346Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000082346Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="58.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataIIII">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_IIIIMember" xlink:label="IIIIMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="IIIIMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003317Member" xlink:label="S000003317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003317Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153950Member" xlink:label="C000153950Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153950Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153951Member" xlink:label="C000153951Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153951Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1122IIIIMember" xlink:label="benchmark1122IIIIMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1122IIIIMember" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1084IIIIMember" xlink:label="benchmark1084IIIIMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1084IIIIMember" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="56.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataIIII">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_IIIIMember" xlink:label="IIIIMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="IIIIMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003317Member" xlink:label="S000003317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003317Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153950Member" xlink:label="C000153950Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153950Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153951Member" xlink:label="C000153951Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153951Member" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="29.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataIIII">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_IIIIMember" xlink:label="IIIIMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="IIIIMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003317Member" xlink:label="S000003317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003317Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153950Member" xlink:label="C000153950Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153950Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153951Member" xlink:label="C000153951Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153951Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="45.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleNoRedemptionIIII">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_IIIIMember" xlink:label="IIIIMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="IIIIMember" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003317Member" xlink:label="S000003317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003317Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153951Member" xlink:label="C000153951Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153951Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionAbstract" xlink:label="ExpenseExampleNoRedemptionAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ProspectusTable" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear01" xlink:label="ExpenseExampleNoRedemptionYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear01" use="optional" priority="1" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear03" xlink:label="ExpenseExampleNoRedemptionYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear03" use="optional" priority="1" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear05" xlink:label="ExpenseExampleNoRedemptionYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear05" use="optional" priority="1" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear10" xlink:label="ExpenseExampleNoRedemptionYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear10" use="optional" priority="1" order="20.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleIIII">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_IIIIMember" xlink:label="IIIIMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="IIIIMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003317Member" xlink:label="S000003317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003317Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153950Member" xlink:label="C000153950Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153950Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153951Member" xlink:label="C000153951Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153951Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="29.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataIIII">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_IIIIMember" xlink:label="IIIIMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="IIIIMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003317Member" xlink:label="S000003317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003317Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153950Member" xlink:label="C000153950Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153950Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="61.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="62.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataJJJJ">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_JJJJMember" xlink:label="JJJJMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="JJJJMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003317Member" xlink:label="S000003317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003317Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153952Member" xlink:label="C000153952Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153952Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1122JJJJMember" xlink:label="benchmark1122JJJJMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1122JJJJMember" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1084JJJJMember" xlink:label="benchmark1084JJJJMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1084JJJJMember" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="50.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataJJJJ">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_JJJJMember" xlink:label="JJJJMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="JJJJMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003317Member" xlink:label="S000003317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003317Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153952Member" xlink:label="C000153952Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153952Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="21.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataJJJJ">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_JJJJMember" xlink:label="JJJJMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="JJJJMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003317Member" xlink:label="S000003317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003317Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153952Member" xlink:label="C000153952Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153952Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="31.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleJJJJ">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_JJJJMember" xlink:label="JJJJMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="JJJJMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003317Member" xlink:label="S000003317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003317Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153952Member" xlink:label="C000153952Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153952Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="21.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataJJJJ">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_JJJJMember" xlink:label="JJJJMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="JJJJMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003317Member" xlink:label="S000003317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003317Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153952Member" xlink:label="C000153952Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153952Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="61.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="62.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataKKKK">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_KKKKMember" xlink:label="KKKKMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="KKKKMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000020234Member" xlink:label="S000020234Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000020234Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056647Member" xlink:label="C000056647Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056647Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056648Member" xlink:label="C000056648Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056648Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056649Member" xlink:label="C000056649Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056649Member" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056651Member" xlink:label="C000056651Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056651Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106469Member" xlink:label="C000106469Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106469Member" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010923KKKKMember" xlink:label="benchmark010923KKKKMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010923KKKKMember" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010909KKKKMember" xlink:label="benchmark010909KKKKMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010909KKKKMember" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="69.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="70.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="74.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataKKKK">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_KKKKMember" xlink:label="KKKKMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="KKKKMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000020234Member" xlink:label="S000020234Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000020234Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056647Member" xlink:label="C000056647Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056647Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056648Member" xlink:label="C000056648Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056648Member" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056649Member" xlink:label="C000056649Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056649Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056651Member" xlink:label="C000056651Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056651Member" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106469Member" xlink:label="C000106469Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106469Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="47.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataKKKK">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_KKKKMember" xlink:label="KKKKMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="KKKKMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000020234Member" xlink:label="S000020234Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000020234Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056647Member" xlink:label="C000056647Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056647Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056648Member" xlink:label="C000056648Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056648Member" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056649Member" xlink:label="C000056649Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056649Member" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056651Member" xlink:label="C000056651Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056651Member" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106469Member" xlink:label="C000106469Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106469Member" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="81.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="82.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="83.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="84.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="85.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="86.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="87.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="88.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="89.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="90.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="91.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleNoRedemptionKKKK">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_KKKKMember" xlink:label="KKKKMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="KKKKMember" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000020234Member" xlink:label="S000020234Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000020234Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056648Member" xlink:label="C000056648Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056648Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056649Member" xlink:label="C000056649Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056649Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionAbstract" xlink:label="ExpenseExampleNoRedemptionAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ProspectusTable" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear01" xlink:label="ExpenseExampleNoRedemptionYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear01" use="optional" priority="1" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear03" xlink:label="ExpenseExampleNoRedemptionYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear03" use="optional" priority="1" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear05" xlink:label="ExpenseExampleNoRedemptionYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear05" use="optional" priority="1" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear10" xlink:label="ExpenseExampleNoRedemptionYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear10" use="optional" priority="1" order="28.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleKKKK">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_KKKKMember" xlink:label="KKKKMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="KKKKMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000020234Member" xlink:label="S000020234Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000020234Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056647Member" xlink:label="C000056647Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056647Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056648Member" xlink:label="C000056648Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056648Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056649Member" xlink:label="C000056649Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056649Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056651Member" xlink:label="C000056651Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056651Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106469Member" xlink:label="C000106469Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106469Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="53.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataKKKK">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_KKKKMember" xlink:label="KKKKMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="KKKKMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000020234Member" xlink:label="S000020234Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000020234Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056647Member" xlink:label="C000056647Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056647Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="61.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="62.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataLLLL">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_LLLLMember" xlink:label="LLLLMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="LLLLMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000037602Member" xlink:label="S000037602Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000037602Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000116034Member" xlink:label="C000116034Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000116034Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000116035Member" xlink:label="C000116035Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000116035Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000178758Member" xlink:label="C000178758Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000178758Member" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1083LLLLMember" xlink:label="benchmark1083LLLLMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1083LLLLMember" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="56.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataLLLL">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_LLLLMember" xlink:label="LLLLMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="LLLLMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000037602Member" xlink:label="S000037602Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000037602Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000116034Member" xlink:label="C000116034Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000116034Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000116035Member" xlink:label="C000116035Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000116035Member" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000178758Member" xlink:label="C000178758Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000178758Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="35.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataLLLL">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_LLLLMember" xlink:label="LLLLMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="LLLLMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000037602Member" xlink:label="S000037602Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000037602Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000116034Member" xlink:label="C000116034Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000116034Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000116035Member" xlink:label="C000116035Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000116035Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000178758Member" xlink:label="C000178758Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000178758Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="57.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleLLLL">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_LLLLMember" xlink:label="LLLLMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="LLLLMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000037602Member" xlink:label="S000037602Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000037602Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000116034Member" xlink:label="C000116034Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000116034Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000116035Member" xlink:label="C000116035Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000116035Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000178758Member" xlink:label="C000178758Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000178758Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="37.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataLLLL">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_LLLLMember" xlink:label="LLLLMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="LLLLMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000037602Member" xlink:label="S000037602Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000037602Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000116034Member" xlink:label="C000116034Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000116034Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="52.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataMMMM">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_MMMMMember" xlink:label="MMMMMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="MMMMMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000040959Member" xlink:label="S000040959Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000040959Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000127063Member" xlink:label="C000127063Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000127063Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000152689Member" xlink:label="C000152689Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000152689Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000127064Member" xlink:label="C000127064Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000127064Member" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000152690Member" xlink:label="C000152690Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000152690Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000152691Member" xlink:label="C000152691Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000152691Member" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000152692Member" xlink:label="C000152692Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000152692Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1083MMMMMember" xlink:label="benchmark1083MMMMMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1083MMMMMember" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="54.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataMMMM">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_MMMMMember" xlink:label="MMMMMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="MMMMMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000040959Member" xlink:label="S000040959Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000040959Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000127063Member" xlink:label="C000127063Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000127063Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000152689Member" xlink:label="C000152689Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000152689Member" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000127064Member" xlink:label="C000127064Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000127064Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000152690Member" xlink:label="C000152690Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000152690Member" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000152691Member" xlink:label="C000152691Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000152691Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000152692Member" xlink:label="C000152692Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000152692Member" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="53.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataMMMM">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_MMMMMember" xlink:label="MMMMMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="MMMMMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000040959Member" xlink:label="S000040959Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000040959Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000127063Member" xlink:label="C000127063Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000127063Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000152689Member" xlink:label="C000152689Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000152689Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000127064Member" xlink:label="C000127064Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000127064Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000152690Member" xlink:label="C000152690Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000152690Member" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000152691Member" xlink:label="C000152691Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000152691Member" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000152692Member" xlink:label="C000152692Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000152692Member" use="optional" order="88.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="106.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="107.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="108.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="109.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="110.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="111.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="112.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="113.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="114.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="115.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="116.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="117.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleNoRedemptionMMMM">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_MMMMMember" xlink:label="MMMMMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="MMMMMember" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000040959Member" xlink:label="S000040959Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000040959Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000152689Member" xlink:label="C000152689Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000152689Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionAbstract" xlink:label="ExpenseExampleNoRedemptionAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ProspectusTable" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear01" xlink:label="ExpenseExampleNoRedemptionYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear01" use="optional" priority="1" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear03" xlink:label="ExpenseExampleNoRedemptionYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear03" use="optional" priority="1" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear05" xlink:label="ExpenseExampleNoRedemptionYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear05" use="optional" priority="1" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear10" xlink:label="ExpenseExampleNoRedemptionYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear10" use="optional" priority="1" order="20.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleMMMM">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_MMMMMember" xlink:label="MMMMMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="MMMMMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000040959Member" xlink:label="S000040959Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000040959Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000127063Member" xlink:label="C000127063Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000127063Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000152689Member" xlink:label="C000152689Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000152689Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000127064Member" xlink:label="C000127064Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000127064Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000152690Member" xlink:label="C000152690Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000152690Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000152691Member" xlink:label="C000152691Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000152691Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000152692Member" xlink:label="C000152692Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000152692Member" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="61.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataMMMM">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_MMMMMember" xlink:label="MMMMMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="MMMMMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000040959Member" xlink:label="S000040959Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000040959Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000127063Member" xlink:label="C000127063Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000127063Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="50.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataNNNN">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_NNNNMember" xlink:label="NNNNMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="NNNNMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000045160Member" xlink:label="S000045160Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000045160Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000140586Member" xlink:label="C000140586Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000140586Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000140587Member" xlink:label="C000140587Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000140587Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000140588Member" xlink:label="C000140588Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000140588Member" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000140589Member" xlink:label="C000140589Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000140589Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1111NNNNMember" xlink:label="benchmark1111NNNNMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1111NNNNMember" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1083NNNNMember" xlink:label="benchmark1083NNNNMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1083NNNNMember" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1056NNNNMember" xlink:label="benchmark1056NNNNMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1056NNNNMember" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="54.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataNNNN">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_NNNNMember" xlink:label="NNNNMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="NNNNMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000045160Member" xlink:label="S000045160Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000045160Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000140586Member" xlink:label="C000140586Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000140586Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000140587Member" xlink:label="C000140587Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000140587Member" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000140588Member" xlink:label="C000140588Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000140588Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000140589Member" xlink:label="C000140589Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000140589Member" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="41.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataNNNN">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_NNNNMember" xlink:label="NNNNMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="NNNNMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000045160Member" xlink:label="S000045160Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000045160Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000140586Member" xlink:label="C000140586Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000140586Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000140587Member" xlink:label="C000140587Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000140587Member" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000140588Member" xlink:label="C000140588Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000140588Member" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000140589Member" xlink:label="C000140589Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000140589Member" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="66.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="67.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="68.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="69.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="70.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="73.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="74.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="75.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="76.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="77.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleNoRedemptionNNNN">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_NNNNMember" xlink:label="NNNNMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="NNNNMember" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000045160Member" xlink:label="S000045160Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000045160Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000140587Member" xlink:label="C000140587Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000140587Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionAbstract" xlink:label="ExpenseExampleNoRedemptionAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ProspectusTable" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear01" xlink:label="ExpenseExampleNoRedemptionYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear01" use="optional" priority="1" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear03" xlink:label="ExpenseExampleNoRedemptionYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear03" use="optional" priority="1" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear05" xlink:label="ExpenseExampleNoRedemptionYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear05" use="optional" priority="1" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear10" xlink:label="ExpenseExampleNoRedemptionYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear10" use="optional" priority="1" order="20.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleNNNN">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_NNNNMember" xlink:label="NNNNMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="NNNNMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000045160Member" xlink:label="S000045160Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000045160Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000140586Member" xlink:label="C000140586Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000140586Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000140587Member" xlink:label="C000140587Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000140587Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000140588Member" xlink:label="C000140588Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000140588Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000140589Member" xlink:label="C000140589Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000140589Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="45.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataNNNN">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_NNNNMember" xlink:label="NNNNMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="NNNNMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000045160Member" xlink:label="S000045160Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000045160Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000140586Member" xlink:label="C000140586Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000140586Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="48.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataOOOO">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_OOOOMember" xlink:label="OOOOMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="OOOOMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009779Member" xlink:label="S000009779Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009779Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128520Member" xlink:label="C000128520Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128520Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128521Member" xlink:label="C000128521Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128521Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128522Member" xlink:label="C000128522Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128522Member" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128528Member" xlink:label="C000128528Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128528Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122901OOOOMember" xlink:label="benchmark2015122901OOOOMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122901OOOOMember" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010903OOOOMember" xlink:label="benchmark010903OOOOMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010903OOOOMember" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="63.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="65.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="66.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="68.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataOOOO">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_OOOOMember" xlink:label="OOOOMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="OOOOMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009779Member" xlink:label="S000009779Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009779Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128520Member" xlink:label="C000128520Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128520Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128521Member" xlink:label="C000128521Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128521Member" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128522Member" xlink:label="C000128522Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128522Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128528Member" xlink:label="C000128528Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128528Member" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="41.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataOOOO">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_OOOOMember" xlink:label="OOOOMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="OOOOMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009779Member" xlink:label="S000009779Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009779Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128520Member" xlink:label="C000128520Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128520Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128521Member" xlink:label="C000128521Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128521Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128522Member" xlink:label="C000128522Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128522Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128528Member" xlink:label="C000128528Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128528Member" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="61.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="62.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="63.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="65.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="66.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="67.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="68.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="69.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleNoRedemptionOOOO">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_OOOOMember" xlink:label="OOOOMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="OOOOMember" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009779Member" xlink:label="S000009779Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009779Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128521Member" xlink:label="C000128521Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128521Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionAbstract" xlink:label="ExpenseExampleNoRedemptionAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ProspectusTable" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear01" xlink:label="ExpenseExampleNoRedemptionYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear01" use="optional" priority="1" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear03" xlink:label="ExpenseExampleNoRedemptionYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear03" use="optional" priority="1" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear05" xlink:label="ExpenseExampleNoRedemptionYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear05" use="optional" priority="1" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear10" xlink:label="ExpenseExampleNoRedemptionYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear10" use="optional" priority="1" order="20.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleOOOO">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_OOOOMember" xlink:label="OOOOMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="OOOOMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009779Member" xlink:label="S000009779Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009779Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128520Member" xlink:label="C000128520Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128520Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128521Member" xlink:label="C000128521Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128521Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128522Member" xlink:label="C000128522Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128522Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128528Member" xlink:label="C000128528Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128528Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="45.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataOOOO">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_OOOOMember" xlink:label="OOOOMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="OOOOMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009779Member" xlink:label="S000009779Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009779Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128520Member" xlink:label="C000128520Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128520Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="61.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="62.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataPPPP">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_PPPPMember" xlink:label="PPPPMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="PPPPMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009779Member" xlink:label="S000009779Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009779Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128524Member" xlink:label="C000128524Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128524Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128526Member" xlink:label="C000128526Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128526Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128527Member" xlink:label="C000128527Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128527Member" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122901PPPPMember" xlink:label="benchmark2015122901PPPPMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122901PPPPMember" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010903PPPPMember" xlink:label="benchmark010903PPPPMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010903PPPPMember" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="62.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataPPPP">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_PPPPMember" xlink:label="PPPPMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="PPPPMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009779Member" xlink:label="S000009779Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009779Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128524Member" xlink:label="C000128524Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128524Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128526Member" xlink:label="C000128526Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128526Member" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128527Member" xlink:label="C000128527Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128527Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="29.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataPPPP">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_PPPPMember" xlink:label="PPPPMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="PPPPMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009779Member" xlink:label="S000009779Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009779Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128524Member" xlink:label="C000128524Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128524Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128526Member" xlink:label="C000128526Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128526Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128527Member" xlink:label="C000128527Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128527Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="61.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="62.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="63.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="65.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="66.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="67.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="68.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="69.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExamplePPPP">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_PPPPMember" xlink:label="PPPPMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="PPPPMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009779Member" xlink:label="S000009779Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009779Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128524Member" xlink:label="C000128524Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128524Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128526Member" xlink:label="C000128526Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128526Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128527Member" xlink:label="C000128527Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128527Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="37.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataPPPP">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_PPPPMember" xlink:label="PPPPMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="PPPPMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009779Member" xlink:label="S000009779Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009779Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128524Member" xlink:label="C000128524Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128524Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="61.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="62.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataQQQQ">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_QQQQMember" xlink:label="QQQQMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="QQQQMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043433Member" xlink:label="S000043433Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043433Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043434Member" xlink:label="S000043434Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043434Member" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043435Member" xlink:label="S000043435Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043435Member" use="optional" order="95.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043436Member" xlink:label="S000043436Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043436Member" use="optional" order="139.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043437Member" xlink:label="S000043437Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043437Member" use="optional" order="183.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134635Member" xlink:label="C000134635Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134635Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134636Member" xlink:label="C000134636Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134636Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134638Member" xlink:label="C000134638Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134638Member" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134640Member" xlink:label="C000134640Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134640Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134641Member" xlink:label="C000134641Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134641Member" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134644Member" xlink:label="C000134644Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134644Member" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134645Member" xlink:label="C000134645Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134645Member" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134647Member" xlink:label="C000134647Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134647Member" use="optional" order="62.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134649Member" xlink:label="C000134649Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134649Member" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134650Member" xlink:label="C000134650Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134650Member" use="optional" order="66.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134653Member" xlink:label="C000134653Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134653Member" use="optional" order="96.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134654Member" xlink:label="C000134654Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134654Member" use="optional" order="104.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134656Member" xlink:label="C000134656Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134656Member" use="optional" order="106.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134658Member" xlink:label="C000134658Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134658Member" use="optional" order="108.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134659Member" xlink:label="C000134659Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134659Member" use="optional" order="110.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134662Member" xlink:label="C000134662Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134662Member" use="optional" order="140.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134663Member" xlink:label="C000134663Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134663Member" use="optional" order="148.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134665Member" xlink:label="C000134665Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134665Member" use="optional" order="150.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134667Member" xlink:label="C000134667Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134667Member" use="optional" order="152.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134668Member" xlink:label="C000134668Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134668Member" use="optional" order="154.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134671Member" xlink:label="C000134671Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134671Member" use="optional" order="184.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134672Member" xlink:label="C000134672Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134672Member" use="optional" order="192.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134674Member" xlink:label="C000134674Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134674Member" use="optional" order="194.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134676Member" xlink:label="C000134676Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134676Member" use="optional" order="196.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134677Member" xlink:label="C000134677Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134677Member" use="optional" order="198.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1084QQQQMember" xlink:label="benchmark1084QQQQMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1084QQQQMember" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1118QQQQMember" xlink:label="benchmark1118QQQQMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1118QQQQMember" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122912QQQQMember" xlink:label="benchmark2015122912QQQQMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122912QQQQMember" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1111QQQQMember" xlink:label="benchmark1111QQQQMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1111QQQQMember" use="optional" order="68.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122909QQQQMember" xlink:label="benchmark2015122909QQQQMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122909QQQQMember" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="229.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="230.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="231.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="232.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="234.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataQQQQ">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_QQQQMember" xlink:label="QQQQMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="QQQQMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043433Member" xlink:label="S000043433Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043433Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043434Member" xlink:label="S000043434Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043434Member" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043435Member" xlink:label="S000043435Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043435Member" use="optional" order="67.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043436Member" xlink:label="S000043436Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043436Member" use="optional" order="97.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043437Member" xlink:label="S000043437Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043437Member" use="optional" order="127.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134635Member" xlink:label="C000134635Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134635Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134636Member" xlink:label="C000134636Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134636Member" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134638Member" xlink:label="C000134638Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134638Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134640Member" xlink:label="C000134640Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134640Member" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134641Member" xlink:label="C000134641Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134641Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134644Member" xlink:label="C000134644Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134644Member" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134645Member" xlink:label="C000134645Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134645Member" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134647Member" xlink:label="C000134647Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134647Member" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134649Member" xlink:label="C000134649Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134649Member" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134650Member" xlink:label="C000134650Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134650Member" use="optional" order="62.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134653Member" xlink:label="C000134653Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134653Member" use="optional" order="68.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134654Member" xlink:label="C000134654Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134654Member" use="optional" order="74.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134656Member" xlink:label="C000134656Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134656Member" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134658Member" xlink:label="C000134658Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134658Member" use="optional" order="86.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134659Member" xlink:label="C000134659Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134659Member" use="optional" order="92.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134662Member" xlink:label="C000134662Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134662Member" use="optional" order="98.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134663Member" xlink:label="C000134663Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134663Member" use="optional" order="104.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134665Member" xlink:label="C000134665Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134665Member" use="optional" order="110.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134667Member" xlink:label="C000134667Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134667Member" use="optional" order="116.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134668Member" xlink:label="C000134668Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134668Member" use="optional" order="122.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134671Member" xlink:label="C000134671Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134671Member" use="optional" order="128.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134672Member" xlink:label="C000134672Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134672Member" use="optional" order="134.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134674Member" xlink:label="C000134674Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134674Member" use="optional" order="140.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134676Member" xlink:label="C000134676Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134676Member" use="optional" order="146.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134677Member" xlink:label="C000134677Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134677Member" use="optional" order="152.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="159.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="160.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="161.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="162.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="163.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="164.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="165.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="166.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="167.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="167.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataQQQQ">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_QQQQMember" xlink:label="QQQQMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="QQQQMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043433Member" xlink:label="S000043433Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043433Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043434Member" xlink:label="S000043434Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043434Member" use="optional" order="77.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043435Member" xlink:label="S000043435Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043435Member" use="optional" order="147.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043436Member" xlink:label="S000043436Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043436Member" use="optional" order="237.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043437Member" xlink:label="S000043437Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043437Member" use="optional" order="307.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134635Member" xlink:label="C000134635Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134635Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134636Member" xlink:label="C000134636Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134636Member" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134638Member" xlink:label="C000134638Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134638Member" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134640Member" xlink:label="C000134640Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134640Member" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134641Member" xlink:label="C000134641Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134641Member" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134644Member" xlink:label="C000134644Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134644Member" use="optional" order="78.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134645Member" xlink:label="C000134645Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134645Member" use="optional" order="92.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134647Member" xlink:label="C000134647Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134647Member" use="optional" order="106.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134649Member" xlink:label="C000134649Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134649Member" use="optional" order="120.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134650Member" xlink:label="C000134650Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134650Member" use="optional" order="134.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134653Member" xlink:label="C000134653Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134653Member" use="optional" order="148.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134654Member" xlink:label="C000134654Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134654Member" use="optional" order="166.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134656Member" xlink:label="C000134656Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134656Member" use="optional" order="184.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134658Member" xlink:label="C000134658Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134658Member" use="optional" order="202.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134659Member" xlink:label="C000134659Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134659Member" use="optional" order="220.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134662Member" xlink:label="C000134662Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134662Member" use="optional" order="238.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134663Member" xlink:label="C000134663Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134663Member" use="optional" order="252.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134665Member" xlink:label="C000134665Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134665Member" use="optional" order="266.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134667Member" xlink:label="C000134667Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134667Member" use="optional" order="280.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134668Member" xlink:label="C000134668Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134668Member" use="optional" order="294.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134671Member" xlink:label="C000134671Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134671Member" use="optional" order="308.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134672Member" xlink:label="C000134672Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134672Member" use="optional" order="322.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134674Member" xlink:label="C000134674Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134674Member" use="optional" order="336.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134676Member" xlink:label="C000134676Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134676Member" use="optional" order="350.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134677Member" xlink:label="C000134677Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134677Member" use="optional" order="364.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="380.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="381.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="382.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="383.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="384.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="385.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="386.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="387.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="388.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="389.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="390.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="391.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleQQQQ">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_QQQQMember" xlink:label="QQQQMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="QQQQMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043433Member" xlink:label="S000043433Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043433Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043434Member" xlink:label="S000043434Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043434Member" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043435Member" xlink:label="S000043435Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043435Member" use="optional" order="87.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043436Member" xlink:label="S000043436Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043436Member" use="optional" order="127.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043437Member" xlink:label="S000043437Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043437Member" use="optional" order="167.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134635Member" xlink:label="C000134635Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134635Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134636Member" xlink:label="C000134636Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134636Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134638Member" xlink:label="C000134638Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134638Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134640Member" xlink:label="C000134640Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134640Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134641Member" xlink:label="C000134641Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134641Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134644Member" xlink:label="C000134644Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134644Member" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134645Member" xlink:label="C000134645Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134645Member" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134647Member" xlink:label="C000134647Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134647Member" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134649Member" xlink:label="C000134649Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134649Member" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134650Member" xlink:label="C000134650Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134650Member" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134653Member" xlink:label="C000134653Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134653Member" use="optional" order="88.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134654Member" xlink:label="C000134654Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134654Member" use="optional" order="96.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134656Member" xlink:label="C000134656Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134656Member" use="optional" order="104.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134658Member" xlink:label="C000134658Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134658Member" use="optional" order="112.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134659Member" xlink:label="C000134659Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134659Member" use="optional" order="120.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134662Member" xlink:label="C000134662Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134662Member" use="optional" order="128.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134663Member" xlink:label="C000134663Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134663Member" use="optional" order="136.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134665Member" xlink:label="C000134665Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134665Member" use="optional" order="144.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134667Member" xlink:label="C000134667Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134667Member" use="optional" order="152.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134668Member" xlink:label="C000134668Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134668Member" use="optional" order="160.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134671Member" xlink:label="C000134671Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134671Member" use="optional" order="168.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134672Member" xlink:label="C000134672Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134672Member" use="optional" order="176.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134674Member" xlink:label="C000134674Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134674Member" use="optional" order="184.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134676Member" xlink:label="C000134676Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134676Member" use="optional" order="192.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134677Member" xlink:label="C000134677Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134677Member" use="optional" order="200.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="209.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="210.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="211.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="212.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="213.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataQQQQ">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_QQQQMember" xlink:label="QQQQMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="QQQQMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043433Member" xlink:label="S000043433Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043433Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043434Member" xlink:label="S000043434Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043434Member" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043435Member" xlink:label="S000043435Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043435Member" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043436Member" xlink:label="S000043436Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043436Member" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043437Member" xlink:label="S000043437Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043437Member" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134635Member" xlink:label="C000134635Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134635Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134644Member" xlink:label="C000134644Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134644Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134653Member" xlink:label="C000134653Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134653Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134662Member" xlink:label="C000134662Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134662Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134671Member" xlink:label="C000134671Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134671Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="61.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="62.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="63.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="65.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="66.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="67.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="68.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="69.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="70.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="73.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="74.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="75.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="76.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="77.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="78.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="79.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="81.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="82.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataRRRR">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_RRRRMember" xlink:label="RRRRMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="RRRRMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043433Member" xlink:label="S000043433Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043433Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043434Member" xlink:label="S000043434Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043434Member" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043435Member" xlink:label="S000043435Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043435Member" use="optional" order="63.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043436Member" xlink:label="S000043436Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043436Member" use="optional" order="91.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043437Member" xlink:label="S000043437Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043437Member" use="optional" order="119.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134642Member" xlink:label="C000134642Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134642Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134651Member" xlink:label="C000134651Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134651Member" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134660Member" xlink:label="C000134660Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134660Member" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134669Member" xlink:label="C000134669Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134669Member" use="optional" order="92.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134678Member" xlink:label="C000134678Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134678Member" use="optional" order="120.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1084RRRRMember" xlink:label="benchmark1084RRRRMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1084RRRRMember" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1118RRRRMember" xlink:label="benchmark1118RRRRMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1118RRRRMember" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122912RRRRMember" xlink:label="benchmark2015122912RRRRMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122912RRRRMember" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1111RRRRMember" xlink:label="benchmark1111RRRRMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1111RRRRMember" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122909RRRRMember" xlink:label="benchmark2015122909RRRRMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122909RRRRMember" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="149.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="150.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="151.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="152.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="154.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataRRRR">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_RRRRMember" xlink:label="RRRRMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="RRRRMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043433Member" xlink:label="S000043433Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043433Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043434Member" xlink:label="S000043434Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043434Member" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043435Member" xlink:label="S000043435Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043435Member" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043436Member" xlink:label="S000043436Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043436Member" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043437Member" xlink:label="S000043437Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043437Member" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134642Member" xlink:label="C000134642Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134642Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134651Member" xlink:label="C000134651Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134651Member" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134660Member" xlink:label="C000134660Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134660Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134669Member" xlink:label="C000134669Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134669Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134678Member" xlink:label="C000134678Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134678Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="37.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataRRRR">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_RRRRMember" xlink:label="RRRRMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="RRRRMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043433Member" xlink:label="S000043433Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043433Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043434Member" xlink:label="S000043434Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043434Member" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043435Member" xlink:label="S000043435Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043435Member" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043436Member" xlink:label="S000043436Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043436Member" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043437Member" xlink:label="S000043437Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043437Member" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134642Member" xlink:label="C000134642Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134642Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134651Member" xlink:label="C000134651Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134651Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134660Member" xlink:label="C000134660Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134660Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134669Member" xlink:label="C000134669Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134669Member" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134678Member" xlink:label="C000134678Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134678Member" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="61.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="62.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="63.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="65.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleRRRR">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_RRRRMember" xlink:label="RRRRMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="RRRRMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043433Member" xlink:label="S000043433Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043433Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043434Member" xlink:label="S000043434Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043434Member" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043435Member" xlink:label="S000043435Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043435Member" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043436Member" xlink:label="S000043436Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043436Member" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043437Member" xlink:label="S000043437Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043437Member" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134642Member" xlink:label="C000134642Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134642Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134651Member" xlink:label="C000134651Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134651Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134660Member" xlink:label="C000134660Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134660Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134669Member" xlink:label="C000134669Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134669Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134678Member" xlink:label="C000134678Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134678Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="53.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataRRRR">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_RRRRMember" xlink:label="RRRRMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="RRRRMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043433Member" xlink:label="S000043433Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043433Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043434Member" xlink:label="S000043434Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043434Member" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043435Member" xlink:label="S000043435Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043435Member" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043436Member" xlink:label="S000043436Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043436Member" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043437Member" xlink:label="S000043437Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043437Member" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134642Member" xlink:label="C000134642Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134642Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134651Member" xlink:label="C000134651Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134651Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134660Member" xlink:label="C000134660Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134660Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134669Member" xlink:label="C000134669Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134669Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134678Member" xlink:label="C000134678Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134678Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="61.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="62.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="63.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="65.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="66.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="67.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="68.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="69.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="70.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="73.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="74.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="75.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="76.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="77.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="78.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="79.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="81.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="82.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataSSSS">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_SSSSMember" xlink:label="SSSSMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="SSSSMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042847Member" xlink:label="S000042847Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042847Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042848Member" xlink:label="S000042848Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042848Member" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042849Member" xlink:label="S000042849Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042849Member" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042850Member" xlink:label="S000042850Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042850Member" use="optional" order="103.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042851Member" xlink:label="S000042851Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042851Member" use="optional" order="135.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042852Member" xlink:label="S000042852Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042852Member" use="optional" order="167.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042853Member" xlink:label="S000042853Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042853Member" use="optional" order="199.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042854Member" xlink:label="S000042854Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042854Member" use="optional" order="231.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042855Member" xlink:label="S000042855Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042855Member" use="optional" order="263.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044503Member" xlink:label="S000044503Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044503Member" use="optional" order="295.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053255Member" xlink:label="S000053255Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053255Member" use="optional" order="327.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132736Member" xlink:label="C000132736Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132736Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132741Member" xlink:label="C000132741Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132741Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132743Member" xlink:label="C000132743Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132743Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132748Member" xlink:label="C000132748Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132748Member" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132752Member" xlink:label="C000132752Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132752Member" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132757Member" xlink:label="C000132757Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132757Member" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132760Member" xlink:label="C000132760Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132760Member" use="optional" order="104.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132765Member" xlink:label="C000132765Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132765Member" use="optional" order="112.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132768Member" xlink:label="C000132768Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132768Member" use="optional" order="136.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132773Member" xlink:label="C000132773Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132773Member" use="optional" order="144.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132776Member" xlink:label="C000132776Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132776Member" use="optional" order="168.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132781Member" xlink:label="C000132781Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132781Member" use="optional" order="176.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132784Member" xlink:label="C000132784Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132784Member" use="optional" order="200.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132789Member" xlink:label="C000132789Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132789Member" use="optional" order="208.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132792Member" xlink:label="C000132792Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132792Member" use="optional" order="232.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132797Member" xlink:label="C000132797Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132797Member" use="optional" order="240.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132800Member" xlink:label="C000132800Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132800Member" use="optional" order="264.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132805Member" xlink:label="C000132805Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132805Member" use="optional" order="272.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138481Member" xlink:label="C000138481Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138481Member" use="optional" order="296.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138486Member" xlink:label="C000138486Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138486Member" use="optional" order="304.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167629Member" xlink:label="C000167629Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167629Member" use="optional" order="328.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167634Member" xlink:label="C000167634Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167634Member" use="optional" order="336.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1111SSSSMember" xlink:label="benchmark1111SSSSMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1111SSSSMember" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1084SSSSMember" xlink:label="benchmark1084SSSSMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1084SSSSMember" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122909SSSSMember" xlink:label="benchmark2015122909SSSSMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122909SSSSMember" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122912SSSSMember" xlink:label="benchmark2015122912SSSSMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122912SSSSMember" use="optional" order="342.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="361.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="362.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="363.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="364.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="366.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataSSSS">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_SSSSMember" xlink:label="SSSSMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="SSSSMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042847Member" xlink:label="S000042847Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042847Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042848Member" xlink:label="S000042848Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042848Member" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042849Member" xlink:label="S000042849Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042849Member" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042850Member" xlink:label="S000042850Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042850Member" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042851Member" xlink:label="S000042851Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042851Member" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042852Member" xlink:label="S000042852Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042852Member" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042853Member" xlink:label="S000042853Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042853Member" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042854Member" xlink:label="S000042854Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042854Member" use="optional" order="63.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042855Member" xlink:label="S000042855Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042855Member" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044503Member" xlink:label="S000044503Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044503Member" use="optional" order="79.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053255Member" xlink:label="S000053255Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053255Member" use="optional" order="87.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132736Member" xlink:label="C000132736Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132736Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132741Member" xlink:label="C000132741Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132741Member" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132743Member" xlink:label="C000132743Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132743Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132748Member" xlink:label="C000132748Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132748Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132752Member" xlink:label="C000132752Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132752Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132757Member" xlink:label="C000132757Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132757Member" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132760Member" xlink:label="C000132760Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132760Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132765Member" xlink:label="C000132765Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132765Member" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132768Member" xlink:label="C000132768Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132768Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132773Member" xlink:label="C000132773Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132773Member" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132776Member" xlink:label="C000132776Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132776Member" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132781Member" xlink:label="C000132781Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132781Member" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132784Member" xlink:label="C000132784Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132784Member" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132789Member" xlink:label="C000132789Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132789Member" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132792Member" xlink:label="C000132792Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132792Member" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132797Member" xlink:label="C000132797Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132797Member" use="optional" order="68.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132800Member" xlink:label="C000132800Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132800Member" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132805Member" xlink:label="C000132805Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132805Member" use="optional" order="76.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138481Member" xlink:label="C000138481Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138481Member" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138486Member" xlink:label="C000138486Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138486Member" use="optional" order="84.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167629Member" xlink:label="C000167629Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167629Member" use="optional" order="88.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167634Member" xlink:label="C000167634Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167634Member" use="optional" order="92.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="97.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="98.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="99.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="100.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="101.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="103.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="104.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="105.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="105.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataSSSS">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_SSSSMember" xlink:label="SSSSMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="SSSSMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042847Member" xlink:label="S000042847Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042847Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042848Member" xlink:label="S000042848Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042848Member" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042849Member" xlink:label="S000042849Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042849Member" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042850Member" xlink:label="S000042850Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042850Member" use="optional" order="103.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042851Member" xlink:label="S000042851Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042851Member" use="optional" order="135.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042852Member" xlink:label="S000042852Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042852Member" use="optional" order="167.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042853Member" xlink:label="S000042853Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042853Member" use="optional" order="199.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042854Member" xlink:label="S000042854Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042854Member" use="optional" order="231.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042855Member" xlink:label="S000042855Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042855Member" use="optional" order="263.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044503Member" xlink:label="S000044503Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044503Member" use="optional" order="295.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053255Member" xlink:label="S000053255Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053255Member" use="optional" order="327.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132736Member" xlink:label="C000132736Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132736Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132741Member" xlink:label="C000132741Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132741Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132743Member" xlink:label="C000132743Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132743Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132748Member" xlink:label="C000132748Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132748Member" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132752Member" xlink:label="C000132752Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132752Member" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132757Member" xlink:label="C000132757Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132757Member" use="optional" order="88.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132760Member" xlink:label="C000132760Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132760Member" use="optional" order="104.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132765Member" xlink:label="C000132765Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132765Member" use="optional" order="120.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132768Member" xlink:label="C000132768Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132768Member" use="optional" order="136.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132773Member" xlink:label="C000132773Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132773Member" use="optional" order="152.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132776Member" xlink:label="C000132776Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132776Member" use="optional" order="168.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132781Member" xlink:label="C000132781Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132781Member" use="optional" order="184.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132784Member" xlink:label="C000132784Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132784Member" use="optional" order="200.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132789Member" xlink:label="C000132789Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132789Member" use="optional" order="216.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132792Member" xlink:label="C000132792Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132792Member" use="optional" order="232.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132797Member" xlink:label="C000132797Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132797Member" use="optional" order="248.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132800Member" xlink:label="C000132800Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132800Member" use="optional" order="264.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132805Member" xlink:label="C000132805Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132805Member" use="optional" order="280.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138481Member" xlink:label="C000138481Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138481Member" use="optional" order="296.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138486Member" xlink:label="C000138486Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138486Member" use="optional" order="312.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167629Member" xlink:label="C000167629Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167629Member" use="optional" order="328.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167634Member" xlink:label="C000167634Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167634Member" use="optional" order="344.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="362.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="363.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="364.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="365.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="366.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="367.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="368.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="369.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="370.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="371.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="372.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="373.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleSSSS">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_SSSSMember" xlink:label="SSSSMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="SSSSMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042847Member" xlink:label="S000042847Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042847Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042848Member" xlink:label="S000042848Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042848Member" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042849Member" xlink:label="S000042849Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042849Member" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042850Member" xlink:label="S000042850Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042850Member" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042851Member" xlink:label="S000042851Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042851Member" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042852Member" xlink:label="S000042852Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042852Member" use="optional" order="87.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042853Member" xlink:label="S000042853Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042853Member" use="optional" order="103.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042854Member" xlink:label="S000042854Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042854Member" use="optional" order="119.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042855Member" xlink:label="S000042855Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042855Member" use="optional" order="135.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044503Member" xlink:label="S000044503Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044503Member" use="optional" order="151.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053255Member" xlink:label="S000053255Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053255Member" use="optional" order="167.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132736Member" xlink:label="C000132736Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132736Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132741Member" xlink:label="C000132741Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132741Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132743Member" xlink:label="C000132743Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132743Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132748Member" xlink:label="C000132748Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132748Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132752Member" xlink:label="C000132752Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132752Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132757Member" xlink:label="C000132757Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132757Member" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132760Member" xlink:label="C000132760Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132760Member" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132765Member" xlink:label="C000132765Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132765Member" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132768Member" xlink:label="C000132768Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132768Member" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132773Member" xlink:label="C000132773Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132773Member" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132776Member" xlink:label="C000132776Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132776Member" use="optional" order="88.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132781Member" xlink:label="C000132781Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132781Member" use="optional" order="96.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132784Member" xlink:label="C000132784Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132784Member" use="optional" order="104.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132789Member" xlink:label="C000132789Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132789Member" use="optional" order="112.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132792Member" xlink:label="C000132792Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132792Member" use="optional" order="120.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132797Member" xlink:label="C000132797Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132797Member" use="optional" order="128.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132800Member" xlink:label="C000132800Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132800Member" use="optional" order="136.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132805Member" xlink:label="C000132805Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132805Member" use="optional" order="144.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138481Member" xlink:label="C000138481Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138481Member" use="optional" order="152.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138486Member" xlink:label="C000138486Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138486Member" use="optional" order="160.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167629Member" xlink:label="C000167629Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167629Member" use="optional" order="168.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167634Member" xlink:label="C000167634Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167634Member" use="optional" order="176.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="185.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="186.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="187.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="188.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="189.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataSSSS">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_SSSSMember" xlink:label="SSSSMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="SSSSMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042847Member" xlink:label="S000042847Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042847Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042848Member" xlink:label="S000042848Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042848Member" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042849Member" xlink:label="S000042849Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042849Member" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042850Member" xlink:label="S000042850Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042850Member" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042851Member" xlink:label="S000042851Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042851Member" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042852Member" xlink:label="S000042852Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042852Member" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042853Member" xlink:label="S000042853Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042853Member" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042854Member" xlink:label="S000042854Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042854Member" use="optional" order="63.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042855Member" xlink:label="S000042855Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042855Member" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044503Member" xlink:label="S000044503Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044503Member" use="optional" order="79.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053255Member" xlink:label="S000053255Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053255Member" use="optional" order="85.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132736Member" xlink:label="C000132736Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132736Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132743Member" xlink:label="C000132743Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132743Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132752Member" xlink:label="C000132752Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132752Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132760Member" xlink:label="C000132760Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132760Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132768Member" xlink:label="C000132768Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132768Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132776Member" xlink:label="C000132776Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132776Member" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132784Member" xlink:label="C000132784Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132784Member" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132792Member" xlink:label="C000132792Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132792Member" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132800Member" xlink:label="C000132800Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132800Member" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138481Member" xlink:label="C000138481Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138481Member" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167629Member" xlink:label="C000167629Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167629Member" use="optional" order="86.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="89.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="90.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="91.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="92.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="93.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="94.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="95.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="96.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="97.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="98.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="99.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="100.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="101.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="103.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="104.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="105.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="106.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="107.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="108.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="109.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="110.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="111.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="112.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="113.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="114.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="115.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="116.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="117.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="118.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="119.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="120.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="121.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="122.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataTTTT">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_TTTTMember" xlink:label="TTTTMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="TTTTMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042847Member" xlink:label="S000042847Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042847Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042848Member" xlink:label="S000042848Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042848Member" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042849Member" xlink:label="S000042849Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042849Member" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042850Member" xlink:label="S000042850Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042850Member" use="optional" order="103.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042851Member" xlink:label="S000042851Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042851Member" use="optional" order="135.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042852Member" xlink:label="S000042852Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042852Member" use="optional" order="167.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042853Member" xlink:label="S000042853Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042853Member" use="optional" order="199.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042854Member" xlink:label="S000042854Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042854Member" use="optional" order="231.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042855Member" xlink:label="S000042855Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042855Member" use="optional" order="263.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044503Member" xlink:label="S000044503Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044503Member" use="optional" order="295.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053255Member" xlink:label="S000053255Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053255Member" use="optional" order="327.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132740Member" xlink:label="C000132740Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132740Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132742Member" xlink:label="C000132742Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132742Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132747Member" xlink:label="C000132747Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132747Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132749Member" xlink:label="C000132749Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132749Member" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132756Member" xlink:label="C000132756Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132756Member" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132758Member" xlink:label="C000132758Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132758Member" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132764Member" xlink:label="C000132764Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132764Member" use="optional" order="104.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132766Member" xlink:label="C000132766Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132766Member" use="optional" order="112.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132772Member" xlink:label="C000132772Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132772Member" use="optional" order="136.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132774Member" xlink:label="C000132774Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132774Member" use="optional" order="144.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132780Member" xlink:label="C000132780Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132780Member" use="optional" order="168.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132782Member" xlink:label="C000132782Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132782Member" use="optional" order="176.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132788Member" xlink:label="C000132788Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132788Member" use="optional" order="200.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132790Member" xlink:label="C000132790Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132790Member" use="optional" order="208.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132796Member" xlink:label="C000132796Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132796Member" use="optional" order="232.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132798Member" xlink:label="C000132798Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132798Member" use="optional" order="240.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132804Member" xlink:label="C000132804Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132804Member" use="optional" order="264.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132806Member" xlink:label="C000132806Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132806Member" use="optional" order="272.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138485Member" xlink:label="C000138485Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138485Member" use="optional" order="296.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138487Member" xlink:label="C000138487Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138487Member" use="optional" order="304.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167633Member" xlink:label="C000167633Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167633Member" use="optional" order="328.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167635Member" xlink:label="C000167635Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167635Member" use="optional" order="336.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1111TTTTMember" xlink:label="benchmark1111TTTTMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1111TTTTMember" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1084TTTTMember" xlink:label="benchmark1084TTTTMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1084TTTTMember" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122909TTTTMember" xlink:label="benchmark2015122909TTTTMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122909TTTTMember" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="361.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="362.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="363.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="364.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="366.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataTTTT">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_TTTTMember" xlink:label="TTTTMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="TTTTMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042847Member" xlink:label="S000042847Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042847Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042848Member" xlink:label="S000042848Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042848Member" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042849Member" xlink:label="S000042849Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042849Member" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042850Member" xlink:label="S000042850Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042850Member" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042851Member" xlink:label="S000042851Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042851Member" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042852Member" xlink:label="S000042852Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042852Member" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042853Member" xlink:label="S000042853Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042853Member" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042854Member" xlink:label="S000042854Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042854Member" use="optional" order="63.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042855Member" xlink:label="S000042855Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042855Member" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044503Member" xlink:label="S000044503Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044503Member" use="optional" order="79.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053255Member" xlink:label="S000053255Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053255Member" use="optional" order="87.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132740Member" xlink:label="C000132740Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132740Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132742Member" xlink:label="C000132742Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132742Member" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132747Member" xlink:label="C000132747Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132747Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132749Member" xlink:label="C000132749Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132749Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132756Member" xlink:label="C000132756Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132756Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132758Member" xlink:label="C000132758Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132758Member" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132764Member" xlink:label="C000132764Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132764Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132766Member" xlink:label="C000132766Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132766Member" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132772Member" xlink:label="C000132772Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132772Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132774Member" xlink:label="C000132774Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132774Member" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132780Member" xlink:label="C000132780Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132780Member" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132782Member" xlink:label="C000132782Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132782Member" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132788Member" xlink:label="C000132788Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132788Member" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132790Member" xlink:label="C000132790Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132790Member" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132796Member" xlink:label="C000132796Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132796Member" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132798Member" xlink:label="C000132798Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132798Member" use="optional" order="68.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132804Member" xlink:label="C000132804Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132804Member" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132806Member" xlink:label="C000132806Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132806Member" use="optional" order="76.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138485Member" xlink:label="C000138485Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138485Member" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138487Member" xlink:label="C000138487Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138487Member" use="optional" order="84.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167633Member" xlink:label="C000167633Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167633Member" use="optional" order="88.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167635Member" xlink:label="C000167635Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167635Member" use="optional" order="92.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="97.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="98.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="99.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="100.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="101.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="103.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="104.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="105.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="105.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataTTTT">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_TTTTMember" xlink:label="TTTTMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="TTTTMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042847Member" xlink:label="S000042847Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042847Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042848Member" xlink:label="S000042848Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042848Member" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042849Member" xlink:label="S000042849Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042849Member" use="optional" order="79.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042850Member" xlink:label="S000042850Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042850Member" use="optional" order="115.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042851Member" xlink:label="S000042851Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042851Member" use="optional" order="151.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042852Member" xlink:label="S000042852Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042852Member" use="optional" order="187.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042853Member" xlink:label="S000042853Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042853Member" use="optional" order="223.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042854Member" xlink:label="S000042854Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042854Member" use="optional" order="259.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042855Member" xlink:label="S000042855Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042855Member" use="optional" order="295.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044503Member" xlink:label="S000044503Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044503Member" use="optional" order="331.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053255Member" xlink:label="S000053255Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053255Member" use="optional" order="367.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132740Member" xlink:label="C000132740Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132740Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132742Member" xlink:label="C000132742Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132742Member" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132747Member" xlink:label="C000132747Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132747Member" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132749Member" xlink:label="C000132749Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132749Member" use="optional" order="62.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132756Member" xlink:label="C000132756Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132756Member" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132758Member" xlink:label="C000132758Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132758Member" use="optional" order="98.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132764Member" xlink:label="C000132764Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132764Member" use="optional" order="116.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132766Member" xlink:label="C000132766Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132766Member" use="optional" order="134.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132772Member" xlink:label="C000132772Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132772Member" use="optional" order="152.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132774Member" xlink:label="C000132774Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132774Member" use="optional" order="170.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132780Member" xlink:label="C000132780Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132780Member" use="optional" order="188.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132782Member" xlink:label="C000132782Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132782Member" use="optional" order="206.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132788Member" xlink:label="C000132788Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132788Member" use="optional" order="224.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132790Member" xlink:label="C000132790Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132790Member" use="optional" order="242.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132796Member" xlink:label="C000132796Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132796Member" use="optional" order="260.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132798Member" xlink:label="C000132798Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132798Member" use="optional" order="278.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132804Member" xlink:label="C000132804Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132804Member" use="optional" order="296.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132806Member" xlink:label="C000132806Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132806Member" use="optional" order="314.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138485Member" xlink:label="C000138485Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138485Member" use="optional" order="332.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138487Member" xlink:label="C000138487Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138487Member" use="optional" order="350.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167633Member" xlink:label="C000167633Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167633Member" use="optional" order="368.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167635Member" xlink:label="C000167635Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167635Member" use="optional" order="386.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="406.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="407.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="408.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="409.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="410.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="411.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="412.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="413.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="414.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="415.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="416.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="417.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleTTTT">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_TTTTMember" xlink:label="TTTTMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="TTTTMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042847Member" xlink:label="S000042847Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042847Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042848Member" xlink:label="S000042848Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042848Member" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042849Member" xlink:label="S000042849Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042849Member" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042850Member" xlink:label="S000042850Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042850Member" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042851Member" xlink:label="S000042851Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042851Member" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042852Member" xlink:label="S000042852Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042852Member" use="optional" order="87.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042853Member" xlink:label="S000042853Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042853Member" use="optional" order="103.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042854Member" xlink:label="S000042854Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042854Member" use="optional" order="119.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042855Member" xlink:label="S000042855Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042855Member" use="optional" order="135.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044503Member" xlink:label="S000044503Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044503Member" use="optional" order="151.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053255Member" xlink:label="S000053255Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053255Member" use="optional" order="167.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132740Member" xlink:label="C000132740Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132740Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132742Member" xlink:label="C000132742Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132742Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132747Member" xlink:label="C000132747Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132747Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132749Member" xlink:label="C000132749Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132749Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132756Member" xlink:label="C000132756Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132756Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132758Member" xlink:label="C000132758Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132758Member" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132764Member" xlink:label="C000132764Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132764Member" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132766Member" xlink:label="C000132766Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132766Member" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132772Member" xlink:label="C000132772Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132772Member" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132774Member" xlink:label="C000132774Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132774Member" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132780Member" xlink:label="C000132780Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132780Member" use="optional" order="88.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132782Member" xlink:label="C000132782Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132782Member" use="optional" order="96.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132788Member" xlink:label="C000132788Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132788Member" use="optional" order="104.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132790Member" xlink:label="C000132790Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132790Member" use="optional" order="112.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132796Member" xlink:label="C000132796Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132796Member" use="optional" order="120.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132798Member" xlink:label="C000132798Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132798Member" use="optional" order="128.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132804Member" xlink:label="C000132804Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132804Member" use="optional" order="136.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132806Member" xlink:label="C000132806Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132806Member" use="optional" order="144.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138485Member" xlink:label="C000138485Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138485Member" use="optional" order="152.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138487Member" xlink:label="C000138487Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138487Member" use="optional" order="160.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167633Member" xlink:label="C000167633Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167633Member" use="optional" order="168.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167635Member" xlink:label="C000167635Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167635Member" use="optional" order="176.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="185.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="186.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="187.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="188.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="189.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataTTTT">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_TTTTMember" xlink:label="TTTTMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="TTTTMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042847Member" xlink:label="S000042847Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042847Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042848Member" xlink:label="S000042848Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042848Member" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042849Member" xlink:label="S000042849Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042849Member" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042850Member" xlink:label="S000042850Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042850Member" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042851Member" xlink:label="S000042851Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042851Member" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042852Member" xlink:label="S000042852Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042852Member" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042853Member" xlink:label="S000042853Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042853Member" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042854Member" xlink:label="S000042854Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042854Member" use="optional" order="63.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042855Member" xlink:label="S000042855Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042855Member" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044503Member" xlink:label="S000044503Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044503Member" use="optional" order="79.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053255Member" xlink:label="S000053255Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053255Member" use="optional" order="85.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132740Member" xlink:label="C000132740Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132740Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132747Member" xlink:label="C000132747Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132747Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132756Member" xlink:label="C000132756Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132756Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132764Member" xlink:label="C000132764Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132764Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132772Member" xlink:label="C000132772Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132772Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132780Member" xlink:label="C000132780Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132780Member" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132788Member" xlink:label="C000132788Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132788Member" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132796Member" xlink:label="C000132796Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132796Member" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132804Member" xlink:label="C000132804Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132804Member" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138485Member" xlink:label="C000138485Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138485Member" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167633Member" xlink:label="C000167633Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167633Member" use="optional" order="86.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="89.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="90.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="91.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="92.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="93.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="94.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="95.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="96.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="97.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="98.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="99.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="100.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="101.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="103.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="104.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="105.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="106.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="107.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="108.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="109.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="110.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="111.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="112.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="113.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="114.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="115.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="116.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="117.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="118.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="119.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="120.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="121.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="122.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataUUUU">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_UUUUMember" xlink:label="UUUUMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="UUUUMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028822Member" xlink:label="S000028822Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028822Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028823Member" xlink:label="S000028823Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028823Member" use="optional" order="67.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028824Member" xlink:label="S000028824Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028824Member" use="optional" order="127.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028825Member" xlink:label="S000028825Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028825Member" use="optional" order="187.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028826Member" xlink:label="S000028826Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028826Member" use="optional" order="247.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028817Member" xlink:label="S000028817Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028817Member" use="optional" order="307.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028818Member" xlink:label="S000028818Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028818Member" use="optional" order="367.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044501Member" xlink:label="S000044501Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044501Member" use="optional" order="427.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053253Member" xlink:label="S000053253Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053253Member" use="optional" order="467.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028821Member" xlink:label="S000028821Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028821Member" use="optional" order="507.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088367Member" xlink:label="C000088367Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088367Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113517Member" xlink:label="C000113517Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113517Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088369Member" xlink:label="C000088369Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088369Member" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106476Member" xlink:label="C000106476Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106476Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088374Member" xlink:label="C000088374Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088374Member" use="optional" order="68.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113518Member" xlink:label="C000113518Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113518Member" use="optional" order="76.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088376Member" xlink:label="C000088376Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088376Member" use="optional" order="78.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106477Member" xlink:label="C000106477Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106477Member" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088381Member" xlink:label="C000088381Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088381Member" use="optional" order="128.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113519Member" xlink:label="C000113519Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113519Member" use="optional" order="136.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088383Member" xlink:label="C000088383Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088383Member" use="optional" order="138.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106478Member" xlink:label="C000106478Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106478Member" use="optional" order="140.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088388Member" xlink:label="C000088388Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088388Member" use="optional" order="188.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113520Member" xlink:label="C000113520Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113520Member" use="optional" order="196.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088390Member" xlink:label="C000088390Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088390Member" use="optional" order="198.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106479Member" xlink:label="C000106479Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106479Member" use="optional" order="200.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088395Member" xlink:label="C000088395Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088395Member" use="optional" order="248.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113521Member" xlink:label="C000113521Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113521Member" use="optional" order="256.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088397Member" xlink:label="C000088397Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088397Member" use="optional" order="258.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106480Member" xlink:label="C000106480Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106480Member" use="optional" order="260.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088337Member" xlink:label="C000088337Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088337Member" use="optional" order="308.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113513Member" xlink:label="C000113513Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113513Member" use="optional" order="316.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088339Member" xlink:label="C000088339Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088339Member" use="optional" order="318.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106472Member" xlink:label="C000106472Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106472Member" use="optional" order="320.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088344Member" xlink:label="C000088344Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088344Member" use="optional" order="368.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113514Member" xlink:label="C000113514Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113514Member" use="optional" order="376.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088346Member" xlink:label="C000088346Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088346Member" use="optional" order="378.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106473Member" xlink:label="C000106473Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106473Member" use="optional" order="380.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138466Member" xlink:label="C000138466Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138466Member" use="optional" order="428.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138467Member" xlink:label="C000138467Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138467Member" use="optional" order="436.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138469Member" xlink:label="C000138469Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138469Member" use="optional" order="438.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138471Member" xlink:label="C000138471Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138471Member" use="optional" order="440.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167613Member" xlink:label="C000167613Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167613Member" use="optional" order="468.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167614Member" xlink:label="C000167614Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167614Member" use="optional" order="476.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167616Member" xlink:label="C000167616Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167616Member" use="optional" order="478.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167618Member" xlink:label="C000167618Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167618Member" use="optional" order="480.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088360Member" xlink:label="C000088360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088360Member" use="optional" order="508.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113516Member" xlink:label="C000113516Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113516Member" use="optional" order="516.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088362Member" xlink:label="C000088362Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088362Member" use="optional" order="518.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106475Member" xlink:label="C000106475Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106475Member" use="optional" order="520.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1111UUUUMember" xlink:label="benchmark1111UUUUMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1111UUUUMember" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1084UUUUMember" xlink:label="benchmark1084UUUUMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1084UUUUMember" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122911UUUUMember" xlink:label="benchmark2015122911UUUUMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122911UUUUMember" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="569.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="570.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="571.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="572.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="574.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataUUUU">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_UUUUMember" xlink:label="UUUUMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="UUUUMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028822Member" xlink:label="S000028822Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028822Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028823Member" xlink:label="S000028823Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028823Member" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028824Member" xlink:label="S000028824Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028824Member" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028825Member" xlink:label="S000028825Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028825Member" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028826Member" xlink:label="S000028826Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028826Member" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028817Member" xlink:label="S000028817Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028817Member" use="optional" order="87.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028818Member" xlink:label="S000028818Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028818Member" use="optional" order="103.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044501Member" xlink:label="S000044501Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044501Member" use="optional" order="119.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053253Member" xlink:label="S000053253Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053253Member" use="optional" order="135.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028821Member" xlink:label="S000028821Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028821Member" use="optional" order="151.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088367Member" xlink:label="C000088367Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088367Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113517Member" xlink:label="C000113517Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113517Member" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088369Member" xlink:label="C000088369Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088369Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106476Member" xlink:label="C000106476Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106476Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088374Member" xlink:label="C000088374Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088374Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113518Member" xlink:label="C000113518Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113518Member" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088376Member" xlink:label="C000088376Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088376Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106477Member" xlink:label="C000106477Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106477Member" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088381Member" xlink:label="C000088381Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088381Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113519Member" xlink:label="C000113519Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113519Member" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088383Member" xlink:label="C000088383Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088383Member" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106478Member" xlink:label="C000106478Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106478Member" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088388Member" xlink:label="C000088388Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088388Member" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113520Member" xlink:label="C000113520Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113520Member" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088390Member" xlink:label="C000088390Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088390Member" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106479Member" xlink:label="C000106479Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106479Member" use="optional" order="68.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088395Member" xlink:label="C000088395Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088395Member" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113521Member" xlink:label="C000113521Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113521Member" use="optional" order="76.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088397Member" xlink:label="C000088397Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088397Member" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106480Member" xlink:label="C000106480Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106480Member" use="optional" order="84.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088337Member" xlink:label="C000088337Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088337Member" use="optional" order="88.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113513Member" xlink:label="C000113513Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113513Member" use="optional" order="92.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088339Member" xlink:label="C000088339Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088339Member" use="optional" order="96.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106472Member" xlink:label="C000106472Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106472Member" use="optional" order="100.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088344Member" xlink:label="C000088344Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088344Member" use="optional" order="104.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113514Member" xlink:label="C000113514Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113514Member" use="optional" order="108.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088346Member" xlink:label="C000088346Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088346Member" use="optional" order="112.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106473Member" xlink:label="C000106473Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106473Member" use="optional" order="116.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138466Member" xlink:label="C000138466Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138466Member" use="optional" order="120.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138467Member" xlink:label="C000138467Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138467Member" use="optional" order="124.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138469Member" xlink:label="C000138469Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138469Member" use="optional" order="128.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138471Member" xlink:label="C000138471Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138471Member" use="optional" order="132.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167613Member" xlink:label="C000167613Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167613Member" use="optional" order="136.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167614Member" xlink:label="C000167614Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167614Member" use="optional" order="140.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167616Member" xlink:label="C000167616Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167616Member" use="optional" order="144.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167618Member" xlink:label="C000167618Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167618Member" use="optional" order="148.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088360Member" xlink:label="C000088360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088360Member" use="optional" order="152.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113516Member" xlink:label="C000113516Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113516Member" use="optional" order="156.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088362Member" xlink:label="C000088362Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088362Member" use="optional" order="160.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106475Member" xlink:label="C000106475Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106475Member" use="optional" order="164.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="169.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="170.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="171.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="172.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="173.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="174.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="175.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="176.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="177.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="177.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataUUUU">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_UUUUMember" xlink:label="UUUUMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="UUUUMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028822Member" xlink:label="S000028822Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028822Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028823Member" xlink:label="S000028823Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028823Member" use="optional" order="79.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028824Member" xlink:label="S000028824Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028824Member" use="optional" order="151.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028825Member" xlink:label="S000028825Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028825Member" use="optional" order="223.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028826Member" xlink:label="S000028826Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028826Member" use="optional" order="295.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028817Member" xlink:label="S000028817Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028817Member" use="optional" order="367.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028818Member" xlink:label="S000028818Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028818Member" use="optional" order="439.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044501Member" xlink:label="S000044501Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044501Member" use="optional" order="511.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053253Member" xlink:label="S000053253Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053253Member" use="optional" order="583.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028821Member" xlink:label="S000028821Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028821Member" use="optional" order="655.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088367Member" xlink:label="C000088367Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088367Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113517Member" xlink:label="C000113517Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113517Member" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088369Member" xlink:label="C000088369Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088369Member" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106476Member" xlink:label="C000106476Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106476Member" use="optional" order="62.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088374Member" xlink:label="C000088374Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088374Member" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113518Member" xlink:label="C000113518Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113518Member" use="optional" order="98.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088376Member" xlink:label="C000088376Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088376Member" use="optional" order="116.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106477Member" xlink:label="C000106477Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106477Member" use="optional" order="134.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088381Member" xlink:label="C000088381Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088381Member" use="optional" order="152.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113519Member" xlink:label="C000113519Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113519Member" use="optional" order="170.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088383Member" xlink:label="C000088383Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088383Member" use="optional" order="188.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106478Member" xlink:label="C000106478Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106478Member" use="optional" order="206.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088388Member" xlink:label="C000088388Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088388Member" use="optional" order="224.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113520Member" xlink:label="C000113520Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113520Member" use="optional" order="242.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088390Member" xlink:label="C000088390Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088390Member" use="optional" order="260.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106479Member" xlink:label="C000106479Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106479Member" use="optional" order="278.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088395Member" xlink:label="C000088395Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088395Member" use="optional" order="296.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113521Member" xlink:label="C000113521Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113521Member" use="optional" order="314.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088397Member" xlink:label="C000088397Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088397Member" use="optional" order="332.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106480Member" xlink:label="C000106480Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106480Member" use="optional" order="350.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088337Member" xlink:label="C000088337Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088337Member" use="optional" order="368.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113513Member" xlink:label="C000113513Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113513Member" use="optional" order="386.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088339Member" xlink:label="C000088339Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088339Member" use="optional" order="404.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106472Member" xlink:label="C000106472Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106472Member" use="optional" order="422.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088344Member" xlink:label="C000088344Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088344Member" use="optional" order="440.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113514Member" xlink:label="C000113514Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113514Member" use="optional" order="458.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088346Member" xlink:label="C000088346Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088346Member" use="optional" order="476.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106473Member" xlink:label="C000106473Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106473Member" use="optional" order="494.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138466Member" xlink:label="C000138466Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138466Member" use="optional" order="512.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138467Member" xlink:label="C000138467Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138467Member" use="optional" order="530.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138469Member" xlink:label="C000138469Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138469Member" use="optional" order="548.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138471Member" xlink:label="C000138471Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138471Member" use="optional" order="566.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167613Member" xlink:label="C000167613Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167613Member" use="optional" order="584.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167614Member" xlink:label="C000167614Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167614Member" use="optional" order="602.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167616Member" xlink:label="C000167616Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167616Member" use="optional" order="620.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167618Member" xlink:label="C000167618Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167618Member" use="optional" order="638.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088360Member" xlink:label="C000088360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088360Member" use="optional" order="656.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113516Member" xlink:label="C000113516Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113516Member" use="optional" order="674.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088362Member" xlink:label="C000088362Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088362Member" use="optional" order="692.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106475Member" xlink:label="C000106475Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106475Member" use="optional" order="710.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="730.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="731.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="732.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="733.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="734.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="735.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="736.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="737.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="738.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="739.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="740.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="741.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleUUUU">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_UUUUMember" xlink:label="UUUUMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="UUUUMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028822Member" xlink:label="S000028822Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028822Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028823Member" xlink:label="S000028823Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028823Member" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028824Member" xlink:label="S000028824Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028824Member" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028825Member" xlink:label="S000028825Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028825Member" use="optional" order="103.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028826Member" xlink:label="S000028826Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028826Member" use="optional" order="135.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028817Member" xlink:label="S000028817Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028817Member" use="optional" order="167.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028818Member" xlink:label="S000028818Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028818Member" use="optional" order="199.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044501Member" xlink:label="S000044501Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044501Member" use="optional" order="231.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053253Member" xlink:label="S000053253Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053253Member" use="optional" order="263.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028821Member" xlink:label="S000028821Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028821Member" use="optional" order="295.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088367Member" xlink:label="C000088367Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088367Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113517Member" xlink:label="C000113517Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113517Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088369Member" xlink:label="C000088369Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088369Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106476Member" xlink:label="C000106476Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106476Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088374Member" xlink:label="C000088374Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088374Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113518Member" xlink:label="C000113518Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113518Member" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088376Member" xlink:label="C000088376Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088376Member" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106477Member" xlink:label="C000106477Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106477Member" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088381Member" xlink:label="C000088381Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088381Member" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113519Member" xlink:label="C000113519Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113519Member" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088383Member" xlink:label="C000088383Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088383Member" use="optional" order="88.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106478Member" xlink:label="C000106478Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106478Member" use="optional" order="96.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088388Member" xlink:label="C000088388Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088388Member" use="optional" order="104.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113520Member" xlink:label="C000113520Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113520Member" use="optional" order="112.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088390Member" xlink:label="C000088390Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088390Member" use="optional" order="120.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106479Member" xlink:label="C000106479Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106479Member" use="optional" order="128.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088395Member" xlink:label="C000088395Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088395Member" use="optional" order="136.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113521Member" xlink:label="C000113521Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113521Member" use="optional" order="144.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088397Member" xlink:label="C000088397Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088397Member" use="optional" order="152.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106480Member" xlink:label="C000106480Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106480Member" use="optional" order="160.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088337Member" xlink:label="C000088337Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088337Member" use="optional" order="168.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113513Member" xlink:label="C000113513Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113513Member" use="optional" order="176.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088339Member" xlink:label="C000088339Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088339Member" use="optional" order="184.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106472Member" xlink:label="C000106472Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106472Member" use="optional" order="192.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088344Member" xlink:label="C000088344Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088344Member" use="optional" order="200.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113514Member" xlink:label="C000113514Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113514Member" use="optional" order="208.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088346Member" xlink:label="C000088346Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088346Member" use="optional" order="216.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106473Member" xlink:label="C000106473Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106473Member" use="optional" order="224.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138466Member" xlink:label="C000138466Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138466Member" use="optional" order="232.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138467Member" xlink:label="C000138467Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138467Member" use="optional" order="240.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138469Member" xlink:label="C000138469Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138469Member" use="optional" order="248.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138471Member" xlink:label="C000138471Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138471Member" use="optional" order="256.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167613Member" xlink:label="C000167613Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167613Member" use="optional" order="264.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167614Member" xlink:label="C000167614Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167614Member" use="optional" order="272.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167616Member" xlink:label="C000167616Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167616Member" use="optional" order="280.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167618Member" xlink:label="C000167618Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167618Member" use="optional" order="288.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088360Member" xlink:label="C000088360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088360Member" use="optional" order="296.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113516Member" xlink:label="C000113516Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113516Member" use="optional" order="304.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088362Member" xlink:label="C000088362Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088362Member" use="optional" order="312.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106475Member" xlink:label="C000106475Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106475Member" use="optional" order="320.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="329.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="330.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="331.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="332.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="333.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataUUUU">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_UUUUMember" xlink:label="UUUUMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="UUUUMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028822Member" xlink:label="S000028822Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028822Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028823Member" xlink:label="S000028823Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028823Member" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028824Member" xlink:label="S000028824Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028824Member" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028825Member" xlink:label="S000028825Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028825Member" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028826Member" xlink:label="S000028826Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028826Member" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028817Member" xlink:label="S000028817Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028817Member" use="optional" order="67.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028818Member" xlink:label="S000028818Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028818Member" use="optional" order="79.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044501Member" xlink:label="S000044501Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044501Member" use="optional" order="89.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053253Member" xlink:label="S000053253Member" xlink:title="S000053253Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053253Member" xlink:title="definition: EntityDomain to S000053253Member" order="94.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028821Member" xlink:label="S000028821Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028821Member" use="optional" order="93.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088367Member" xlink:label="C000088367Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088367Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088374Member" xlink:label="C000088374Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088374Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088381Member" xlink:label="C000088381Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088381Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088388Member" xlink:label="C000088388Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088388Member" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088395Member" xlink:label="C000088395Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088395Member" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088337Member" xlink:label="C000088337Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088337Member" use="optional" order="68.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088344Member" xlink:label="C000088344Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088344Member" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138466Member" xlink:label="C000138466Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138466Member" use="optional" order="90.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167613Member" xlink:label="C000167613Member" xlink:title="C000167613Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167613Member" xlink:title="definition: ShareClassDomain to C000167613Member" order="95.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088360Member" xlink:label="C000088360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088360Member" use="optional" order="94.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="107.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="108.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="109.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="110.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="111.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="112.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="113.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="114.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="115.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="116.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="117.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="118.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="119.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="120.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="121.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="122.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="123.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="124.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="125.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="126.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="127.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="128.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="129.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="130.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="131.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="132.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="133.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="134.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="135.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="136.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="137.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="138.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="139.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="140.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataVVVV">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_VVVVMember" xlink:label="VVVVMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="VVVVMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028822Member" xlink:label="S000028822Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028822Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028823Member" xlink:label="S000028823Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028823Member" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028824Member" xlink:label="S000028824Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028824Member" use="optional" order="91.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028825Member" xlink:label="S000028825Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028825Member" use="optional" order="133.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028826Member" xlink:label="S000028826Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028826Member" use="optional" order="175.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028817Member" xlink:label="S000028817Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028817Member" use="optional" order="217.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028818Member" xlink:label="S000028818Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028818Member" use="optional" order="259.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044501Member" xlink:label="S000044501Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044501Member" use="optional" order="301.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053253Member" xlink:label="S000053253Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053253Member" use="optional" order="329.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028821Member" xlink:label="S000028821Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028821Member" use="optional" order="357.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088370Member" xlink:label="C000088370Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088370Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088377Member" xlink:label="C000088377Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088377Member" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088384Member" xlink:label="C000088384Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088384Member" use="optional" order="92.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088391Member" xlink:label="C000088391Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088391Member" use="optional" order="134.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088398Member" xlink:label="C000088398Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088398Member" use="optional" order="176.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088340Member" xlink:label="C000088340Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088340Member" use="optional" order="218.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088347Member" xlink:label="C000088347Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088347Member" use="optional" order="260.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138470Member" xlink:label="C000138470Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138470Member" use="optional" order="302.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167617Member" xlink:label="C000167617Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167617Member" use="optional" order="330.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088363Member" xlink:label="C000088363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088363Member" use="optional" order="358.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1111VVVVMember" xlink:label="benchmark1111VVVVMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1111VVVVMember" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1084VVVVMember" xlink:label="benchmark1084VVVVMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1084VVVVMember" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122911VVVVMember" xlink:label="benchmark2015122911VVVVMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122911VVVVMember" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="401.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="402.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="403.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="404.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="406.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataVVVV">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_VVVVMember" xlink:label="VVVVMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="VVVVMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028822Member" xlink:label="S000028822Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028822Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028823Member" xlink:label="S000028823Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028823Member" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028824Member" xlink:label="S000028824Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028824Member" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028825Member" xlink:label="S000028825Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028825Member" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028826Member" xlink:label="S000028826Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028826Member" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028817Member" xlink:label="S000028817Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028817Member" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028818Member" xlink:label="S000028818Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028818Member" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044501Member" xlink:label="S000044501Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044501Member" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053253Member" xlink:label="S000053253Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053253Member" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028821Member" xlink:label="S000028821Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028821Member" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088370Member" xlink:label="C000088370Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088370Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088377Member" xlink:label="C000088377Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088377Member" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088384Member" xlink:label="C000088384Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088384Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088391Member" xlink:label="C000088391Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088391Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088398Member" xlink:label="C000088398Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088398Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088340Member" xlink:label="C000088340Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088340Member" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088347Member" xlink:label="C000088347Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088347Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138470Member" xlink:label="C000138470Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138470Member" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167617Member" xlink:label="C000167617Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167617Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088363Member" xlink:label="C000088363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088363Member" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="57.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataVVVV">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_VVVVMember" xlink:label="VVVVMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="VVVVMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028822Member" xlink:label="S000028822Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028822Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028823Member" xlink:label="S000028823Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028823Member" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028824Member" xlink:label="S000028824Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028824Member" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028825Member" xlink:label="S000028825Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028825Member" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028826Member" xlink:label="S000028826Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028826Member" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028817Member" xlink:label="S000028817Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028817Member" use="optional" order="87.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028818Member" xlink:label="S000028818Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028818Member" use="optional" order="103.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044501Member" xlink:label="S000044501Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044501Member" use="optional" order="119.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053253Member" xlink:label="S000053253Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053253Member" use="optional" order="135.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028821Member" xlink:label="S000028821Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028821Member" use="optional" order="151.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088370Member" xlink:label="C000088370Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088370Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088377Member" xlink:label="C000088377Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088377Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088384Member" xlink:label="C000088384Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088384Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088391Member" xlink:label="C000088391Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088391Member" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088398Member" xlink:label="C000088398Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088398Member" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088340Member" xlink:label="C000088340Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088340Member" use="optional" order="88.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088347Member" xlink:label="C000088347Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088347Member" use="optional" order="104.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138470Member" xlink:label="C000138470Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138470Member" use="optional" order="120.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167617Member" xlink:label="C000167617Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167617Member" use="optional" order="136.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088363Member" xlink:label="C000088363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088363Member" use="optional" order="152.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="170.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="171.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="172.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="173.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="174.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="175.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="176.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="177.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="178.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="179.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="180.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="181.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleVVVV">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_VVVVMember" xlink:label="VVVVMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="VVVVMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028822Member" xlink:label="S000028822Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028822Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028823Member" xlink:label="S000028823Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028823Member" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028824Member" xlink:label="S000028824Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028824Member" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028825Member" xlink:label="S000028825Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028825Member" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028826Member" xlink:label="S000028826Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028826Member" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028817Member" xlink:label="S000028817Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028817Member" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028818Member" xlink:label="S000028818Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028818Member" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044501Member" xlink:label="S000044501Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044501Member" use="optional" order="63.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053253Member" xlink:label="S000053253Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053253Member" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028821Member" xlink:label="S000028821Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028821Member" use="optional" order="79.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088370Member" xlink:label="C000088370Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088370Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088377Member" xlink:label="C000088377Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088377Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088384Member" xlink:label="C000088384Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088384Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088391Member" xlink:label="C000088391Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088391Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088398Member" xlink:label="C000088398Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088398Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088340Member" xlink:label="C000088340Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088340Member" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088347Member" xlink:label="C000088347Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088347Member" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138470Member" xlink:label="C000138470Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138470Member" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167617Member" xlink:label="C000167617Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167617Member" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088363Member" xlink:label="C000088363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088363Member" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="89.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="90.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="91.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="92.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="93.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataVVVV">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_VVVVMember" xlink:label="VVVVMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="VVVVMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028822Member" xlink:label="S000028822Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028822Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028823Member" xlink:label="S000028823Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028823Member" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028824Member" xlink:label="S000028824Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028824Member" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028825Member" xlink:label="S000028825Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028825Member" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028826Member" xlink:label="S000028826Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028826Member" use="optional" order="63.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028817Member" xlink:label="S000028817Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028817Member" use="optional" order="77.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028818Member" xlink:label="S000028818Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028818Member" use="optional" order="91.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044501Member" xlink:label="S000044501Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044501Member" use="optional" order="103.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053253Member" xlink:label="S000053253Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053253Member" use="optional" order="109.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028821Member" xlink:label="S000028821Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028821Member" use="optional" order="111.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088370Member" xlink:label="C000088370Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088370Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088377Member" xlink:label="C000088377Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088377Member" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088384Member" xlink:label="C000088384Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088384Member" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088391Member" xlink:label="C000088391Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088391Member" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088398Member" xlink:label="C000088398Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088398Member" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088340Member" xlink:label="C000088340Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088340Member" use="optional" order="78.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088347Member" xlink:label="C000088347Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088347Member" use="optional" order="92.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138470Member" xlink:label="C000138470Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138470Member" use="optional" order="104.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167617Member" xlink:label="C000167617Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167617Member" use="optional" order="110.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088363Member" xlink:label="C000088363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088363Member" use="optional" order="112.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="127.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="128.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="129.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="130.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="131.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="132.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="133.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="134.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="135.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="136.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="137.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="138.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="139.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="140.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="141.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="142.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="143.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="144.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="145.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="146.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="147.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="148.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="149.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="150.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="151.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="152.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="153.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="154.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="155.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="156.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="157.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="158.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="159.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="160.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataWWWW">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_WWWWMember" xlink:label="WWWWMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="WWWWMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013649Member" xlink:label="S000013649Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013649Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013652Member" xlink:label="S000013652Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013652Member" use="optional" order="91.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013653Member" xlink:label="S000013653Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013653Member" use="optional" order="175.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013654Member" xlink:label="S000013654Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013654Member" use="optional" order="259.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013655Member" xlink:label="S000013655Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013655Member" use="optional" order="343.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013656Member" xlink:label="S000013656Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013656Member" use="optional" order="427.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013657Member" xlink:label="S000013657Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013657Member" use="optional" order="511.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013658Member" xlink:label="S000013658Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013658Member" use="optional" order="595.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013659Member" xlink:label="S000013659Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013659Member" use="optional" order="679.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044502Member" xlink:label="S000044502Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044502Member" use="optional" order="763.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053254Member" xlink:label="S000053254Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053254Member" use="optional" order="819.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037307Member" xlink:label="C000037307Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037307Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153956Member" xlink:label="C000153956Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153956Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037314Member" xlink:label="C000037314Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037314Member" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113503Member" xlink:label="C000113503Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113503Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037316Member" xlink:label="C000037316Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037316Member" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037317Member" xlink:label="C000037317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037317Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037308Member" xlink:label="C000037308Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037308Member" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106459Member" xlink:label="C000106459Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106459Member" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037330Member" xlink:label="C000037330Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037330Member" use="optional" order="92.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153957Member" xlink:label="C000153957Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153957Member" use="optional" order="100.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037335Member" xlink:label="C000037335Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037335Member" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113504Member" xlink:label="C000113504Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113504Member" use="optional" order="104.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037337Member" xlink:label="C000037337Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037337Member" use="optional" order="106.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037338Member" xlink:label="C000037338Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037338Member" use="optional" order="108.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037339Member" xlink:label="C000037339Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037339Member" use="optional" order="110.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106460Member" xlink:label="C000106460Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106460Member" use="optional" order="112.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037341Member" xlink:label="C000037341Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037341Member" use="optional" order="176.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153958Member" xlink:label="C000153958Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153958Member" use="optional" order="184.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037346Member" xlink:label="C000037346Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037346Member" use="optional" order="186.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113505Member" xlink:label="C000113505Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113505Member" use="optional" order="188.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037348Member" xlink:label="C000037348Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037348Member" use="optional" order="190.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037349Member" xlink:label="C000037349Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037349Member" use="optional" order="192.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037350Member" xlink:label="C000037350Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037350Member" use="optional" order="194.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106461Member" xlink:label="C000106461Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106461Member" use="optional" order="196.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037352Member" xlink:label="C000037352Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037352Member" use="optional" order="260.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153959Member" xlink:label="C000153959Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153959Member" use="optional" order="268.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037357Member" xlink:label="C000037357Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037357Member" use="optional" order="270.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113506Member" xlink:label="C000113506Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113506Member" use="optional" order="272.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037359Member" xlink:label="C000037359Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037359Member" use="optional" order="274.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037360Member" xlink:label="C000037360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037360Member" use="optional" order="276.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037361Member" xlink:label="C000037361Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037361Member" use="optional" order="278.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106462Member" xlink:label="C000106462Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106462Member" use="optional" order="280.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037363Member" xlink:label="C000037363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037363Member" use="optional" order="344.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153960Member" xlink:label="C000153960Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153960Member" use="optional" order="352.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037368Member" xlink:label="C000037368Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037368Member" use="optional" order="354.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113507Member" xlink:label="C000113507Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113507Member" use="optional" order="356.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037370Member" xlink:label="C000037370Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037370Member" use="optional" order="358.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037371Member" xlink:label="C000037371Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037371Member" use="optional" order="360.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037372Member" xlink:label="C000037372Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037372Member" use="optional" order="362.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106463Member" xlink:label="C000106463Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106463Member" use="optional" order="364.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037374Member" xlink:label="C000037374Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037374Member" use="optional" order="428.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153961Member" xlink:label="C000153961Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153961Member" use="optional" order="436.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037379Member" xlink:label="C000037379Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037379Member" use="optional" order="438.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113508Member" xlink:label="C000113508Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113508Member" use="optional" order="440.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037381Member" xlink:label="C000037381Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037381Member" use="optional" order="442.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037382Member" xlink:label="C000037382Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037382Member" use="optional" order="444.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037383Member" xlink:label="C000037383Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037383Member" use="optional" order="446.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106464Member" xlink:label="C000106464Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106464Member" use="optional" order="448.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037385Member" xlink:label="C000037385Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037385Member" use="optional" order="512.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153962Member" xlink:label="C000153962Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153962Member" use="optional" order="520.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037390Member" xlink:label="C000037390Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037390Member" use="optional" order="522.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113509Member" xlink:label="C000113509Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113509Member" use="optional" order="524.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037392Member" xlink:label="C000037392Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037392Member" use="optional" order="526.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037393Member" xlink:label="C000037393Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037393Member" use="optional" order="528.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037394Member" xlink:label="C000037394Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037394Member" use="optional" order="530.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106465Member" xlink:label="C000106465Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106465Member" use="optional" order="532.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037396Member" xlink:label="C000037396Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037396Member" use="optional" order="596.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153963Member" xlink:label="C000153963Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153963Member" use="optional" order="604.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037401Member" xlink:label="C000037401Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037401Member" use="optional" order="606.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113510Member" xlink:label="C000113510Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113510Member" use="optional" order="608.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037403Member" xlink:label="C000037403Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037403Member" use="optional" order="610.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037404Member" xlink:label="C000037404Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037404Member" use="optional" order="612.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037405Member" xlink:label="C000037405Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037405Member" use="optional" order="614.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106466Member" xlink:label="C000106466Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106466Member" use="optional" order="616.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037407Member" xlink:label="C000037407Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037407Member" use="optional" order="680.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153964Member" xlink:label="C000153964Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153964Member" use="optional" order="688.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037412Member" xlink:label="C000037412Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037412Member" use="optional" order="690.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113511Member" xlink:label="C000113511Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113511Member" use="optional" order="692.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037414Member" xlink:label="C000037414Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037414Member" use="optional" order="694.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037415Member" xlink:label="C000037415Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037415Member" use="optional" order="696.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037416Member" xlink:label="C000037416Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037416Member" use="optional" order="698.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106467Member" xlink:label="C000106467Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106467Member" use="optional" order="700.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138479Member" xlink:label="C000138479Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138479Member" use="optional" order="764.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153974Member" xlink:label="C000153974Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153974Member" use="optional" order="772.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138472Member" xlink:label="C000138472Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138472Member" use="optional" order="774.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138473Member" xlink:label="C000138473Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138473Member" use="optional" order="776.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138474Member" xlink:label="C000138474Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138474Member" use="optional" order="778.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138475Member" xlink:label="C000138475Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138475Member" use="optional" order="780.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138476Member" xlink:label="C000138476Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138476Member" use="optional" order="782.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138477Member" xlink:label="C000138477Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138477Member" use="optional" order="784.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167627Member" xlink:label="C000167627Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167627Member" use="optional" order="820.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167619Member" xlink:label="C000167619Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167619Member" use="optional" order="828.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167620Member" xlink:label="C000167620Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167620Member" use="optional" order="830.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167621Member" xlink:label="C000167621Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167621Member" use="optional" order="832.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167622Member" xlink:label="C000167622Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167622Member" use="optional" order="834.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167623Member" xlink:label="C000167623Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167623Member" use="optional" order="836.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167624Member" xlink:label="C000167624Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167624Member" use="optional" order="838.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167625Member" xlink:label="C000167625Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167625Member" use="optional" order="840.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1111WWWWMember" xlink:label="benchmark1111WWWWMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1111WWWWMember" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1084WWWWMember" xlink:label="benchmark1084WWWWMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1084WWWWMember" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122909WWWWMember" xlink:label="benchmark2015122909WWWWMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122909WWWWMember" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="877.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="878.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="879.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="880.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="882.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataWWWW">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_WWWWMember" xlink:label="WWWWMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="WWWWMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013649Member" xlink:label="S000013649Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013649Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013652Member" xlink:label="S000013652Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013652Member" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013653Member" xlink:label="S000013653Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013653Member" use="optional" order="103.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013654Member" xlink:label="S000013654Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013654Member" use="optional" order="151.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013655Member" xlink:label="S000013655Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013655Member" use="optional" order="199.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013656Member" xlink:label="S000013656Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013656Member" use="optional" order="247.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013657Member" xlink:label="S000013657Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013657Member" use="optional" order="295.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013658Member" xlink:label="S000013658Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013658Member" use="optional" order="343.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013659Member" xlink:label="S000013659Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013659Member" use="optional" order="391.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044502Member" xlink:label="S000044502Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044502Member" use="optional" order="439.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053254Member" xlink:label="S000053254Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053254Member" use="optional" order="487.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037307Member" xlink:label="C000037307Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037307Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153956Member" xlink:label="C000153956Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153956Member" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037314Member" xlink:label="C000037314Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037314Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113503Member" xlink:label="C000113503Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113503Member" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037316Member" xlink:label="C000037316Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037316Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037317Member" xlink:label="C000037317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037317Member" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037308Member" xlink:label="C000037308Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037308Member" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106459Member" xlink:label="C000106459Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106459Member" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037330Member" xlink:label="C000037330Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037330Member" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153957Member" xlink:label="C000153957Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153957Member" use="optional" order="62.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037335Member" xlink:label="C000037335Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037335Member" use="optional" order="68.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113504Member" xlink:label="C000113504Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113504Member" use="optional" order="74.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037337Member" xlink:label="C000037337Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037337Member" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037338Member" xlink:label="C000037338Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037338Member" use="optional" order="86.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037339Member" xlink:label="C000037339Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037339Member" use="optional" order="92.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106460Member" xlink:label="C000106460Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106460Member" use="optional" order="98.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037341Member" xlink:label="C000037341Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037341Member" use="optional" order="104.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153958Member" xlink:label="C000153958Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153958Member" use="optional" order="110.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037346Member" xlink:label="C000037346Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037346Member" use="optional" order="116.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113505Member" xlink:label="C000113505Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113505Member" use="optional" order="122.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037348Member" xlink:label="C000037348Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037348Member" use="optional" order="128.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037349Member" xlink:label="C000037349Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037349Member" use="optional" order="134.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037350Member" xlink:label="C000037350Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037350Member" use="optional" order="140.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106461Member" xlink:label="C000106461Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106461Member" use="optional" order="146.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037352Member" xlink:label="C000037352Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037352Member" use="optional" order="152.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153959Member" xlink:label="C000153959Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153959Member" use="optional" order="158.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037357Member" xlink:label="C000037357Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037357Member" use="optional" order="164.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113506Member" xlink:label="C000113506Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113506Member" use="optional" order="170.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037359Member" xlink:label="C000037359Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037359Member" use="optional" order="176.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037360Member" xlink:label="C000037360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037360Member" use="optional" order="182.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037361Member" xlink:label="C000037361Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037361Member" use="optional" order="188.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106462Member" xlink:label="C000106462Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106462Member" use="optional" order="194.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037363Member" xlink:label="C000037363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037363Member" use="optional" order="200.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153960Member" xlink:label="C000153960Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153960Member" use="optional" order="206.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037368Member" xlink:label="C000037368Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037368Member" use="optional" order="212.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113507Member" xlink:label="C000113507Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113507Member" use="optional" order="218.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037370Member" xlink:label="C000037370Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037370Member" use="optional" order="224.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037371Member" xlink:label="C000037371Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037371Member" use="optional" order="230.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037372Member" xlink:label="C000037372Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037372Member" use="optional" order="236.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106463Member" xlink:label="C000106463Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106463Member" use="optional" order="242.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037374Member" xlink:label="C000037374Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037374Member" use="optional" order="248.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153961Member" xlink:label="C000153961Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153961Member" use="optional" order="254.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037379Member" xlink:label="C000037379Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037379Member" use="optional" order="260.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113508Member" xlink:label="C000113508Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113508Member" use="optional" order="266.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037381Member" xlink:label="C000037381Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037381Member" use="optional" order="272.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037382Member" xlink:label="C000037382Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037382Member" use="optional" order="278.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037383Member" xlink:label="C000037383Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037383Member" use="optional" order="284.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106464Member" xlink:label="C000106464Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106464Member" use="optional" order="290.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037385Member" xlink:label="C000037385Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037385Member" use="optional" order="296.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153962Member" xlink:label="C000153962Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153962Member" use="optional" order="302.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037390Member" xlink:label="C000037390Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037390Member" use="optional" order="308.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113509Member" xlink:label="C000113509Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113509Member" use="optional" order="314.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037392Member" xlink:label="C000037392Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037392Member" use="optional" order="320.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037393Member" xlink:label="C000037393Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037393Member" use="optional" order="326.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037394Member" xlink:label="C000037394Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037394Member" use="optional" order="332.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106465Member" xlink:label="C000106465Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106465Member" use="optional" order="338.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037396Member" xlink:label="C000037396Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037396Member" use="optional" order="344.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153963Member" xlink:label="C000153963Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153963Member" use="optional" order="350.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037401Member" xlink:label="C000037401Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037401Member" use="optional" order="356.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113510Member" xlink:label="C000113510Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113510Member" use="optional" order="362.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037403Member" xlink:label="C000037403Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037403Member" use="optional" order="368.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037404Member" xlink:label="C000037404Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037404Member" use="optional" order="374.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037405Member" xlink:label="C000037405Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037405Member" use="optional" order="380.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106466Member" xlink:label="C000106466Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106466Member" use="optional" order="386.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037407Member" xlink:label="C000037407Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037407Member" use="optional" order="392.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153964Member" xlink:label="C000153964Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153964Member" use="optional" order="398.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037412Member" xlink:label="C000037412Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037412Member" use="optional" order="404.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113511Member" xlink:label="C000113511Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113511Member" use="optional" order="410.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037414Member" xlink:label="C000037414Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037414Member" use="optional" order="416.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037415Member" xlink:label="C000037415Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037415Member" use="optional" order="422.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037416Member" xlink:label="C000037416Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037416Member" use="optional" order="428.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106467Member" xlink:label="C000106467Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106467Member" use="optional" order="434.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138479Member" xlink:label="C000138479Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138479Member" use="optional" order="440.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153974Member" xlink:label="C000153974Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153974Member" use="optional" order="446.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138472Member" xlink:label="C000138472Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138472Member" use="optional" order="452.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138473Member" xlink:label="C000138473Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138473Member" use="optional" order="458.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138474Member" xlink:label="C000138474Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138474Member" use="optional" order="464.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138475Member" xlink:label="C000138475Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138475Member" use="optional" order="470.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138476Member" xlink:label="C000138476Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138476Member" use="optional" order="476.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138477Member" xlink:label="C000138477Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138477Member" use="optional" order="482.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167627Member" xlink:label="C000167627Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167627Member" use="optional" order="488.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167619Member" xlink:label="C000167619Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167619Member" use="optional" order="494.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167620Member" xlink:label="C000167620Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167620Member" use="optional" order="500.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167621Member" xlink:label="C000167621Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167621Member" use="optional" order="506.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167622Member" xlink:label="C000167622Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167622Member" use="optional" order="512.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167623Member" xlink:label="C000167623Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167623Member" use="optional" order="518.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167624Member" xlink:label="C000167624Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167624Member" use="optional" order="524.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167625Member" xlink:label="C000167625Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167625Member" use="optional" order="530.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="537.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="538.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="539.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="540.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="541.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="542.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="543.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="544.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="545.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="545.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataWWWW">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_WWWWMember" xlink:label="WWWWMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="WWWWMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013649Member" xlink:label="S000013649Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013649Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013652Member" xlink:label="S000013652Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013652Member" use="optional" order="151.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013653Member" xlink:label="S000013653Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013653Member" use="optional" order="295.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013654Member" xlink:label="S000013654Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013654Member" use="optional" order="439.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013655Member" xlink:label="S000013655Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013655Member" use="optional" order="583.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013656Member" xlink:label="S000013656Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013656Member" use="optional" order="727.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013657Member" xlink:label="S000013657Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013657Member" use="optional" order="871.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013658Member" xlink:label="S000013658Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013658Member" use="optional" order="1015.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013659Member" xlink:label="S000013659Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013659Member" use="optional" order="1159.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044502Member" xlink:label="S000044502Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044502Member" use="optional" order="1303.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053254Member" xlink:label="S000053254Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053254Member" use="optional" order="1447.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037307Member" xlink:label="C000037307Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037307Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153956Member" xlink:label="C000153956Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153956Member" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037314Member" xlink:label="C000037314Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037314Member" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113503Member" xlink:label="C000113503Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113503Member" use="optional" order="62.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037316Member" xlink:label="C000037316Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037316Member" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037317Member" xlink:label="C000037317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037317Member" use="optional" order="98.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037308Member" xlink:label="C000037308Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037308Member" use="optional" order="116.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106459Member" xlink:label="C000106459Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106459Member" use="optional" order="134.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037330Member" xlink:label="C000037330Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037330Member" use="optional" order="152.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153957Member" xlink:label="C000153957Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153957Member" use="optional" order="170.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037335Member" xlink:label="C000037335Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037335Member" use="optional" order="188.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113504Member" xlink:label="C000113504Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113504Member" use="optional" order="206.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037337Member" xlink:label="C000037337Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037337Member" use="optional" order="224.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037338Member" xlink:label="C000037338Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037338Member" use="optional" order="242.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037339Member" xlink:label="C000037339Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037339Member" use="optional" order="260.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106460Member" xlink:label="C000106460Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106460Member" use="optional" order="278.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037341Member" xlink:label="C000037341Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037341Member" use="optional" order="296.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153958Member" xlink:label="C000153958Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153958Member" use="optional" order="314.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037346Member" xlink:label="C000037346Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037346Member" use="optional" order="332.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113505Member" xlink:label="C000113505Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113505Member" use="optional" order="350.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037348Member" xlink:label="C000037348Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037348Member" use="optional" order="368.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037349Member" xlink:label="C000037349Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037349Member" use="optional" order="386.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037350Member" xlink:label="C000037350Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037350Member" use="optional" order="404.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106461Member" xlink:label="C000106461Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106461Member" use="optional" order="422.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037352Member" xlink:label="C000037352Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037352Member" use="optional" order="440.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153959Member" xlink:label="C000153959Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153959Member" use="optional" order="458.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037357Member" xlink:label="C000037357Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037357Member" use="optional" order="476.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113506Member" xlink:label="C000113506Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113506Member" use="optional" order="494.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037359Member" xlink:label="C000037359Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037359Member" use="optional" order="512.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037360Member" xlink:label="C000037360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037360Member" use="optional" order="530.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037361Member" xlink:label="C000037361Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037361Member" use="optional" order="548.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106462Member" xlink:label="C000106462Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106462Member" use="optional" order="566.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037363Member" xlink:label="C000037363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037363Member" use="optional" order="584.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153960Member" xlink:label="C000153960Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153960Member" use="optional" order="602.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037368Member" xlink:label="C000037368Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037368Member" use="optional" order="620.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113507Member" xlink:label="C000113507Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113507Member" use="optional" order="638.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037370Member" xlink:label="C000037370Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037370Member" use="optional" order="656.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037371Member" xlink:label="C000037371Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037371Member" use="optional" order="674.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037372Member" xlink:label="C000037372Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037372Member" use="optional" order="692.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106463Member" xlink:label="C000106463Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106463Member" use="optional" order="710.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037374Member" xlink:label="C000037374Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037374Member" use="optional" order="728.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153961Member" xlink:label="C000153961Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153961Member" use="optional" order="746.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037379Member" xlink:label="C000037379Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037379Member" use="optional" order="764.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113508Member" xlink:label="C000113508Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113508Member" use="optional" order="782.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037381Member" xlink:label="C000037381Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037381Member" use="optional" order="800.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037382Member" xlink:label="C000037382Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037382Member" use="optional" order="818.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037383Member" xlink:label="C000037383Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037383Member" use="optional" order="836.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106464Member" xlink:label="C000106464Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106464Member" use="optional" order="854.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037385Member" xlink:label="C000037385Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037385Member" use="optional" order="872.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153962Member" xlink:label="C000153962Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153962Member" use="optional" order="890.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037390Member" xlink:label="C000037390Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037390Member" use="optional" order="908.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113509Member" xlink:label="C000113509Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113509Member" use="optional" order="926.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037392Member" xlink:label="C000037392Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037392Member" use="optional" order="944.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037393Member" xlink:label="C000037393Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037393Member" use="optional" order="962.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037394Member" xlink:label="C000037394Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037394Member" use="optional" order="980.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106465Member" xlink:label="C000106465Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106465Member" use="optional" order="998.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037396Member" xlink:label="C000037396Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037396Member" use="optional" order="1016.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153963Member" xlink:label="C000153963Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153963Member" use="optional" order="1034.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037401Member" xlink:label="C000037401Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037401Member" use="optional" order="1052.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113510Member" xlink:label="C000113510Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113510Member" use="optional" order="1070.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037403Member" xlink:label="C000037403Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037403Member" use="optional" order="1088.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037404Member" xlink:label="C000037404Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037404Member" use="optional" order="1106.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037405Member" xlink:label="C000037405Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037405Member" use="optional" order="1124.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106466Member" xlink:label="C000106466Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106466Member" use="optional" order="1142.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037407Member" xlink:label="C000037407Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037407Member" use="optional" order="1160.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153964Member" xlink:label="C000153964Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153964Member" use="optional" order="1178.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037412Member" xlink:label="C000037412Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037412Member" use="optional" order="1196.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113511Member" xlink:label="C000113511Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113511Member" use="optional" order="1214.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037414Member" xlink:label="C000037414Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037414Member" use="optional" order="1232.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037415Member" xlink:label="C000037415Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037415Member" use="optional" order="1250.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037416Member" xlink:label="C000037416Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037416Member" use="optional" order="1268.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106467Member" xlink:label="C000106467Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106467Member" use="optional" order="1286.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138479Member" xlink:label="C000138479Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138479Member" use="optional" order="1304.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153974Member" xlink:label="C000153974Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153974Member" use="optional" order="1322.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138472Member" xlink:label="C000138472Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138472Member" use="optional" order="1340.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138473Member" xlink:label="C000138473Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138473Member" use="optional" order="1358.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138474Member" xlink:label="C000138474Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138474Member" use="optional" order="1376.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138475Member" xlink:label="C000138475Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138475Member" use="optional" order="1394.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138476Member" xlink:label="C000138476Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138476Member" use="optional" order="1412.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138477Member" xlink:label="C000138477Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138477Member" use="optional" order="1430.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167627Member" xlink:label="C000167627Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167627Member" use="optional" order="1448.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167619Member" xlink:label="C000167619Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167619Member" use="optional" order="1466.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167620Member" xlink:label="C000167620Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167620Member" use="optional" order="1484.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167621Member" xlink:label="C000167621Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167621Member" use="optional" order="1502.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167622Member" xlink:label="C000167622Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167622Member" use="optional" order="1520.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167623Member" xlink:label="C000167623Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167623Member" use="optional" order="1538.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167624Member" xlink:label="C000167624Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167624Member" use="optional" order="1556.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167625Member" xlink:label="C000167625Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167625Member" use="optional" order="1574.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="1594.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="1595.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="1596.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="1597.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="1598.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="1599.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="1600.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="1601.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="1602.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="1603.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="1604.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="1605.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleWWWW">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_WWWWMember" xlink:label="WWWWMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="WWWWMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013649Member" xlink:label="S000013649Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013649Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013652Member" xlink:label="S000013652Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013652Member" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013653Member" xlink:label="S000013653Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013653Member" use="optional" order="135.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013654Member" xlink:label="S000013654Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013654Member" use="optional" order="199.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013655Member" xlink:label="S000013655Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013655Member" use="optional" order="263.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013656Member" xlink:label="S000013656Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013656Member" use="optional" order="327.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013657Member" xlink:label="S000013657Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013657Member" use="optional" order="391.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013658Member" xlink:label="S000013658Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013658Member" use="optional" order="455.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013659Member" xlink:label="S000013659Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013659Member" use="optional" order="519.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044502Member" xlink:label="S000044502Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044502Member" use="optional" order="583.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053254Member" xlink:label="S000053254Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053254Member" use="optional" order="647.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037307Member" xlink:label="C000037307Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037307Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153956Member" xlink:label="C000153956Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153956Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037314Member" xlink:label="C000037314Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037314Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113503Member" xlink:label="C000113503Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113503Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037316Member" xlink:label="C000037316Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037316Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037317Member" xlink:label="C000037317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037317Member" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037308Member" xlink:label="C000037308Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037308Member" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106459Member" xlink:label="C000106459Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106459Member" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037330Member" xlink:label="C000037330Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037330Member" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153957Member" xlink:label="C000153957Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153957Member" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037335Member" xlink:label="C000037335Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037335Member" use="optional" order="88.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113504Member" xlink:label="C000113504Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113504Member" use="optional" order="96.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037337Member" xlink:label="C000037337Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037337Member" use="optional" order="104.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037338Member" xlink:label="C000037338Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037338Member" use="optional" order="112.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037339Member" xlink:label="C000037339Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037339Member" use="optional" order="120.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106460Member" xlink:label="C000106460Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106460Member" use="optional" order="128.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037341Member" xlink:label="C000037341Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037341Member" use="optional" order="136.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153958Member" xlink:label="C000153958Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153958Member" use="optional" order="144.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037346Member" xlink:label="C000037346Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037346Member" use="optional" order="152.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113505Member" xlink:label="C000113505Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113505Member" use="optional" order="160.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037348Member" xlink:label="C000037348Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037348Member" use="optional" order="168.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037349Member" xlink:label="C000037349Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037349Member" use="optional" order="176.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037350Member" xlink:label="C000037350Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037350Member" use="optional" order="184.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106461Member" xlink:label="C000106461Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106461Member" use="optional" order="192.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037352Member" xlink:label="C000037352Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037352Member" use="optional" order="200.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153959Member" xlink:label="C000153959Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153959Member" use="optional" order="208.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037357Member" xlink:label="C000037357Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037357Member" use="optional" order="216.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113506Member" xlink:label="C000113506Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113506Member" use="optional" order="224.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037359Member" xlink:label="C000037359Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037359Member" use="optional" order="232.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037360Member" xlink:label="C000037360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037360Member" use="optional" order="240.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037361Member" xlink:label="C000037361Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037361Member" use="optional" order="248.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106462Member" xlink:label="C000106462Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106462Member" use="optional" order="256.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037363Member" xlink:label="C000037363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037363Member" use="optional" order="264.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153960Member" xlink:label="C000153960Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153960Member" use="optional" order="272.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037368Member" xlink:label="C000037368Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037368Member" use="optional" order="280.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113507Member" xlink:label="C000113507Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113507Member" use="optional" order="288.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037370Member" xlink:label="C000037370Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037370Member" use="optional" order="296.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037371Member" xlink:label="C000037371Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037371Member" use="optional" order="304.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037372Member" xlink:label="C000037372Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037372Member" use="optional" order="312.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106463Member" xlink:label="C000106463Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106463Member" use="optional" order="320.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037374Member" xlink:label="C000037374Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037374Member" use="optional" order="328.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153961Member" xlink:label="C000153961Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153961Member" use="optional" order="336.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037379Member" xlink:label="C000037379Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037379Member" use="optional" order="344.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113508Member" xlink:label="C000113508Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113508Member" use="optional" order="352.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037381Member" xlink:label="C000037381Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037381Member" use="optional" order="360.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037382Member" xlink:label="C000037382Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037382Member" use="optional" order="368.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037383Member" xlink:label="C000037383Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037383Member" use="optional" order="376.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106464Member" xlink:label="C000106464Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106464Member" use="optional" order="384.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037385Member" xlink:label="C000037385Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037385Member" use="optional" order="392.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153962Member" xlink:label="C000153962Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153962Member" use="optional" order="400.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037390Member" xlink:label="C000037390Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037390Member" use="optional" order="408.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113509Member" xlink:label="C000113509Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113509Member" use="optional" order="416.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037392Member" xlink:label="C000037392Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037392Member" use="optional" order="424.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037393Member" xlink:label="C000037393Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037393Member" use="optional" order="432.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037394Member" xlink:label="C000037394Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037394Member" use="optional" order="440.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106465Member" xlink:label="C000106465Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106465Member" use="optional" order="448.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037396Member" xlink:label="C000037396Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037396Member" use="optional" order="456.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153963Member" xlink:label="C000153963Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153963Member" use="optional" order="464.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037401Member" xlink:label="C000037401Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037401Member" use="optional" order="472.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113510Member" xlink:label="C000113510Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113510Member" use="optional" order="480.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037403Member" xlink:label="C000037403Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037403Member" use="optional" order="488.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037404Member" xlink:label="C000037404Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037404Member" use="optional" order="496.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037405Member" xlink:label="C000037405Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037405Member" use="optional" order="504.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106466Member" xlink:label="C000106466Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106466Member" use="optional" order="512.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037407Member" xlink:label="C000037407Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037407Member" use="optional" order="520.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153964Member" xlink:label="C000153964Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153964Member" use="optional" order="528.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037412Member" xlink:label="C000037412Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037412Member" use="optional" order="536.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113511Member" xlink:label="C000113511Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113511Member" use="optional" order="544.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037414Member" xlink:label="C000037414Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037414Member" use="optional" order="552.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037415Member" xlink:label="C000037415Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037415Member" use="optional" order="560.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037416Member" xlink:label="C000037416Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037416Member" use="optional" order="568.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106467Member" xlink:label="C000106467Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106467Member" use="optional" order="576.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138479Member" xlink:label="C000138479Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138479Member" use="optional" order="584.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153974Member" xlink:label="C000153974Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153974Member" use="optional" order="592.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138472Member" xlink:label="C000138472Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138472Member" use="optional" order="600.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138473Member" xlink:label="C000138473Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138473Member" use="optional" order="608.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138474Member" xlink:label="C000138474Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138474Member" use="optional" order="616.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138475Member" xlink:label="C000138475Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138475Member" use="optional" order="624.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138476Member" xlink:label="C000138476Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138476Member" use="optional" order="632.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138477Member" xlink:label="C000138477Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138477Member" use="optional" order="640.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167627Member" xlink:label="C000167627Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167627Member" use="optional" order="648.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167619Member" xlink:label="C000167619Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167619Member" use="optional" order="656.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167620Member" xlink:label="C000167620Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167620Member" use="optional" order="664.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167621Member" xlink:label="C000167621Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167621Member" use="optional" order="672.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167622Member" xlink:label="C000167622Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167622Member" use="optional" order="680.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167623Member" xlink:label="C000167623Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167623Member" use="optional" order="688.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167624Member" xlink:label="C000167624Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167624Member" use="optional" order="696.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167625Member" xlink:label="C000167625Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167625Member" use="optional" order="704.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="713.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="714.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="715.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="716.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="717.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataWWWW">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_WWWWMember" xlink:label="WWWWMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="WWWWMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013649Member" xlink:label="S000013649Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013649Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013652Member" xlink:label="S000013652Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013652Member" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013653Member" xlink:label="S000013653Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013653Member" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013654Member" xlink:label="S000013654Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013654Member" use="optional" order="67.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013655Member" xlink:label="S000013655Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013655Member" use="optional" order="87.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013656Member" xlink:label="S000013656Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013656Member" use="optional" order="107.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013657Member" xlink:label="S000013657Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013657Member" use="optional" order="127.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013658Member" xlink:label="S000013658Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013658Member" use="optional" order="147.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013659Member" xlink:label="S000013659Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013659Member" use="optional" order="167.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044502Member" xlink:label="S000044502Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044502Member" use="optional" order="179.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053254Member" xlink:label="S000053254Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053254Member" use="optional" order="185.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037307Member" xlink:label="C000037307Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037307Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037330Member" xlink:label="C000037330Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037330Member" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037341Member" xlink:label="C000037341Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037341Member" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037352Member" xlink:label="C000037352Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037352Member" use="optional" order="68.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037363Member" xlink:label="C000037363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037363Member" use="optional" order="88.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037374Member" xlink:label="C000037374Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037374Member" use="optional" order="108.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037385Member" xlink:label="C000037385Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037385Member" use="optional" order="128.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037396Member" xlink:label="C000037396Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037396Member" use="optional" order="148.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037407Member" xlink:label="C000037407Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037407Member" use="optional" order="168.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138479Member" xlink:label="C000138479Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138479Member" use="optional" order="180.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167627Member" xlink:label="C000167627Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167627Member" use="optional" order="186.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="189.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="190.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="191.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="192.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="193.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="194.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="195.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="196.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="197.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="198.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="199.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="200.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="201.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="202.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="203.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="204.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="205.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="206.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="207.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="208.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="209.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="210.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="211.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="212.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="213.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="214.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="215.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="216.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="217.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="218.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="219.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="220.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="221.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="222.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataXXXX">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_XXXXMember" xlink:label="XXXXMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="XXXXMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003360Member" xlink:label="S000003360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003360Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141730Member" xlink:label="C000141730Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141730Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141733Member" xlink:label="C000141733Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141733Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141734Member" xlink:label="C000141734Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141734Member" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141735Member" xlink:label="C000141735Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141735Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141736Member" xlink:label="C000141736Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141736Member" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141737Member" xlink:label="C000141737Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141737Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141738Member" xlink:label="C000141738Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141738Member" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141739Member" xlink:label="C000141739Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141739Member" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141731Member" xlink:label="C000141731Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141731Member" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1124XXXXMember" xlink:label="benchmark1124XXXXMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1124XXXXMember" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="87.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="88.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="89.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="90.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="92.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataXXXX">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_XXXXMember" xlink:label="XXXXMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="XXXXMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003360Member" xlink:label="S000003360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003360Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141730Member" xlink:label="C000141730Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141730Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141733Member" xlink:label="C000141733Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141733Member" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141734Member" xlink:label="C000141734Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141734Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141735Member" xlink:label="C000141735Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141735Member" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141736Member" xlink:label="C000141736Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141736Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141737Member" xlink:label="C000141737Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141737Member" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141738Member" xlink:label="C000141738Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141738Member" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141739Member" xlink:label="C000141739Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141739Member" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141731Member" xlink:label="C000141731Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141731Member" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="63.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="65.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="66.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="67.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="68.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="69.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="70.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="71.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataXXXX">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_XXXXMember" xlink:label="XXXXMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="XXXXMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003360Member" xlink:label="S000003360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003360Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141730Member" xlink:label="C000141730Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141730Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141733Member" xlink:label="C000141733Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141733Member" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141734Member" xlink:label="C000141734Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141734Member" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141735Member" xlink:label="C000141735Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141735Member" use="optional" order="62.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141736Member" xlink:label="C000141736Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141736Member" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141737Member" xlink:label="C000141737Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141737Member" use="optional" order="98.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141738Member" xlink:label="C000141738Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141738Member" use="optional" order="116.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141739Member" xlink:label="C000141739Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141739Member" use="optional" order="134.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141731Member" xlink:label="C000141731Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141731Member" use="optional" order="152.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="172.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="173.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="174.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="175.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="176.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="177.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="178.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="179.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="180.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="181.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="182.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="183.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleNoRedemptionXXXX">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_XXXXMember" xlink:label="XXXXMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="XXXXMember" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003360Member" xlink:label="S000003360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003360Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141733Member" xlink:label="C000141733Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141733Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionAbstract" xlink:label="ExpenseExampleNoRedemptionAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ProspectusTable" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear01" xlink:label="ExpenseExampleNoRedemptionYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear01" use="optional" priority="1" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear03" xlink:label="ExpenseExampleNoRedemptionYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear03" use="optional" priority="1" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear05" xlink:label="ExpenseExampleNoRedemptionYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear05" use="optional" priority="1" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear10" xlink:label="ExpenseExampleNoRedemptionYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear10" use="optional" priority="1" order="20.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleXXXX">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_XXXXMember" xlink:label="XXXXMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="XXXXMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003360Member" xlink:label="S000003360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003360Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141730Member" xlink:label="C000141730Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141730Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141733Member" xlink:label="C000141733Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141733Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141734Member" xlink:label="C000141734Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141734Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141735Member" xlink:label="C000141735Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141735Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141736Member" xlink:label="C000141736Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141736Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141737Member" xlink:label="C000141737Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141737Member" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141738Member" xlink:label="C000141738Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141738Member" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141739Member" xlink:label="C000141739Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141739Member" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141731Member" xlink:label="C000141731Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141731Member" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="81.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="82.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="83.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="84.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="85.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataXXXX">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_XXXXMember" xlink:label="XXXXMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="XXXXMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003360Member" xlink:label="S000003360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003360Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141730Member" xlink:label="C000141730Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141730Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="61.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="62.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataYYYY">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_YYYYMember" xlink:label="YYYYMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="YYYYMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003363Member" xlink:label="S000003363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003363Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000199365Member" xlink:label="C000199365Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000199365Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000199366Member" xlink:label="C000199366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000199366Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000199363Member" xlink:label="C000199363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000199363Member" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000199364Member" xlink:label="C000199364Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000199364Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1123YYYYMember" xlink:label="benchmark1123YYYYMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1123YYYYMember" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="62.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataYYYY">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_YYYYMember" xlink:label="YYYYMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="YYYYMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003363Member" xlink:label="S000003363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003363Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000199365Member" xlink:label="C000199365Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000199365Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000199366Member" xlink:label="C000199366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000199366Member" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000199363Member" xlink:label="C000199363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000199363Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000199364Member" xlink:label="C000199364Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000199364Member" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="41.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataYYYY">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_YYYYMember" xlink:label="YYYYMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="YYYYMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003363Member" xlink:label="S000003363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003363Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000199365Member" xlink:label="C000199365Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000199365Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000199366Member" xlink:label="C000199366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000199366Member" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000199363Member" xlink:label="C000199363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000199363Member" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000199364Member" xlink:label="C000199364Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000199364Member" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="66.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="67.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="68.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="69.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="70.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="73.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="74.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="75.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="76.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="77.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleNoRedemptionYYYY">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_YYYYMember" xlink:label="YYYYMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="YYYYMember" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003363Member" xlink:label="S000003363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003363Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000199366Member" xlink:label="C000199366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000199366Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionAbstract" xlink:label="ExpenseExampleNoRedemptionAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ProspectusTable" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear01" xlink:label="ExpenseExampleNoRedemptionYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear01" use="optional" priority="1" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear03" xlink:label="ExpenseExampleNoRedemptionYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear03" use="optional" priority="1" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear05" xlink:label="ExpenseExampleNoRedemptionYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear05" use="optional" priority="1" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear10" xlink:label="ExpenseExampleNoRedemptionYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear10" use="optional" priority="1" order="20.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleYYYY">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_YYYYMember" xlink:label="YYYYMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="YYYYMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003363Member" xlink:label="S000003363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003363Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000199365Member" xlink:label="C000199365Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000199365Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000199366Member" xlink:label="C000199366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000199366Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000199363Member" xlink:label="C000199363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000199363Member" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000199364Member" xlink:label="C000199364Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000199364Member" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="43.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataYYYY">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_YYYYMember" xlink:label="YYYYMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="YYYYMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003363Member" xlink:label="S000003363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003363Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000199365Member" xlink:label="C000199365Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000199365Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="61.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="62.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataZZZZ">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_ZZZZMember" xlink:label="ZZZZMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="ZZZZMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009819Member" xlink:label="S000009819Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009819Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135638Member" xlink:label="C000135638Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135638Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135639Member" xlink:label="C000135639Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135639Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135640Member" xlink:label="C000135640Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135640Member" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010926ZZZZMember" xlink:label="benchmark010926ZZZZMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010926ZZZZMember" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="56.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataZZZZ">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_ZZZZMember" xlink:label="ZZZZMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="ZZZZMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009819Member" xlink:label="S000009819Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009819Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135638Member" xlink:label="C000135638Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135638Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135639Member" xlink:label="C000135639Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135639Member" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135640Member" xlink:label="C000135640Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135640Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="35.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataZZZZ">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_ZZZZMember" xlink:label="ZZZZMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="ZZZZMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009819Member" xlink:label="S000009819Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009819Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135638Member" xlink:label="C000135638Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135638Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135639Member" xlink:label="C000135639Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135639Member" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135640Member" xlink:label="C000135640Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135640Member" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="61.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="62.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="63.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleZZZZ">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_ZZZZMember" xlink:label="ZZZZMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="ZZZZMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009819Member" xlink:label="S000009819Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009819Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135638Member" xlink:label="C000135638Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135638Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135639Member" xlink:label="C000135639Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135639Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135640Member" xlink:label="C000135640Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135640Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="37.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataZZZZ">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_ZZZZMember" xlink:label="ZZZZMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="ZZZZMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009819Member" xlink:label="S000009819Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009819Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135638Member" xlink:label="C000135638Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135638Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="60.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataAAAB">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_AAABMember" xlink:label="AAABMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="AAABMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003366Member" xlink:label="S000003366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003366Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153953Member" xlink:label="C000153953Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153953Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153954Member" xlink:label="C000153954Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153954Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1111AAABMember" xlink:label="benchmark1111AAABMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1111AAABMember" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="50.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataAAAB">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_AAABMember" xlink:label="AAABMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="AAABMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003366Member" xlink:label="S000003366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003366Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153953Member" xlink:label="C000153953Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153953Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153954Member" xlink:label="C000153954Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153954Member" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="29.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataAAAB">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_AAABMember" xlink:label="AAABMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="AAABMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003366Member" xlink:label="S000003366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003366Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153953Member" xlink:label="C000153953Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153953Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153954Member" xlink:label="C000153954Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153954Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="45.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleNoRedemptionAAAB">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_AAABMember" xlink:label="AAABMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="AAABMember" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003366Member" xlink:label="S000003366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003366Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153954Member" xlink:label="C000153954Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153954Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionAbstract" xlink:label="ExpenseExampleNoRedemptionAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ProspectusTable" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear01" xlink:label="ExpenseExampleNoRedemptionYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear01" use="optional" priority="1" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear03" xlink:label="ExpenseExampleNoRedemptionYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear03" use="optional" priority="1" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear05" xlink:label="ExpenseExampleNoRedemptionYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear05" use="optional" priority="1" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear10" xlink:label="ExpenseExampleNoRedemptionYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear10" use="optional" priority="1" order="20.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleAAAB">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_AAABMember" xlink:label="AAABMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="AAABMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003366Member" xlink:label="S000003366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003366Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153953Member" xlink:label="C000153953Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153953Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153954Member" xlink:label="C000153954Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153954Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="29.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataAAAB">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_AAABMember" xlink:label="AAABMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="AAABMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003366Member" xlink:label="S000003366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003366Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153953Member" xlink:label="C000153953Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153953Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="61.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="62.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataBBBC">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_BBBCMember" xlink:label="BBBCMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="BBBCMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003366Member" xlink:label="S000003366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003366Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153955Member" xlink:label="C000153955Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153955Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1111BBBCMember" xlink:label="benchmark1111BBBCMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1111BBBCMember" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="44.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataBBBC">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_BBBCMember" xlink:label="BBBCMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="BBBCMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003366Member" xlink:label="S000003366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003366Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153955Member" xlink:label="C000153955Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153955Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="21.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataBBBC">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_BBBCMember" xlink:label="BBBCMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="BBBCMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003366Member" xlink:label="S000003366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003366Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153955Member" xlink:label="C000153955Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153955Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="31.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleBBBC">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_BBBCMember" xlink:label="BBBCMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="BBBCMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003366Member" xlink:label="S000003366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003366Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153955Member" xlink:label="C000153955Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153955Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="21.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataBBBC">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_BBBCMember" xlink:label="BBBCMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="BBBCMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003366Member" xlink:label="S000003366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003366Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153955Member" xlink:label="C000153955Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153955Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="61.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="62.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataCCCD">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_CCCDMember" xlink:label="CCCDMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="CCCDMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009820Member" xlink:label="S000009820Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009820Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000085587Member" xlink:label="C000085587Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000085587Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000085588Member" xlink:label="C000085588Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000085588Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000085589Member" xlink:label="C000085589Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000085589Member" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113502Member" xlink:label="C000113502Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113502Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106458Member" xlink:label="C000106458Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106458Member" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1111CCCDMember" xlink:label="benchmark1111CCCDMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1111CCCDMember" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="63.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="65.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="66.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="68.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataCCCD">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_CCCDMember" xlink:label="CCCDMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="CCCDMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009820Member" xlink:label="S000009820Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009820Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000085587Member" xlink:label="C000085587Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000085587Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000085588Member" xlink:label="C000085588Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000085588Member" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000085589Member" xlink:label="C000085589Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000085589Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113502Member" xlink:label="C000113502Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113502Member" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106458Member" xlink:label="C000106458Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106458Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="47.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataCCCD">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_CCCDMember" xlink:label="CCCDMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="CCCDMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009820Member" xlink:label="S000009820Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009820Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000085587Member" xlink:label="C000085587Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000085587Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000085588Member" xlink:label="C000085588Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000085588Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000085589Member" xlink:label="C000085589Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000085589Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113502Member" xlink:label="C000113502Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113502Member" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106458Member" xlink:label="C000106458Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106458Member" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="90.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="91.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="92.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="93.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="94.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="95.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="96.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="97.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="98.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="99.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="100.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="101.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleNoRedemptionCCCD">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_CCCDMember" xlink:label="CCCDMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="CCCDMember" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009820Member" xlink:label="S000009820Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009820Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000085588Member" xlink:label="C000085588Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000085588Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionAbstract" xlink:label="ExpenseExampleNoRedemptionAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ProspectusTable" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear01" xlink:label="ExpenseExampleNoRedemptionYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear01" use="optional" priority="1" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear03" xlink:label="ExpenseExampleNoRedemptionYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear03" use="optional" priority="1" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear05" xlink:label="ExpenseExampleNoRedemptionYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear05" use="optional" priority="1" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear10" xlink:label="ExpenseExampleNoRedemptionYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear10" use="optional" priority="1" order="20.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleCCCD">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_CCCDMember" xlink:label="CCCDMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="CCCDMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009820Member" xlink:label="S000009820Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009820Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000085587Member" xlink:label="C000085587Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000085587Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000085588Member" xlink:label="C000085588Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000085588Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000085589Member" xlink:label="C000085589Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000085589Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113502Member" xlink:label="C000113502Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113502Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106458Member" xlink:label="C000106458Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106458Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="53.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataCCCD">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_CCCDMember" xlink:label="CCCDMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="CCCDMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009820Member" xlink:label="S000009820Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009820Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000085587Member" xlink:label="C000085587Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000085587Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="61.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="62.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataDDDE">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_DDDEMember" xlink:label="DDDEMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="DDDEMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003401Member" xlink:label="S000003401Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003401Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000111336Member" xlink:label="C000111336Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000111336Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000145671Member" xlink:label="C000145671Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000145671Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000111337Member" xlink:label="C000111337Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000111337Member" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000173130Member" xlink:label="C000173130Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000173130Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1121DDDEMember" xlink:label="benchmark1121DDDEMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1121DDDEMember" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="62.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ShareholderFeesDataDDDE">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_DDDEMember" xlink:label="DDDEMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="DDDEMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003401Member" xlink:label="S000003401Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003401Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000111336Member" xlink:label="C000111336Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000111336Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000145671Member" xlink:label="C000145671Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000145671Member" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000111337Member" xlink:label="C000111337Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000111337Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000173130Member" xlink:label="C000173130Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000173130Member" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesAbstract" xlink:label="ShareholderFeesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ShareholderFeesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesColumnName" xlink:label="ShareholderFeesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeesColumnName" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOfferingPrice" xlink:label="MaximumCumulativeSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOfferingPrice" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" xlink:label="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeImposedOnPurchasesOverOfferingPrice" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOfferingPrice" xlink:label="MaximumDeferredSalesChargeOverOfferingPrice"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOfferingPrice" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" xlink:label="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="MaximumSalesChargeOnReinvestedDividendsAndDistributionsOverOther" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFeeOverRedemption" xlink:label="RedemptionFeeOverRedemption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFeeOverRedemption" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RedemptionFee" xlink:label="RedemptionFee"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="RedemptionFee" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareholderFeesAbstract" xlink:to="ShareholderFeeOther" use="optional" order="41.5"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataDDDE">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_DDDEMember" xlink:label="DDDEMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="DDDEMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003401Member" xlink:label="S000003401Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003401Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000111336Member" xlink:label="C000111336Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000111336Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000145671Member" xlink:label="C000145671Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000145671Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000111337Member" xlink:label="C000111337Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000111337Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000173130Member" xlink:label="C000173130Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000173130Member" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="61.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="62.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="63.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="65.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="66.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="67.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="68.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="69.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleNoRedemptionDDDE">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_DDDEMember" xlink:label="DDDEMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="DDDEMember" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003401Member" xlink:label="S000003401Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003401Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000145671Member" xlink:label="C000145671Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000145671Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionAbstract" xlink:label="ExpenseExampleNoRedemptionAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ProspectusTable" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear01" xlink:label="ExpenseExampleNoRedemptionYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear01" use="optional" priority="1" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear03" xlink:label="ExpenseExampleNoRedemptionYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear03" use="optional" priority="1" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear05" xlink:label="ExpenseExampleNoRedemptionYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear05" use="optional" priority="1" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear10" xlink:label="ExpenseExampleNoRedemptionYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleNoRedemptionAbstract" xlink:to="ExpenseExampleNoRedemptionYear10" use="optional" priority="1" order="20.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleDDDE">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_DDDEMember" xlink:label="DDDEMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="DDDEMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003401Member" xlink:label="S000003401Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003401Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000111336Member" xlink:label="C000111336Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000111336Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000145671Member" xlink:label="C000145671Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000145671Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000111337Member" xlink:label="C000111337Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000111337Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000173130Member" xlink:label="C000173130Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000173130Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="45.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataDDDE">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_DDDEMember" xlink:label="DDDEMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="DDDEMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003401Member" xlink:label="S000003401Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003401Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000111336Member" xlink:label="C000111336Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000111336Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="61.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="62.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataEEEF">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_EEEFMember" xlink:label="EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="EEEFMember" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000034047Member" xlink:label="S000034047Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000034047Member" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003401Member" xlink:label="S000003401Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003401Member" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000040959Member" xlink:label="S000040959Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000040959Member" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003366Member" xlink:label="S000003366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003366Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000037602Member" xlink:label="S000037602Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000037602Member" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009779Member" xlink:label="S000009779Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009779Member" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000027304Member" xlink:label="S000027304Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000027304Member" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000017260Member" xlink:label="S000017260Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000017260Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000020234Member" xlink:label="S000020234Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000020234Member" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003363Member" xlink:label="S000003363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003363Member" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003311Member" xlink:label="S000003311Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003311Member" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003312Member" xlink:label="S000003312Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003312Member" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003313Member" xlink:label="S000003313Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003313Member" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003317Member" xlink:label="S000003317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003317Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003319Member" xlink:label="S000003319Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003319Member" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003320Member" xlink:label="S000003320Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003320Member" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003322Member" xlink:label="S000003322Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003322Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003324Member" xlink:label="S000003324Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003324Member" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003344Member" xlink:label="S000003344Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003344Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003360Member" xlink:label="S000003360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003360Member" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003356Member" xlink:label="S000003356Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003356Member" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003357Member" xlink:label="S000003357Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003357Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003364Member" xlink:label="S000003364Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003364Member" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003400Member" xlink:label="S000003400Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003400Member" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000039618Member" xlink:label="S000039618Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000039618Member" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000030799Member" xlink:label="S000030799Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000030799Member" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000034046Member" xlink:label="S000034046Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000034046Member" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000029558Member" xlink:label="S000029558Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000029558Member" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000055170Member" xlink:label="S000055170Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000055170Member" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000024677Member" xlink:label="S000024677Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000024677Member" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009815Member" xlink:label="S000009815Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009815Member" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000024676Member" xlink:label="S000024676Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000024676Member" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009817Member" xlink:label="S000009817Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009817Member" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009819Member" xlink:label="S000009819Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009819Member" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000036500Member" xlink:label="S000036500Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000036500Member" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009820Member" xlink:label="S000009820Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009820Member" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003394Member" xlink:label="S000003394Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003394Member" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000055171Member" xlink:label="S000055171Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000055171Member" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000104937Member" xlink:label="C000104937Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000104937Member" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009376Member" xlink:label="C000009376Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009376Member" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000127065Member" xlink:label="C000127065Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000127065Member" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009270Member" xlink:label="C000009270Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009270Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000116036Member" xlink:label="C000116036Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000116036Member" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000026876Member" xlink:label="C000026876Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000026876Member" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000082348Member" xlink:label="C000082348Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000082348Member" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000047776Member" xlink:label="C000047776Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000047776Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056652Member" xlink:label="C000056652Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056652Member" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009243Member" xlink:label="C000009243Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009243Member" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008867Member" xlink:label="C000008867Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008867Member" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008876Member" xlink:label="C000008876Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008876Member" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008885Member" xlink:label="C000008885Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008885Member" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008921Member" xlink:label="C000008921Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008921Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008939Member" xlink:label="C000008939Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008939Member" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008948Member" xlink:label="C000008948Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008948Member" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008966Member" xlink:label="C000008966Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008966Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008984Member" xlink:label="C000008984Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008984Member" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009122Member" xlink:label="C000009122Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009122Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009220Member" xlink:label="C000009220Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009220Member" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009188Member" xlink:label="C000009188Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009188Member" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009197Member" xlink:label="C000009197Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009197Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009252Member" xlink:label="C000009252Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009252Member" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009366Member" xlink:label="C000009366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009366Member" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000122208Member" xlink:label="C000122208Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000122208Member" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000095456Member" xlink:label="C000095456Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000095456Member" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000104936Member" xlink:label="C000104936Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000104936Member" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000090706Member" xlink:label="C000090706Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000090706Member" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000173477Member" xlink:label="C000173477Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000173477Member" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000073278Member" xlink:label="C000073278Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000073278Member" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000027161Member" xlink:label="C000027161Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000027161Member" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000073276Member" xlink:label="C000073276Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000073276Member" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000027179Member" xlink:label="C000027179Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000027179Member" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000027197Member" xlink:label="C000027197Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000027197Member" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000111805Member" xlink:label="C000111805Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000111805Member" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000027206Member" xlink:label="C000027206Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000027206Member" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009325Member" xlink:label="C000009325Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009325Member" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000173478Member" xlink:label="C000173478Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000173478Member" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122903EEEFMember" xlink:label="benchmark2015122903EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122903EEEFMember" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122904EEEFMember" xlink:label="benchmark2015122904EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122904EEEFMember" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122905EEEFMember" xlink:label="benchmark2015122905EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122905EEEFMember" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1084EEEFMember" xlink:label="benchmark1084EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1084EEEFMember" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1121EEEFMember" xlink:label="benchmark1121EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1121EEEFMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1104EEEFMember" xlink:label="benchmark1104EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1104EEEFMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1111EEEFMember" xlink:label="benchmark1111EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1111EEEFMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010902EEEFMember" xlink:label="benchmark010902EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010902EEEFMember" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1119EEEFMember" xlink:label="benchmark1119EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1119EEEFMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1122EEEFMember" xlink:label="benchmark1122EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1122EEEFMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010923EEEFMember" xlink:label="benchmark010923EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010923EEEFMember" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010909EEEFMember" xlink:label="benchmark010909EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010909EEEFMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1083EEEFMember" xlink:label="benchmark1083EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1083EEEFMember" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_bench2014042302EEEFMember" xlink:label="bench2014042302EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="bench2014042302EEEFMember" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1116EEEFMember" xlink:label="benchmark1116EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1116EEEFMember" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010922EEEFMember" xlink:label="benchmark010922EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010922EEEFMember" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1003EEEFMember" xlink:label="benchmark1003EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1003EEEFMember" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1038EEEFMember" xlink:label="benchmark1038EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1038EEEFMember" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122917EEEFMember" xlink:label="benchmark2015122917EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122917EEEFMember" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1115EEEFMember" xlink:label="benchmark1115EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1115EEEFMember" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1049EEEFMember" xlink:label="benchmark1049EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1049EEEFMember" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122901EEEFMember" xlink:label="benchmark2015122901EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122901EEEFMember" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010903EEEFMember" xlink:label="benchmark010903EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010903EEEFMember" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_bench2014042303EEEFMember" xlink:label="bench2014042303EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="bench2014042303EEEFMember" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1118EEEFMember" xlink:label="benchmark1118EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1118EEEFMember" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010916EEEFMember" xlink:label="benchmark010916EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010916EEEFMember" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1126EEEFMember" xlink:label="benchmark1126EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1126EEEFMember" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1124EEEFMember" xlink:label="benchmark1124EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1124EEEFMember" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010920EEEFMember" xlink:label="benchmark010920EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010920EEEFMember" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1089EEEFMember" xlink:label="benchmark1089EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1089EEEFMember" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_bench2014042309EEEFMember" xlink:label="bench2014042309EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="bench2014042309EEEFMember" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_bench2014042311EEEFMember" xlink:label="bench2014042311EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="bench2014042311EEEFMember" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010925EEEFMember" xlink:label="benchmark010925EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010925EEEFMember" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1123EEEFMember" xlink:label="benchmark1123EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1123EEEFMember" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010926EEEFMember" xlink:label="benchmark010926EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010926EEEFMember" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122918EEEFMember" xlink:label="benchmark2015122918EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122918EEEFMember" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1108EEEFMember" xlink:label="benchmark1108EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1108EEEFMember" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1125EEEFMember" xlink:label="benchmark1125EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1125EEEFMember" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="6.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataEEEF">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_EEEFMember" xlink:label="EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="EEEFMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000034047Member" xlink:label="S000034047Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000034047Member" use="optional" order="255.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003401Member" xlink:label="S000003401Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003401Member" use="optional" order="377.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000040959Member" xlink:label="S000040959Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000040959Member" use="optional" order="119.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003366Member" xlink:label="S000003366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003366Member" use="optional" order="335.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000037602Member" xlink:label="S000037602Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000037602Member" use="optional" order="99.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009779Member" xlink:label="S000009779Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009779Member" use="optional" order="171.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000027304Member" xlink:label="S000027304Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000027304Member" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000017260Member" xlink:label="S000017260Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000017260Member" use="optional" order="67.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000020234Member" xlink:label="S000020234Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000020234Member" use="optional" order="87.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003363Member" xlink:label="S000003363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003363Member" use="optional" order="311.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003311Member" xlink:label="S000003311Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003311Member" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003312Member" xlink:label="S000003312Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003312Member" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003313Member" xlink:label="S000003313Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003313Member" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003317Member" xlink:label="S000003317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003317Member" use="optional" order="77.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003319Member" xlink:label="S000003319Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003319Member" use="optional" order="109.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003320Member" xlink:label="S000003320Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003320Member" use="optional" order="139.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003322Member" xlink:label="S000003322Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003322Member" use="optional" order="161.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003324Member" xlink:label="S000003324Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003324Member" use="optional" order="193.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003344Member" xlink:label="S000003344Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003344Member" use="optional" order="203.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003360Member" xlink:label="S000003360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003360Member" use="optional" order="223.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003356Member" xlink:label="S000003356Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003356Member" use="optional" order="235.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003357Member" xlink:label="S000003357Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003357Member" use="optional" order="245.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003364Member" xlink:label="S000003364Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003364Member" use="optional" order="323.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003400Member" xlink:label="S000003400Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003400Member" use="optional" order="387.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000039618Member" xlink:label="S000039618Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000039618Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000030799Member" xlink:label="S000030799Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000030799Member" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000034046Member" xlink:label="S000034046Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000034046Member" use="optional" order="129.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000029558Member" xlink:label="S000029558Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000029558Member" use="optional" order="149.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000055170Member" xlink:label="S000055170Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000055170Member" use="optional" order="181.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000024677Member" xlink:label="S000024677Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000024677Member" use="optional" order="213.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009815Member" xlink:label="S000009815Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009815Member" use="optional" order="267.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000024676Member" xlink:label="S000024676Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000024676Member" use="optional" order="279.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009817Member" xlink:label="S000009817Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009817Member" use="optional" order="289.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009819Member" xlink:label="S000009819Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009819Member" use="optional" order="299.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000036500Member" xlink:label="S000036500Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000036500Member" use="optional" order="345.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009820Member" xlink:label="S000009820Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009820Member" use="optional" order="357.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003394Member" xlink:label="S000003394Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003394Member" use="optional" order="367.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000055171Member" xlink:label="S000055171Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000055171Member" use="optional" order="397.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000104937Member" xlink:label="C000104937Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000104937Member" use="optional" order="256.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009376Member" xlink:label="C000009376Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009376Member" use="optional" order="378.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000127065Member" xlink:label="C000127065Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000127065Member" use="optional" order="120.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009270Member" xlink:label="C000009270Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009270Member" use="optional" order="336.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000116036Member" xlink:label="C000116036Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000116036Member" use="optional" order="100.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000026876Member" xlink:label="C000026876Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000026876Member" use="optional" order="172.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000082348Member" xlink:label="C000082348Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000082348Member" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000047776Member" xlink:label="C000047776Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000047776Member" use="optional" order="68.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056652Member" xlink:label="C000056652Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056652Member" use="optional" order="88.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009243Member" xlink:label="C000009243Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009243Member" use="optional" order="312.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008867Member" xlink:label="C000008867Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008867Member" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008876Member" xlink:label="C000008876Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008876Member" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008885Member" xlink:label="C000008885Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008885Member" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008921Member" xlink:label="C000008921Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008921Member" use="optional" order="78.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008939Member" xlink:label="C000008939Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008939Member" use="optional" order="110.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008948Member" xlink:label="C000008948Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008948Member" use="optional" order="140.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008966Member" xlink:label="C000008966Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008966Member" use="optional" order="162.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008984Member" xlink:label="C000008984Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008984Member" use="optional" order="194.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009122Member" xlink:label="C000009122Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009122Member" use="optional" order="204.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009220Member" xlink:label="C000009220Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009220Member" use="optional" order="224.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009188Member" xlink:label="C000009188Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009188Member" use="optional" order="236.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009197Member" xlink:label="C000009197Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009197Member" use="optional" order="246.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009252Member" xlink:label="C000009252Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009252Member" use="optional" order="324.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009366Member" xlink:label="C000009366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009366Member" use="optional" order="388.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000122208Member" xlink:label="C000122208Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000122208Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000095456Member" xlink:label="C000095456Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000095456Member" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000104936Member" xlink:label="C000104936Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000104936Member" use="optional" order="130.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000090706Member" xlink:label="C000090706Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000090706Member" use="optional" order="150.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000173477Member" xlink:label="C000173477Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000173477Member" use="optional" order="182.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000073278Member" xlink:label="C000073278Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000073278Member" use="optional" order="214.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000027161Member" xlink:label="C000027161Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000027161Member" use="optional" order="268.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000073276Member" xlink:label="C000073276Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000073276Member" use="optional" order="280.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000027179Member" xlink:label="C000027179Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000027179Member" use="optional" order="290.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000027197Member" xlink:label="C000027197Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000027197Member" use="optional" order="300.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000111805Member" xlink:label="C000111805Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000111805Member" use="optional" order="346.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000027206Member" xlink:label="C000027206Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000027206Member" use="optional" order="358.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009325Member" xlink:label="C000009325Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009325Member" use="optional" order="368.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000173478Member" xlink:label="C000173478Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000173478Member" use="optional" order="398.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="410.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="411.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="412.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="413.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="414.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="415.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="416.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="417.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="418.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="419.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="420.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="421.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleEEEF">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_EEEFMember" xlink:label="EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="EEEFMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000034047Member" xlink:label="S000034047Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000034047Member" use="optional" order="199.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003401Member" xlink:label="S000003401Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003401Member" use="optional" order="287.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000040959Member" xlink:label="S000040959Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000040959Member" use="optional" order="95.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003366Member" xlink:label="S000003366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003366Member" use="optional" order="255.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000037602Member" xlink:label="S000037602Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000037602Member" use="optional" order="79.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009779Member" xlink:label="S000009779Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009779Member" use="optional" order="135.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000027304Member" xlink:label="S000027304Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000027304Member" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000017260Member" xlink:label="S000017260Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000017260Member" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000020234Member" xlink:label="S000020234Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000020234Member" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003363Member" xlink:label="S000003363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003363Member" use="optional" order="239.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003311Member" xlink:label="S000003311Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003311Member" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003312Member" xlink:label="S000003312Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003312Member" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003313Member" xlink:label="S000003313Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003313Member" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003317Member" xlink:label="S000003317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003317Member" use="optional" order="63.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003319Member" xlink:label="S000003319Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003319Member" use="optional" order="87.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003320Member" xlink:label="S000003320Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003320Member" use="optional" order="111.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003322Member" xlink:label="S000003322Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003322Member" use="optional" order="127.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003324Member" xlink:label="S000003324Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003324Member" use="optional" order="151.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003344Member" xlink:label="S000003344Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003344Member" use="optional" order="159.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003360Member" xlink:label="S000003360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003360Member" use="optional" order="175.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003356Member" xlink:label="S000003356Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003356Member" use="optional" order="183.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003357Member" xlink:label="S000003357Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003357Member" use="optional" order="191.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003364Member" xlink:label="S000003364Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003364Member" use="optional" order="247.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003400Member" xlink:label="S000003400Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003400Member" use="optional" order="295.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000039618Member" xlink:label="S000039618Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000039618Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000030799Member" xlink:label="S000030799Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000030799Member" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000034046Member" xlink:label="S000034046Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000034046Member" use="optional" order="103.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000029558Member" xlink:label="S000029558Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000029558Member" use="optional" order="119.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000055170Member" xlink:label="S000055170Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000055170Member" use="optional" order="143.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000024677Member" xlink:label="S000024677Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000024677Member" use="optional" order="167.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009815Member" xlink:label="S000009815Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009815Member" use="optional" order="207.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000024676Member" xlink:label="S000024676Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000024676Member" use="optional" order="215.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009817Member" xlink:label="S000009817Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009817Member" use="optional" order="223.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009819Member" xlink:label="S000009819Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009819Member" use="optional" order="231.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000036500Member" xlink:label="S000036500Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000036500Member" use="optional" order="263.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009820Member" xlink:label="S000009820Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009820Member" use="optional" order="271.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003394Member" xlink:label="S000003394Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003394Member" use="optional" order="279.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000055171Member" xlink:label="S000055171Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000055171Member" use="optional" order="303.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000104937Member" xlink:label="C000104937Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000104937Member" use="optional" order="200.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009376Member" xlink:label="C000009376Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009376Member" use="optional" order="288.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000127065Member" xlink:label="C000127065Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000127065Member" use="optional" order="96.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009270Member" xlink:label="C000009270Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009270Member" use="optional" order="256.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000116036Member" xlink:label="C000116036Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000116036Member" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000026876Member" xlink:label="C000026876Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000026876Member" use="optional" order="136.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000082348Member" xlink:label="C000082348Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000082348Member" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000047776Member" xlink:label="C000047776Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000047776Member" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056652Member" xlink:label="C000056652Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056652Member" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009243Member" xlink:label="C000009243Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009243Member" use="optional" order="240.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008867Member" xlink:label="C000008867Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008867Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008876Member" xlink:label="C000008876Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008876Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008885Member" xlink:label="C000008885Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008885Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008921Member" xlink:label="C000008921Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008921Member" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008939Member" xlink:label="C000008939Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008939Member" use="optional" order="88.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008948Member" xlink:label="C000008948Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008948Member" use="optional" order="112.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008966Member" xlink:label="C000008966Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008966Member" use="optional" order="128.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008984Member" xlink:label="C000008984Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008984Member" use="optional" order="152.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009122Member" xlink:label="C000009122Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009122Member" use="optional" order="160.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009220Member" xlink:label="C000009220Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009220Member" use="optional" order="176.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009188Member" xlink:label="C000009188Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009188Member" use="optional" order="184.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009197Member" xlink:label="C000009197Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009197Member" use="optional" order="192.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009252Member" xlink:label="C000009252Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009252Member" use="optional" order="248.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009366Member" xlink:label="C000009366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009366Member" use="optional" order="296.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000122208Member" xlink:label="C000122208Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000122208Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000095456Member" xlink:label="C000095456Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000095456Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000104936Member" xlink:label="C000104936Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000104936Member" use="optional" order="104.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000090706Member" xlink:label="C000090706Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000090706Member" use="optional" order="120.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000173477Member" xlink:label="C000173477Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000173477Member" use="optional" order="144.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000073278Member" xlink:label="C000073278Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000073278Member" use="optional" order="168.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000027161Member" xlink:label="C000027161Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000027161Member" use="optional" order="208.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000073276Member" xlink:label="C000073276Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000073276Member" use="optional" order="216.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000027179Member" xlink:label="C000027179Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000027179Member" use="optional" order="224.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000027197Member" xlink:label="C000027197Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000027197Member" use="optional" order="232.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000111805Member" xlink:label="C000111805Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000111805Member" use="optional" order="264.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000027206Member" xlink:label="C000027206Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000027206Member" use="optional" order="272.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009325Member" xlink:label="C000009325Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009325Member" use="optional" order="280.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000173478Member" xlink:label="C000173478Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000173478Member" use="optional" order="304.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="313.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="314.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="315.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="316.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="317.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataEEEF">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_EEEFMember" xlink:label="EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="EEEFMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000034047Member" xlink:label="S000034047Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000034047Member" use="optional" order="407.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003401Member" xlink:label="S000003401Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003401Member" use="optional" order="591.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000040959Member" xlink:label="S000040959Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000040959Member" use="optional" order="193.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003366Member" xlink:label="S000003366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003366Member" use="optional" order="521.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000037602Member" xlink:label="S000037602Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000037602Member" use="optional" order="163.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009779Member" xlink:label="S000009779Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009779Member" use="optional" order="267.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000027304Member" xlink:label="S000027304Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000027304Member" use="optional" order="87.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000017260Member" xlink:label="S000017260Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000017260Member" use="optional" order="103.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000020234Member" xlink:label="S000020234Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000020234Member" use="optional" order="143.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003363Member" xlink:label="S000003363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003363Member" use="optional" order="481.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003311Member" xlink:label="S000003311Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003311Member" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003312Member" xlink:label="S000003312Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003312Member" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003313Member" xlink:label="S000003313Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003313Member" use="optional" order="67.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003317Member" xlink:label="S000003317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003317Member" use="optional" order="123.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003319Member" xlink:label="S000003319Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003319Member" use="optional" order="173.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003320Member" xlink:label="S000003320Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003320Member" use="optional" order="213.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003322Member" xlink:label="S000003322Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003322Member" use="optional" order="247.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003324Member" xlink:label="S000003324Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003324Member" use="optional" order="289.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003344Member" xlink:label="S000003344Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003344Member" use="optional" order="309.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003360Member" xlink:label="S000003360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003360Member" use="optional" order="347.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003356Member" xlink:label="S000003356Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003356Member" use="optional" order="367.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003357Member" xlink:label="S000003357Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003357Member" use="optional" order="387.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003364Member" xlink:label="S000003364Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003364Member" use="optional" order="501.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003400Member" xlink:label="S000003400Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003400Member" use="optional" order="611.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000039618Member" xlink:label="S000039618Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000039618Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000030799Member" xlink:label="S000030799Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000030799Member" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000034046Member" xlink:label="S000034046Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000034046Member" use="optional" order="201.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000029558Member" xlink:label="S000029558Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000029558Member" use="optional" order="233.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000055170Member" xlink:label="S000055170Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000055170Member" use="optional" order="287.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000024677Member" xlink:label="S000024677Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000024677Member" use="optional" order="329.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009815Member" xlink:label="S000009815Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009815Member" use="optional" order="419.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000024676Member" xlink:label="S000024676Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000024676Member" use="optional" order="427.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009817Member" xlink:label="S000009817Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009817Member" use="optional" order="445.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009819Member" xlink:label="S000009819Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009819Member" use="optional" order="463.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000036500Member" xlink:label="S000036500Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000036500Member" use="optional" order="541.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009820Member" xlink:label="S000009820Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000009820Member" use="optional" order="551.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003394Member" xlink:label="S000003394Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003394Member" use="optional" order="571.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000055171Member" xlink:label="S000055171Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000055171Member" use="optional" order="631.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000104937Member" xlink:label="C000104937Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000104937Member" use="optional" order="408.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009376Member" xlink:label="C000009376Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009376Member" use="optional" order="592.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000127065Member" xlink:label="C000127065Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000127065Member" use="optional" order="194.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009270Member" xlink:label="C000009270Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009270Member" use="optional" order="522.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000116036Member" xlink:label="C000116036Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000116036Member" use="optional" order="164.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000026876Member" xlink:label="C000026876Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000026876Member" use="optional" order="268.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000082348Member" xlink:label="C000082348Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000082348Member" use="optional" order="88.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000047776Member" xlink:label="C000047776Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000047776Member" use="optional" order="104.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056652Member" xlink:label="C000056652Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056652Member" use="optional" order="144.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009243Member" xlink:label="C000009243Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009243Member" use="optional" order="482.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008867Member" xlink:label="C000008867Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008867Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008876Member" xlink:label="C000008876Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008876Member" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008885Member" xlink:label="C000008885Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008885Member" use="optional" order="68.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008921Member" xlink:label="C000008921Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008921Member" use="optional" order="124.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008939Member" xlink:label="C000008939Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008939Member" use="optional" order="174.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008948Member" xlink:label="C000008948Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008948Member" use="optional" order="214.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008966Member" xlink:label="C000008966Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008966Member" use="optional" order="248.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008984Member" xlink:label="C000008984Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008984Member" use="optional" order="290.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009122Member" xlink:label="C000009122Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009122Member" use="optional" order="310.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009220Member" xlink:label="C000009220Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009220Member" use="optional" order="348.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009188Member" xlink:label="C000009188Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009188Member" use="optional" order="368.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009197Member" xlink:label="C000009197Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009197Member" use="optional" order="388.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009252Member" xlink:label="C000009252Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009252Member" use="optional" order="502.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009366Member" xlink:label="C000009366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009366Member" use="optional" order="612.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000122208Member" xlink:label="C000122208Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000122208Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000095456Member" xlink:label="C000095456Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000095456Member" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000104936Member" xlink:label="C000104936Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000104936Member" use="optional" order="202.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000090706Member" xlink:label="C000090706Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000090706Member" use="optional" order="234.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000173477Member" xlink:label="C000173477Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000173477Member" use="optional" order="288.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000073278Member" xlink:label="C000073278Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000073278Member" use="optional" order="330.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000027161Member" xlink:label="C000027161Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000027161Member" use="optional" order="420.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000073276Member" xlink:label="C000073276Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000073276Member" use="optional" order="428.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000027179Member" xlink:label="C000027179Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000027179Member" use="optional" order="446.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000027197Member" xlink:label="C000027197Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000027197Member" use="optional" order="464.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000111805Member" xlink:label="C000111805Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000111805Member" use="optional" order="542.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000027206Member" xlink:label="C000027206Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000027206Member" use="optional" order="552.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009325Member" xlink:label="C000009325Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009325Member" use="optional" order="572.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000173478Member" xlink:label="C000173478Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000173478Member" use="optional" order="632.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="635.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="636.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="637.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="638.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="639.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="640.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="641.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="642.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="643.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="644.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="645.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="646.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="647.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="648.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="649.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="650.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="651.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="652.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="653.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="654.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="655.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="656.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="657.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="658.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="659.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="660.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="661.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="662.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="663.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="664.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="665.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="666.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="667.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="668.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/PerformanceTableDataFFFG">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnAbstract" xlink:label="AverageAnnualReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="AverageAnnualReturnAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_FFFGMember" xlink:label="FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="FFFGMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003401Member" xlink:label="S000003401Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003401Member" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043433Member" xlink:label="S000043433Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043433Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043434Member" xlink:label="S000043434Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043434Member" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043435Member" xlink:label="S000043435Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043435Member" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043436Member" xlink:label="S000043436Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043436Member" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043437Member" xlink:label="S000043437Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043437Member" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000020234Member" xlink:label="S000020234Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000020234Member" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003311Member" xlink:label="S000003311Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003311Member" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003312Member" xlink:label="S000003312Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003312Member" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003313Member" xlink:label="S000003313Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003313Member" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003317Member" xlink:label="S000003317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003317Member" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003319Member" xlink:label="S000003319Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003319Member" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003320Member" xlink:label="S000003320Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003320Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003322Member" xlink:label="S000003322Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003322Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003324Member" xlink:label="S000003324Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003324Member" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003344Member" xlink:label="S000003344Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003344Member" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042847Member" xlink:label="S000042847Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042847Member" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042848Member" xlink:label="S000042848Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042848Member" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042849Member" xlink:label="S000042849Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042849Member" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028822Member" xlink:label="S000028822Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028822Member" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042850Member" xlink:label="S000042850Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042850Member" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028823Member" xlink:label="S000028823Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028823Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042851Member" xlink:label="S000042851Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042851Member" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028824Member" xlink:label="S000028824Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028824Member" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042852Member" xlink:label="S000042852Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042852Member" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028825Member" xlink:label="S000028825Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028825Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042853Member" xlink:label="S000042853Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042853Member" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028826Member" xlink:label="S000028826Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028826Member" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042854Member" xlink:label="S000042854Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042854Member" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028817Member" xlink:label="S000028817Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028817Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042855Member" xlink:label="S000042855Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042855Member" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028818Member" xlink:label="S000028818Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028818Member" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044503Member" xlink:label="S000044503Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044503Member" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044501Member" xlink:label="S000044501Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044501Member" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053255Member" xlink:label="S000053255Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053255Member" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053253Member" xlink:label="S000053253Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053253Member" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028821Member" xlink:label="S000028821Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028821Member" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013649Member" xlink:label="S000013649Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013649Member" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013652Member" xlink:label="S000013652Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013652Member" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013653Member" xlink:label="S000013653Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013653Member" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013654Member" xlink:label="S000013654Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013654Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013655Member" xlink:label="S000013655Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013655Member" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013656Member" xlink:label="S000013656Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013656Member" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013657Member" xlink:label="S000013657Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013657Member" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013658Member" xlink:label="S000013658Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013658Member" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013659Member" xlink:label="S000013659Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013659Member" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044502Member" xlink:label="S000044502Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044502Member" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053254Member" xlink:label="S000053254Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053254Member" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003360Member" xlink:label="S000003360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003360Member" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003356Member" xlink:label="S000003356Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003356Member" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003357Member" xlink:label="S000003357Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003357Member" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003364Member" xlink:label="S000003364Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003364Member" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003400Member" xlink:label="S000003400Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003400Member" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009374Member" xlink:label="C000009374Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009374Member" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134634Member" xlink:label="C000134634Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134634Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134643Member" xlink:label="C000134643Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134643Member" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134652Member" xlink:label="C000134652Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134652Member" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134661Member" xlink:label="C000134661Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134661Member" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134670Member" xlink:label="C000134670Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134670Member" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056650Member" xlink:label="C000056650Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056650Member" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008868Member" xlink:label="C000008868Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008868Member" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008877Member" xlink:label="C000008877Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008877Member" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008886Member" xlink:label="C000008886Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008886Member" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008922Member" xlink:label="C000008922Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008922Member" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008940Member" xlink:label="C000008940Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008940Member" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008949Member" xlink:label="C000008949Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008949Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008967Member" xlink:label="C000008967Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008967Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008985Member" xlink:label="C000008985Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008985Member" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009123Member" xlink:label="C000009123Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009123Member" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132735Member" xlink:label="C000132735Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132735Member" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132750Member" xlink:label="C000132750Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132750Member" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132751Member" xlink:label="C000132751Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132751Member" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088372Member" xlink:label="C000088372Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088372Member" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132759Member" xlink:label="C000132759Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132759Member" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088379Member" xlink:label="C000088379Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088379Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132767Member" xlink:label="C000132767Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132767Member" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088386Member" xlink:label="C000088386Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088386Member" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132775Member" xlink:label="C000132775Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132775Member" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088393Member" xlink:label="C000088393Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088393Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132783Member" xlink:label="C000132783Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132783Member" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088400Member" xlink:label="C000088400Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088400Member" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132791Member" xlink:label="C000132791Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132791Member" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088342Member" xlink:label="C000088342Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088342Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132799Member" xlink:label="C000132799Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132799Member" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088349Member" xlink:label="C000088349Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088349Member" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138480Member" xlink:label="C000138480Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138480Member" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138465Member" xlink:label="C000138465Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138465Member" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167628Member" xlink:label="C000167628Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167628Member" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167612Member" xlink:label="C000167612Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167612Member" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088365Member" xlink:label="C000088365Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088365Member" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037309Member" xlink:label="C000037309Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037309Member" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037340Member" xlink:label="C000037340Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037340Member" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037351Member" xlink:label="C000037351Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037351Member" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037362Member" xlink:label="C000037362Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037362Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037373Member" xlink:label="C000037373Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037373Member" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037384Member" xlink:label="C000037384Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037384Member" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037395Member" xlink:label="C000037395Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037395Member" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037406Member" xlink:label="C000037406Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037406Member" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037417Member" xlink:label="C000037417Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037417Member" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138478Member" xlink:label="C000138478Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138478Member" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167626Member" xlink:label="C000167626Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167626Member" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009221Member" xlink:label="C000009221Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009221Member" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009189Member" xlink:label="C000009189Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009189Member" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009198Member" xlink:label="C000009198Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009198Member" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009253Member" xlink:label="C000009253Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009253Member" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009367Member" xlink:label="C000009367Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009367Member" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1084FFFGMember" xlink:label="benchmark1084FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1084FFFGMember" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1121FFFGMember" xlink:label="benchmark1121FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1121FFFGMember" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1111FFFGMember" xlink:label="benchmark1111FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1111FFFGMember" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1122FFFGMember" xlink:label="benchmark1122FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1122FFFGMember" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010923FFFGMember" xlink:label="benchmark010923FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010923FFFGMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010909FFFGMember" xlink:label="benchmark010909FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010909FFFGMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_bench2014042302FFFGMember" xlink:label="bench2014042302FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="bench2014042302FFFGMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1003FFFGMember" xlink:label="benchmark1003FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1003FFFGMember" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1038FFFGMember" xlink:label="benchmark1038FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1038FFFGMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1115FFFGMember" xlink:label="benchmark1115FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1115FFFGMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1049FFFGMember" xlink:label="benchmark1049FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1049FFFGMember" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1118FFFGMember" xlink:label="benchmark1118FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1118FFFGMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010916FFFGMember" xlink:label="benchmark010916FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010916FFFGMember" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122909FFFGMember" xlink:label="benchmark2015122909FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122909FFFGMember" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122911FFFGMember" xlink:label="benchmark2015122911FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122911FFFGMember" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122912FFFGMember" xlink:label="benchmark2015122912FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122912FFFGMember" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1124FFFGMember" xlink:label="benchmark1124FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1124FFFGMember" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010920FFFGMember" xlink:label="benchmark010920FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010920FFFGMember" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1089FFFGMember" xlink:label="benchmark1089FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1089FFFGMember" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010926FFFGMember" xlink:label="benchmark010926FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010926FFFGMember" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_bench2014042309FFFGMember" xlink:label="bench2014042309FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="bench2014042309FFFGMember" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnInceptionDate" xlink:label="AverageAnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="AverageAnnualReturnAbstract" xlink:to="AverageAnnualReturnInceptionDate" use="optional" order="6.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/OperatingExpensesDataFFFG">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_FFFGMember" xlink:label="FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="FFFGMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003401Member" xlink:label="S000003401Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003401Member" use="optional" order="685.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043433Member" xlink:label="S000043433Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043433Member" use="optional" order="425.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043434Member" xlink:label="S000043434Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043434Member" use="optional" order="435.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043435Member" xlink:label="S000043435Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043435Member" use="optional" order="445.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043436Member" xlink:label="S000043436Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043436Member" use="optional" order="459.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043437Member" xlink:label="S000043437Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043437Member" use="optional" order="469.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000020234Member" xlink:label="S000020234Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000020234Member" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003311Member" xlink:label="S000003311Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003311Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003312Member" xlink:label="S000003312Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003312Member" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003313Member" xlink:label="S000003313Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003313Member" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003317Member" xlink:label="S000003317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003317Member" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003319Member" xlink:label="S000003319Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003319Member" use="optional" order="69.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003320Member" xlink:label="S000003320Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003320Member" use="optional" order="81.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003322Member" xlink:label="S000003322Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003322Member" use="optional" order="93.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003324Member" xlink:label="S000003324Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003324Member" use="optional" order="105.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003344Member" xlink:label="S000003344Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003344Member" use="optional" order="117.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042847Member" xlink:label="S000042847Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042847Member" use="optional" order="129.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042848Member" xlink:label="S000042848Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042848Member" use="optional" order="143.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042849Member" xlink:label="S000042849Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042849Member" use="optional" order="157.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028822Member" xlink:label="S000028822Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028822Member" use="optional" order="171.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042850Member" xlink:label="S000042850Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042850Member" use="optional" order="185.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028823Member" xlink:label="S000028823Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028823Member" use="optional" order="199.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042851Member" xlink:label="S000042851Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042851Member" use="optional" order="213.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028824Member" xlink:label="S000028824Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028824Member" use="optional" order="227.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042852Member" xlink:label="S000042852Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042852Member" use="optional" order="241.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028825Member" xlink:label="S000028825Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028825Member" use="optional" order="255.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042853Member" xlink:label="S000042853Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042853Member" use="optional" order="269.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028826Member" xlink:label="S000028826Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028826Member" use="optional" order="283.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042854Member" xlink:label="S000042854Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042854Member" use="optional" order="297.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028817Member" xlink:label="S000028817Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028817Member" use="optional" order="311.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042855Member" xlink:label="S000042855Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042855Member" use="optional" order="325.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028818Member" xlink:label="S000028818Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028818Member" use="optional" order="339.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044503Member" xlink:label="S000044503Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044503Member" use="optional" order="353.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044501Member" xlink:label="S000044501Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044501Member" use="optional" order="367.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053255Member" xlink:label="S000053255Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053255Member" use="optional" order="381.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053253Member" xlink:label="S000053253Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053253Member" use="optional" order="395.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028821Member" xlink:label="S000028821Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028821Member" use="optional" order="409.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013649Member" xlink:label="S000013649Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013649Member" use="optional" order="479.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013652Member" xlink:label="S000013652Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013652Member" use="optional" order="493.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013653Member" xlink:label="S000013653Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013653Member" use="optional" order="507.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013654Member" xlink:label="S000013654Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013654Member" use="optional" order="521.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013655Member" xlink:label="S000013655Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013655Member" use="optional" order="535.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013656Member" xlink:label="S000013656Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013656Member" use="optional" order="549.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013657Member" xlink:label="S000013657Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013657Member" use="optional" order="563.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013658Member" xlink:label="S000013658Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013658Member" use="optional" order="577.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013659Member" xlink:label="S000013659Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013659Member" use="optional" order="591.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044502Member" xlink:label="S000044502Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044502Member" use="optional" order="605.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053254Member" xlink:label="S000053254Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053254Member" use="optional" order="619.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003360Member" xlink:label="S000003360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003360Member" use="optional" order="633.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003356Member" xlink:label="S000003356Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003356Member" use="optional" order="647.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003357Member" xlink:label="S000003357Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003357Member" use="optional" order="659.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003364Member" xlink:label="S000003364Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003364Member" use="optional" order="671.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003400Member" xlink:label="S000003400Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003400Member" use="optional" order="697.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009374Member" xlink:label="C000009374Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009374Member" use="optional" order="686.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134634Member" xlink:label="C000134634Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134634Member" use="optional" order="426.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134643Member" xlink:label="C000134643Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134643Member" use="optional" order="436.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134652Member" xlink:label="C000134652Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134652Member" use="optional" order="446.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134661Member" xlink:label="C000134661Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134661Member" use="optional" order="460.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134670Member" xlink:label="C000134670Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134670Member" use="optional" order="470.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056650Member" xlink:label="C000056650Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056650Member" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008868Member" xlink:label="C000008868Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008868Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008877Member" xlink:label="C000008877Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008877Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008886Member" xlink:label="C000008886Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008886Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008922Member" xlink:label="C000008922Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008922Member" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008940Member" xlink:label="C000008940Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008940Member" use="optional" order="70.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008949Member" xlink:label="C000008949Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008949Member" use="optional" order="82.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008967Member" xlink:label="C000008967Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008967Member" use="optional" order="94.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008985Member" xlink:label="C000008985Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008985Member" use="optional" order="106.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009123Member" xlink:label="C000009123Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009123Member" use="optional" order="118.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132735Member" xlink:label="C000132735Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132735Member" use="optional" order="130.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132750Member" xlink:label="C000132750Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132750Member" use="optional" order="144.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132751Member" xlink:label="C000132751Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132751Member" use="optional" order="158.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088372Member" xlink:label="C000088372Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088372Member" use="optional" order="172.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132759Member" xlink:label="C000132759Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132759Member" use="optional" order="186.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088379Member" xlink:label="C000088379Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088379Member" use="optional" order="200.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132767Member" xlink:label="C000132767Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132767Member" use="optional" order="214.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088386Member" xlink:label="C000088386Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088386Member" use="optional" order="228.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132775Member" xlink:label="C000132775Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132775Member" use="optional" order="242.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088393Member" xlink:label="C000088393Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088393Member" use="optional" order="256.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132783Member" xlink:label="C000132783Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132783Member" use="optional" order="270.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088400Member" xlink:label="C000088400Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088400Member" use="optional" order="284.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132791Member" xlink:label="C000132791Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132791Member" use="optional" order="298.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088342Member" xlink:label="C000088342Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088342Member" use="optional" order="312.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132799Member" xlink:label="C000132799Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132799Member" use="optional" order="326.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088349Member" xlink:label="C000088349Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088349Member" use="optional" order="340.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138480Member" xlink:label="C000138480Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138480Member" use="optional" order="354.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138465Member" xlink:label="C000138465Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138465Member" use="optional" order="368.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167628Member" xlink:label="C000167628Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167628Member" use="optional" order="382.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167612Member" xlink:label="C000167612Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167612Member" use="optional" order="396.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088365Member" xlink:label="C000088365Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088365Member" use="optional" order="410.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037309Member" xlink:label="C000037309Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037309Member" use="optional" order="480.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037340Member" xlink:label="C000037340Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037340Member" use="optional" order="494.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037351Member" xlink:label="C000037351Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037351Member" use="optional" order="508.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037362Member" xlink:label="C000037362Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037362Member" use="optional" order="522.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037373Member" xlink:label="C000037373Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037373Member" use="optional" order="536.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037384Member" xlink:label="C000037384Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037384Member" use="optional" order="550.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037395Member" xlink:label="C000037395Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037395Member" use="optional" order="564.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037406Member" xlink:label="C000037406Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037406Member" use="optional" order="578.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037417Member" xlink:label="C000037417Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037417Member" use="optional" order="592.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138478Member" xlink:label="C000138478Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138478Member" use="optional" order="606.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167626Member" xlink:label="C000167626Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167626Member" use="optional" order="620.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009221Member" xlink:label="C000009221Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009221Member" use="optional" order="634.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009189Member" xlink:label="C000009189Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009189Member" use="optional" order="648.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009198Member" xlink:label="C000009198Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009198Member" use="optional" order="660.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009253Member" xlink:label="C000009253Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009253Member" use="optional" order="672.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009367Member" xlink:label="C000009367Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009367Member" use="optional" order="698.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesAbstract" xlink:label="OperatingExpensesAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="OperatingExpensesAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesColumnName" xlink:label="OperatingExpensesColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OperatingExpensesColumnName" use="optional" order="712.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="713.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="714.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionOrSimilarNon12b1FeesOverAssets" xlink:label="DistributionOrSimilarNon12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="DistributionOrSimilarNon12b1FeesOverAssets" use="optional" order="715.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="716.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="717.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component3OtherExpensesOverAssets" xlink:label="Component3OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="Component3OtherExpensesOverAssets" use="optional" order="718.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="719.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="720.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="ExpensesOverAssets" use="optional" order="721.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="722.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="OperatingExpensesAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="723.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/ExpenseExampleFFFG">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_FFFGMember" xlink:label="FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="FFFGMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003401Member" xlink:label="S000003401Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003401Member" use="optional" order="415.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043433Member" xlink:label="S000043433Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043433Member" use="optional" order="255.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043434Member" xlink:label="S000043434Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043434Member" use="optional" order="263.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043435Member" xlink:label="S000043435Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043435Member" use="optional" order="271.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043436Member" xlink:label="S000043436Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043436Member" use="optional" order="279.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043437Member" xlink:label="S000043437Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043437Member" use="optional" order="287.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000020234Member" xlink:label="S000020234Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000020234Member" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003311Member" xlink:label="S000003311Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003311Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003312Member" xlink:label="S000003312Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003312Member" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003313Member" xlink:label="S000003313Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003313Member" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003317Member" xlink:label="S000003317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003317Member" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003319Member" xlink:label="S000003319Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003319Member" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003320Member" xlink:label="S000003320Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003320Member" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003322Member" xlink:label="S000003322Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003322Member" use="optional" order="63.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003324Member" xlink:label="S000003324Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003324Member" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003344Member" xlink:label="S000003344Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003344Member" use="optional" order="79.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042847Member" xlink:label="S000042847Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042847Member" use="optional" order="87.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042848Member" xlink:label="S000042848Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042848Member" use="optional" order="95.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042849Member" xlink:label="S000042849Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042849Member" use="optional" order="103.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028822Member" xlink:label="S000028822Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028822Member" use="optional" order="111.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042850Member" xlink:label="S000042850Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042850Member" use="optional" order="119.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028823Member" xlink:label="S000028823Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028823Member" use="optional" order="127.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042851Member" xlink:label="S000042851Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042851Member" use="optional" order="135.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028824Member" xlink:label="S000028824Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028824Member" use="optional" order="143.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042852Member" xlink:label="S000042852Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042852Member" use="optional" order="151.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028825Member" xlink:label="S000028825Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028825Member" use="optional" order="159.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042853Member" xlink:label="S000042853Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042853Member" use="optional" order="167.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028826Member" xlink:label="S000028826Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028826Member" use="optional" order="175.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042854Member" xlink:label="S000042854Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042854Member" use="optional" order="183.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028817Member" xlink:label="S000028817Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028817Member" use="optional" order="191.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042855Member" xlink:label="S000042855Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042855Member" use="optional" order="199.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028818Member" xlink:label="S000028818Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028818Member" use="optional" order="207.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044503Member" xlink:label="S000044503Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044503Member" use="optional" order="215.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044501Member" xlink:label="S000044501Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044501Member" use="optional" order="223.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053255Member" xlink:label="S000053255Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053255Member" use="optional" order="231.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053253Member" xlink:label="S000053253Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053253Member" use="optional" order="239.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028821Member" xlink:label="S000028821Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028821Member" use="optional" order="247.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013649Member" xlink:label="S000013649Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013649Member" use="optional" order="295.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013652Member" xlink:label="S000013652Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013652Member" use="optional" order="303.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013653Member" xlink:label="S000013653Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013653Member" use="optional" order="311.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013654Member" xlink:label="S000013654Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013654Member" use="optional" order="319.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013655Member" xlink:label="S000013655Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013655Member" use="optional" order="327.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013656Member" xlink:label="S000013656Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013656Member" use="optional" order="335.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013657Member" xlink:label="S000013657Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013657Member" use="optional" order="343.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013658Member" xlink:label="S000013658Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013658Member" use="optional" order="351.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013659Member" xlink:label="S000013659Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013659Member" use="optional" order="359.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044502Member" xlink:label="S000044502Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044502Member" use="optional" order="367.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053254Member" xlink:label="S000053254Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053254Member" use="optional" order="375.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003360Member" xlink:label="S000003360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003360Member" use="optional" order="383.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003356Member" xlink:label="S000003356Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003356Member" use="optional" order="391.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003357Member" xlink:label="S000003357Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003357Member" use="optional" order="399.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003364Member" xlink:label="S000003364Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003364Member" use="optional" order="407.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003400Member" xlink:label="S000003400Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003400Member" use="optional" order="423.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009374Member" xlink:label="C000009374Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009374Member" use="optional" order="416.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134634Member" xlink:label="C000134634Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134634Member" use="optional" order="256.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134643Member" xlink:label="C000134643Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134643Member" use="optional" order="264.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134652Member" xlink:label="C000134652Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134652Member" use="optional" order="272.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134661Member" xlink:label="C000134661Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134661Member" use="optional" order="280.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134670Member" xlink:label="C000134670Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134670Member" use="optional" order="288.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056650Member" xlink:label="C000056650Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056650Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008868Member" xlink:label="C000008868Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008868Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008877Member" xlink:label="C000008877Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008877Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008886Member" xlink:label="C000008886Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008886Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008922Member" xlink:label="C000008922Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008922Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008940Member" xlink:label="C000008940Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008940Member" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008949Member" xlink:label="C000008949Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008949Member" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008967Member" xlink:label="C000008967Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008967Member" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008985Member" xlink:label="C000008985Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008985Member" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009123Member" xlink:label="C000009123Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009123Member" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132735Member" xlink:label="C000132735Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132735Member" use="optional" order="88.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132750Member" xlink:label="C000132750Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132750Member" use="optional" order="96.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132751Member" xlink:label="C000132751Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132751Member" use="optional" order="104.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088372Member" xlink:label="C000088372Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088372Member" use="optional" order="112.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132759Member" xlink:label="C000132759Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132759Member" use="optional" order="120.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088379Member" xlink:label="C000088379Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088379Member" use="optional" order="128.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132767Member" xlink:label="C000132767Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132767Member" use="optional" order="136.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088386Member" xlink:label="C000088386Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088386Member" use="optional" order="144.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132775Member" xlink:label="C000132775Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132775Member" use="optional" order="152.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088393Member" xlink:label="C000088393Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088393Member" use="optional" order="160.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132783Member" xlink:label="C000132783Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132783Member" use="optional" order="168.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088400Member" xlink:label="C000088400Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088400Member" use="optional" order="176.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132791Member" xlink:label="C000132791Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132791Member" use="optional" order="184.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088342Member" xlink:label="C000088342Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088342Member" use="optional" order="192.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132799Member" xlink:label="C000132799Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132799Member" use="optional" order="200.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088349Member" xlink:label="C000088349Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088349Member" use="optional" order="208.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138480Member" xlink:label="C000138480Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138480Member" use="optional" order="216.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138465Member" xlink:label="C000138465Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138465Member" use="optional" order="224.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167628Member" xlink:label="C000167628Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167628Member" use="optional" order="232.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167612Member" xlink:label="C000167612Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167612Member" use="optional" order="240.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088365Member" xlink:label="C000088365Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088365Member" use="optional" order="248.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037309Member" xlink:label="C000037309Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037309Member" use="optional" order="296.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037340Member" xlink:label="C000037340Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037340Member" use="optional" order="304.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037351Member" xlink:label="C000037351Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037351Member" use="optional" order="312.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037362Member" xlink:label="C000037362Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037362Member" use="optional" order="320.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037373Member" xlink:label="C000037373Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037373Member" use="optional" order="328.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037384Member" xlink:label="C000037384Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037384Member" use="optional" order="336.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037395Member" xlink:label="C000037395Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037395Member" use="optional" order="344.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037406Member" xlink:label="C000037406Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037406Member" use="optional" order="352.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037417Member" xlink:label="C000037417Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037417Member" use="optional" order="360.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138478Member" xlink:label="C000138478Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138478Member" use="optional" order="368.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167626Member" xlink:label="C000167626Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167626Member" use="optional" order="376.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009221Member" xlink:label="C000009221Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009221Member" use="optional" order="384.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009189Member" xlink:label="C000009189Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009189Member" use="optional" order="392.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009198Member" xlink:label="C000009198Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009198Member" use="optional" order="400.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009253Member" xlink:label="C000009253Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009253Member" use="optional" order="408.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009367Member" xlink:label="C000009367Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009367Member" use="optional" order="424.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleAbstract" xlink:label="ExpenseExampleAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="ExpenseExampleAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearColumnName" xlink:label="ExpenseExampleByYearColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleByYearColumnName" order="433.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="434.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="435.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="436.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ExpenseExampleAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="437.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://jhfii-20190101/role/BarChartDataFFFG">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="dei_DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_DocumentInformationDocumentAxis" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="dei_DocumentDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_DocumentInformationDocumentAxis" xlink:to="dei_DocumentDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_FFFGMember" xlink:label="FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_DocumentDomain" xlink:to="FFFGMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="dei_LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="dei_LegalEntityAxis" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="dei_EntityDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="dei_LegalEntityAxis" xlink:to="dei_EntityDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003401Member" xlink:label="S000003401Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003401Member" use="optional" order="705.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043433Member" xlink:label="S000043433Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043433Member" use="optional" order="405.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043434Member" xlink:label="S000043434Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043434Member" use="optional" order="413.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043435Member" xlink:label="S000043435Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043435Member" use="optional" order="421.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043436Member" xlink:label="S000043436Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043436Member" use="optional" order="429.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043437Member" xlink:label="S000043437Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000043437Member" use="optional" order="437.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000020234Member" xlink:label="S000020234Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000020234Member" use="optional" order="87.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003311Member" xlink:label="S000003311Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003311Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003312Member" xlink:label="S000003312Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003312Member" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003313Member" xlink:label="S000003313Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003313Member" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003317Member" xlink:label="S000003317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003317Member" use="optional" order="67.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003319Member" xlink:label="S000003319Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003319Member" use="optional" order="107.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003320Member" xlink:label="S000003320Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003320Member" use="optional" order="127.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003322Member" xlink:label="S000003322Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003322Member" use="optional" order="147.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003324Member" xlink:label="S000003324Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003324Member" use="optional" order="167.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003344Member" xlink:label="S000003344Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003344Member" use="optional" order="187.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042847Member" xlink:label="S000042847Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042847Member" use="optional" order="207.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042848Member" xlink:label="S000042848Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042848Member" use="optional" order="215.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042849Member" xlink:label="S000042849Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042849Member" use="optional" order="223.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028822Member" xlink:label="S000028822Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028822Member" use="optional" order="231.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042850Member" xlink:label="S000042850Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042850Member" use="optional" order="245.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028823Member" xlink:label="S000028823Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028823Member" use="optional" order="253.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042851Member" xlink:label="S000042851Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042851Member" use="optional" order="267.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028824Member" xlink:label="S000028824Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028824Member" use="optional" order="275.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042852Member" xlink:label="S000042852Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042852Member" use="optional" order="289.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028825Member" xlink:label="S000028825Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028825Member" use="optional" order="297.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042853Member" xlink:label="S000042853Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042853Member" use="optional" order="311.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028826Member" xlink:label="S000028826Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028826Member" use="optional" order="319.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042854Member" xlink:label="S000042854Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042854Member" use="optional" order="333.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028817Member" xlink:label="S000028817Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028817Member" use="optional" order="341.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042855Member" xlink:label="S000042855Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000042855Member" use="optional" order="355.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028818Member" xlink:label="S000028818Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028818Member" use="optional" order="363.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044503Member" xlink:label="S000044503Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044503Member" use="optional" order="375.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044501Member" xlink:label="S000044501Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044501Member" use="optional" order="381.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053255Member" xlink:label="S000053255Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053255Member" use="optional" order="387.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053253Member" xlink:label="S000053253Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053253Member" use="optional" order="389.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028821Member" xlink:label="S000028821Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000028821Member" use="optional" order="391.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013649Member" xlink:label="S000013649Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013649Member" use="optional" order="445.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013652Member" xlink:label="S000013652Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013652Member" use="optional" order="465.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013653Member" xlink:label="S000013653Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013653Member" use="optional" order="485.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013654Member" xlink:label="S000013654Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013654Member" use="optional" order="505.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013655Member" xlink:label="S000013655Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013655Member" use="optional" order="525.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013656Member" xlink:label="S000013656Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013656Member" use="optional" order="545.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013657Member" xlink:label="S000013657Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013657Member" use="optional" order="565.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013658Member" xlink:label="S000013658Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013658Member" use="optional" order="585.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013659Member" xlink:label="S000013659Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000013659Member" use="optional" order="605.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044502Member" xlink:label="S000044502Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000044502Member" use="optional" order="617.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053254Member" xlink:label="S000053254Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000053254Member" use="optional" order="623.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003360Member" xlink:label="S000003360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003360Member" use="optional" order="625.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003356Member" xlink:label="S000003356Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003356Member" use="optional" order="645.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003357Member" xlink:label="S000003357Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003357Member" use="optional" order="665.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003364Member" xlink:label="S000003364Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003364Member" use="optional" order="685.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003400Member" xlink:label="S000003400Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="dei_EntityDomain" xlink:to="S000003400Member" use="optional" order="725.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain_2"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain_2" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009374Member" xlink:label="C000009374Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009374Member" use="optional" order="706.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134634Member" xlink:label="C000134634Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134634Member" use="optional" order="406.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134643Member" xlink:label="C000134643Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134643Member" use="optional" order="414.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134652Member" xlink:label="C000134652Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134652Member" use="optional" order="422.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134661Member" xlink:label="C000134661Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134661Member" use="optional" order="430.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134670Member" xlink:label="C000134670Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134670Member" use="optional" order="438.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056650Member" xlink:label="C000056650Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056650Member" use="optional" order="88.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008868Member" xlink:label="C000008868Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008868Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008877Member" xlink:label="C000008877Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008877Member" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008886Member" xlink:label="C000008886Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008886Member" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008922Member" xlink:label="C000008922Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008922Member" use="optional" order="68.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008940Member" xlink:label="C000008940Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008940Member" use="optional" order="108.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008949Member" xlink:label="C000008949Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008949Member" use="optional" order="128.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008967Member" xlink:label="C000008967Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008967Member" use="optional" order="148.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008985Member" xlink:label="C000008985Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008985Member" use="optional" order="168.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009123Member" xlink:label="C000009123Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009123Member" use="optional" order="188.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132735Member" xlink:label="C000132735Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132735Member" use="optional" order="208.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132750Member" xlink:label="C000132750Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132750Member" use="optional" order="216.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132751Member" xlink:label="C000132751Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132751Member" use="optional" order="224.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088372Member" xlink:label="C000088372Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088372Member" use="optional" order="232.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132759Member" xlink:label="C000132759Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132759Member" use="optional" order="246.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088379Member" xlink:label="C000088379Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088379Member" use="optional" order="254.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132767Member" xlink:label="C000132767Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132767Member" use="optional" order="268.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088386Member" xlink:label="C000088386Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088386Member" use="optional" order="276.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132775Member" xlink:label="C000132775Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132775Member" use="optional" order="290.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088393Member" xlink:label="C000088393Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088393Member" use="optional" order="298.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132783Member" xlink:label="C000132783Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132783Member" use="optional" order="312.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088400Member" xlink:label="C000088400Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088400Member" use="optional" order="320.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132791Member" xlink:label="C000132791Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132791Member" use="optional" order="334.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088342Member" xlink:label="C000088342Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088342Member" use="optional" order="342.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132799Member" xlink:label="C000132799Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132799Member" use="optional" order="356.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088349Member" xlink:label="C000088349Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088349Member" use="optional" order="364.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138480Member" xlink:label="C000138480Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138480Member" use="optional" order="376.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138465Member" xlink:label="C000138465Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138465Member" use="optional" order="382.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167628Member" xlink:label="C000167628Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167628Member" use="optional" order="388.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167612Member" xlink:label="C000167612Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167612Member" use="optional" order="390.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088365Member" xlink:label="C000088365Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088365Member" use="optional" order="392.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037309Member" xlink:label="C000037309Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037309Member" use="optional" order="446.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037340Member" xlink:label="C000037340Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037340Member" use="optional" order="466.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037351Member" xlink:label="C000037351Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037351Member" use="optional" order="486.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037362Member" xlink:label="C000037362Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037362Member" use="optional" order="506.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037373Member" xlink:label="C000037373Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037373Member" use="optional" order="526.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037384Member" xlink:label="C000037384Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037384Member" use="optional" order="546.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037395Member" xlink:label="C000037395Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037395Member" use="optional" order="566.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037406Member" xlink:label="C000037406Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037406Member" use="optional" order="586.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037417Member" xlink:label="C000037417Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037417Member" use="optional" order="606.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138478Member" xlink:label="C000138478Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138478Member" use="optional" order="618.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167626Member" xlink:label="C000167626Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167626Member" use="optional" order="624.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009221Member" xlink:label="C000009221Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009221Member" use="optional" order="626.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009189Member" xlink:label="C000009189Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009189Member" use="optional" order="646.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009198Member" xlink:label="C000009198Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009198Member" use="optional" order="666.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009253Member" xlink:label="C000009253Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009253Member" use="optional" order="686.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009367Member" xlink:label="C000009367Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009367Member" use="optional" order="726.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartTableAbstract" xlink:label="BarChartTableAbstract"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="BarChartTableAbstract" xlink:to="ProspectusTable" use="optional" order="1.0" xbrldt:closed="true" xbrldt:contextElement="segment"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnCaption" xlink:label="AnnualReturnCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnCaption" use="optional" order="747.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnColumnName" xlink:label="AnnualReturnColumnName"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnColumnName" use="optional" order="748.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturnInceptionDate" xlink:label="AnnualReturnInceptionDate"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturnInceptionDate" use="optional" order="749.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1990" xlink:label="AnnualReturn1990"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1990" use="optional" order="750.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1991" xlink:label="AnnualReturn1991"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1991" use="optional" order="751.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1992" xlink:label="AnnualReturn1992"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1992" use="optional" order="752.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1993" xlink:label="AnnualReturn1993"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1993" use="optional" order="753.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1994" xlink:label="AnnualReturn1994"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1994" use="optional" order="754.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1995" xlink:label="AnnualReturn1995"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1995" use="optional" order="755.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1996" xlink:label="AnnualReturn1996"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1996" use="optional" order="756.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1997" xlink:label="AnnualReturn1997"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1997" use="optional" order="757.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1998" xlink:label="AnnualReturn1998"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1998" use="optional" order="758.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn1999" xlink:label="AnnualReturn1999"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn1999" use="optional" order="759.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2000" xlink:label="AnnualReturn2000"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2000" use="optional" order="760.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2001" xlink:label="AnnualReturn2001"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2001" use="optional" order="761.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2002" xlink:label="AnnualReturn2002"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2002" use="optional" order="762.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2003" xlink:label="AnnualReturn2003"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2003" use="optional" order="763.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2004" xlink:label="AnnualReturn2004"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2004" use="optional" order="764.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2005" xlink:label="AnnualReturn2005"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2005" use="optional" order="765.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2006" xlink:label="AnnualReturn2006"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2006" use="optional" order="766.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2007" xlink:label="AnnualReturn2007"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2007" use="optional" order="767.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2008" use="optional" order="768.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2009" use="optional" order="769.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2010" use="optional" order="770.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2011" use="optional" order="771.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2012" use="optional" order="772.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2013" use="optional" order="773.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2014" use="optional" order="774.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2015" use="optional" order="775.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2016" use="optional" order="776.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2017" use="optional" order="777.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2018" xlink:label="AnnualReturn2018"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2018" use="optional" order="778.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2019" xlink:label="AnnualReturn2019"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2019" use="optional" order="779.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2020" xlink:label="AnnualReturn2020"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="BarChartTableAbstract" xlink:to="AnnualReturn2020" use="optional" order="780.0"/>
    </link:definitionLink>
    <link:definitionLink xlink:type="extended" xlink:role="http://xbrl.sec.gov/rr/role/RiskReturnDetailData">
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskReturnAbstract" xlink:label="RiskReturnAbstract"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectiveHeading" xlink:label="ObjectiveHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectiveHeading" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ObjectivePrimaryTextBlock" xlink:label="ObjectivePrimaryTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ObjectivePrimaryTextBlock" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseHeading" xlink:label="ExpenseHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseHeading" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseNarrativeTextBlock" xlink:label="ExpenseNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseNarrativeTextBlock" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeesCaption" xlink:label="ShareholderFeesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeesCaption" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OperatingExpensesCaption" xlink:label="OperatingExpensesCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OperatingExpensesCaption" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleHeading" xlink:label="ExpenseExampleHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleHeading" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNarrativeTextBlock" xlink:label="ExpenseExampleNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNarrativeTextBlock" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleByYearCaption" xlink:label="ExpenseExampleByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleByYearCaption" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionByYearCaption" xlink:label="ExpenseExampleNoRedemptionByYearCaption"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionByYearCaption" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverHeading" xlink:label="PortfolioTurnoverHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverHeading" use="optional" order="61.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PortfolioTurnoverTextBlock" xlink:label="PortfolioTurnoverTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PortfolioTurnoverTextBlock" use="optional" order="62.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyHeading" xlink:label="StrategyHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyHeading" use="optional" order="63.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_StrategyNarrativeTextBlock" xlink:label="StrategyNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="StrategyNarrativeTextBlock" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskHeading" xlink:label="RiskHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskHeading" use="optional" order="65.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_RiskNarrativeTextBlock" xlink:label="RiskNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="RiskNarrativeTextBlock" use="optional" order="66.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartAndPerformanceTableHeading" xlink:label="BarChartAndPerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartAndPerformanceTableHeading" use="optional" order="67.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceNarrativeTextBlock" xlink:label="PerformanceNarrativeTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceNarrativeTextBlock" use="optional" order="68.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartHeading" xlink:label="BarChartHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartHeading" use="optional" order="69.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_BarChartClosingTextBlock" xlink:label="BarChartClosingTextBlock"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="BarChartClosingTextBlock" use="optional" order="70.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceTableHeading" xlink:label="PerformanceTableHeading"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="PerformanceTableHeading" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumCumulativeSalesChargeOverOther" xlink:label="MaximumCumulativeSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MaximumCumulativeSalesChargeOverOther" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_MaximumDeferredSalesChargeOverOther" xlink:label="MaximumDeferredSalesChargeOverOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="MaximumDeferredSalesChargeOverOther" use="optional" order="73.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareholderFeeOther" xlink:label="ShareholderFeeOther"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ShareholderFeeOther" use="optional" order="74.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ManagementFeesOverAssets" xlink:label="ManagementFeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ManagementFeesOverAssets" use="optional" order="75.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_DistributionAndService12b1FeesOverAssets" xlink:label="DistributionAndService12b1FeesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="DistributionAndService12b1FeesOverAssets" use="optional" order="76.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_OtherExpensesOverAssets" xlink:label="OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="OtherExpensesOverAssets" use="optional" order="77.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AcquiredFundFeesAndExpensesOverAssets" xlink:label="AcquiredFundFeesAndExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AcquiredFundFeesAndExpensesOverAssets" use="optional" order="78.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpensesOverAssets" xlink:label="ExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpensesOverAssets" use="optional" order="79.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_FeeWaiverOrReimbursementOverAssets" xlink:label="FeeWaiverOrReimbursementOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="FeeWaiverOrReimbursementOverAssets" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_NetExpensesOverAssets" xlink:label="NetExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="NetExpensesOverAssets" use="optional" order="81.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear01" xlink:label="ExpenseExampleYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleYear01" use="optional" order="82.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear03" xlink:label="ExpenseExampleYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleYear03" use="optional" order="83.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear05" xlink:label="ExpenseExampleYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleYear05" use="optional" order="84.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleYear10" xlink:label="ExpenseExampleYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleYear10" use="optional" order="85.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear01" xlink:label="ExpenseExampleNoRedemptionYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionYear01" use="optional" order="86.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear03" xlink:label="ExpenseExampleNoRedemptionYear03"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionYear03" use="optional" order="87.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear05" xlink:label="ExpenseExampleNoRedemptionYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionYear05" use="optional" order="88.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ExpenseExampleNoRedemptionYear10" xlink:label="ExpenseExampleNoRedemptionYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="ExpenseExampleNoRedemptionYear10" use="optional" order="89.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2012" xlink:label="AnnualReturn2012"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualReturn2012" use="optional" order="90.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2013" xlink:label="AnnualReturn2013"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualReturn2013" use="optional" order="91.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2014" xlink:label="AnnualReturn2014"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualReturn2014" use="optional" order="92.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2015" xlink:label="AnnualReturn2015"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualReturn2015" use="optional" order="93.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2016" xlink:label="AnnualReturn2016"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualReturn2016" use="optional" order="94.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2017" xlink:label="AnnualReturn2017"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualReturn2017" use="optional" order="95.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear01" xlink:label="AverageAnnualReturnYear01"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AverageAnnualReturnYear01" use="optional" order="96.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear05" xlink:label="AverageAnnualReturnYear05"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AverageAnnualReturnYear05" use="optional" order="97.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnSinceInception" xlink:label="AverageAnnualReturnSinceInception"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AverageAnnualReturnSinceInception" use="optional" order="98.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2008" xlink:label="AnnualReturn2008"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualReturn2008" use="optional" order="99.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2009" xlink:label="AnnualReturn2009"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualReturn2009" use="optional" order="100.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2010" xlink:label="AnnualReturn2010"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualReturn2010" use="optional" order="101.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AnnualReturn2011" xlink:label="AnnualReturn2011"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AnnualReturn2011" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AverageAnnualReturnYear10" xlink:label="AverageAnnualReturnYear10"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="AverageAnnualReturnYear10" use="optional" order="103.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component1OtherExpensesOverAssets" xlink:label="Component1OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="Component1OtherExpensesOverAssets" use="optional" order="104.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_Component2OtherExpensesOverAssets" xlink:label="Component2OtherExpensesOverAssets"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="RiskReturnAbstract" xlink:to="Component2OtherExpensesOverAssets" use="optional" order="105.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusTable" xlink:label="ProspectusTable"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentInformationDocumentAxis" xlink:label="DocumentInformationDocumentAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="DocumentInformationDocumentAxis" use="optional" order="100.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_DocumentDomain" xlink:label="DocumentDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="DocumentInformationDocumentAxis" xlink:to="DocumentDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_AAAAMember" xlink:label="AAAAMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="AAAAMember" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_BBBBMember" xlink:label="BBBBMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="BBBBMember" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_CCCCMember" xlink:label="CCCCMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="CCCCMember" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_DDDDMember" xlink:label="DDDDMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="DDDDMember" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_EEEEMember" xlink:label="EEEEMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="EEEEMember" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_FFFFMember" xlink:label="FFFFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="FFFFMember" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_GGGGMember" xlink:label="GGGGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="GGGGMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_HHHHMember" xlink:label="HHHHMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="HHHHMember" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_IIIIMember" xlink:label="IIIIMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="IIIIMember" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_JJJJMember" xlink:label="JJJJMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="JJJJMember" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_KKKKMember" xlink:label="KKKKMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="KKKKMember" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_LLLLMember" xlink:label="LLLLMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="LLLLMember" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_MMMMMember" xlink:label="MMMMMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="MMMMMember" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_NNNNMember" xlink:label="NNNNMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="NNNNMember" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_OOOOMember" xlink:label="OOOOMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="OOOOMember" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_PPPPMember" xlink:label="PPPPMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="PPPPMember" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_QQQQMember" xlink:label="QQQQMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="QQQQMember" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_RRRRMember" xlink:label="RRRRMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="RRRRMember" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_SSSSMember" xlink:label="SSSSMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="SSSSMember" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_TTTTMember" xlink:label="TTTTMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="TTTTMember" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_UUUUMember" xlink:label="UUUUMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="UUUUMember" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_VVVVMember" xlink:label="VVVVMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="VVVVMember" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_WWWWMember" xlink:label="WWWWMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="WWWWMember" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_XXXXMember" xlink:label="XXXXMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="XXXXMember" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_YYYYMember" xlink:label="YYYYMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="YYYYMember" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_ZZZZMember" xlink:label="ZZZZMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="ZZZZMember" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_AAABMember" xlink:label="AAABMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="AAABMember" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_BBBCMember" xlink:label="BBBCMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="BBBCMember" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_CCCDMember" xlink:label="CCCDMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="CCCDMember" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_DDDEMember" xlink:label="DDDEMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="DDDEMember" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_EEEFMember" xlink:label="EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="EEEFMember" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_FFFGMember" xlink:label="FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="DocumentDomain" xlink:to="FFFGMember" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_LegalEntityAxis" xlink:label="LegalEntityAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="LegalEntityAxis" use="optional" order="200.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/dei/2012/dei-2012-01-31.xsd#dei_EntityDomain" xlink:label="EntityDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="LegalEntityAxis" xlink:to="EntityDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000034047Member" xlink:label="S000034047Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000034047Member" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003401Member" xlink:label="S000003401Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003401Member" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000040959Member" xlink:label="S000040959Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000040959Member" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003366Member" xlink:label="S000003366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003366Member" use="optional" order="62.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043433Member" xlink:label="S000043433Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000043433Member" use="optional" order="67.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043434Member" xlink:label="S000043434Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000043434Member" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043435Member" xlink:label="S000043435Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000043435Member" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043436Member" xlink:label="S000043436Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000043436Member" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000043437Member" xlink:label="S000043437Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000043437Member" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000037602Member" xlink:label="S000037602Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000037602Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009779Member" xlink:label="S000009779Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000009779Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000027304Member" xlink:label="S000027304Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000027304Member" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000017260Member" xlink:label="S000017260Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000017260Member" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000020234Member" xlink:label="S000020234Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000020234Member" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003363Member" xlink:label="S000003363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003363Member" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003311Member" xlink:label="S000003311Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003311Member" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003312Member" xlink:label="S000003312Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003312Member" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003313Member" xlink:label="S000003313Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003313Member" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003317Member" xlink:label="S000003317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003317Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003319Member" xlink:label="S000003319Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003319Member" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003320Member" xlink:label="S000003320Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003320Member" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003322Member" xlink:label="S000003322Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003322Member" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003324Member" xlink:label="S000003324Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003324Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003344Member" xlink:label="S000003344Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003344Member" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042847Member" xlink:label="S000042847Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042847Member" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042848Member" xlink:label="S000042848Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042848Member" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042849Member" xlink:label="S000042849Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042849Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028822Member" xlink:label="S000028822Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028822Member" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042850Member" xlink:label="S000042850Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042850Member" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028823Member" xlink:label="S000028823Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028823Member" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042851Member" xlink:label="S000042851Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042851Member" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028824Member" xlink:label="S000028824Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028824Member" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042852Member" xlink:label="S000042852Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042852Member" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028825Member" xlink:label="S000028825Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028825Member" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042853Member" xlink:label="S000042853Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042853Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028826Member" xlink:label="S000028826Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028826Member" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042854Member" xlink:label="S000042854Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042854Member" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028817Member" xlink:label="S000028817Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028817Member" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000042855Member" xlink:label="S000042855Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000042855Member" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028818Member" xlink:label="S000028818Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028818Member" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044503Member" xlink:label="S000044503Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000044503Member" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044501Member" xlink:label="S000044501Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000044501Member" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053255Member" xlink:label="S000053255Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000053255Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053253Member" xlink:label="S000053253Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000053253Member" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000028821Member" xlink:label="S000028821Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000028821Member" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013649Member" xlink:label="S000013649Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000013649Member" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013652Member" xlink:label="S000013652Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000013652Member" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013653Member" xlink:label="S000013653Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000013653Member" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013654Member" xlink:label="S000013654Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000013654Member" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013655Member" xlink:label="S000013655Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000013655Member" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013656Member" xlink:label="S000013656Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000013656Member" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013657Member" xlink:label="S000013657Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000013657Member" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013658Member" xlink:label="S000013658Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000013658Member" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000013659Member" xlink:label="S000013659Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000013659Member" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000044502Member" xlink:label="S000044502Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000044502Member" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000053254Member" xlink:label="S000053254Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000053254Member" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003360Member" xlink:label="S000003360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003360Member" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003356Member" xlink:label="S000003356Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003356Member" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003357Member" xlink:label="S000003357Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003357Member" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003364Member" xlink:label="S000003364Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003364Member" use="optional" order="61.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003400Member" xlink:label="S000003400Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003400Member" use="optional" order="63.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000039618Member" xlink:label="S000039618Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000039618Member" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000030799Member" xlink:label="S000030799Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000030799Member" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000034046Member" xlink:label="S000034046Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000034046Member" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000029558Member" xlink:label="S000029558Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000029558Member" use="optional" order="65.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000055170Member" xlink:label="S000055170Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000055170Member" use="optional" order="69.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000024677Member" xlink:label="S000024677Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000024677Member" use="optional" order="70.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009815Member" xlink:label="S000009815Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000009815Member" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000024676Member" xlink:label="S000024676Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000024676Member" use="optional" order="73.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009817Member" xlink:label="S000009817Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000009817Member" use="optional" order="74.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009819Member" xlink:label="S000009819Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000009819Member" use="optional" order="75.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000036500Member" xlink:label="S000036500Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000036500Member" use="optional" order="76.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000009820Member" xlink:label="S000009820Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000009820Member" use="optional" order="77.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000003394Member" xlink:label="S000003394Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000003394Member" use="optional" order="78.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000055171Member" xlink:label="S000055171Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000055171Member" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000023552Member" xlink:label="S000023552Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000023552Member" use="optional" order="66.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_S000045160Member" xlink:label="S000045160Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="EntityDomain" xlink:to="S000045160Member" use="optional" order="68.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ProspectusShareClassAxis" xlink:label="ProspectusShareClassAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="ProspectusShareClassAxis" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_ShareClassDomain" xlink:label="ShareClassDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="ProspectusShareClassAxis" xlink:to="ShareClassDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135671Member" xlink:label="C000135671Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135671Member" use="optional" order="2.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000143712Member" xlink:label="C000143712Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000143712Member" use="optional" order="81.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135672Member" xlink:label="C000135672Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135672Member" use="optional" order="147.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000104937Member" xlink:label="C000104937Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000104937Member" use="optional" order="202.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135673Member" xlink:label="C000135673Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135673Member" use="optional" order="256.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009374Member" xlink:label="C000009374Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009374Member" use="optional" order="3.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000111336Member" xlink:label="C000111336Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000111336Member" use="optional" order="82.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000145671Member" xlink:label="C000145671Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000145671Member" use="optional" order="148.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000111337Member" xlink:label="C000111337Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000111337Member" use="optional" order="203.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009376Member" xlink:label="C000009376Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009376Member" use="optional" order="257.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000173130Member" xlink:label="C000173130Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000173130Member" use="optional" order="306.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000127063Member" xlink:label="C000127063Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000127063Member" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000152689Member" xlink:label="C000152689Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000152689Member" use="optional" order="83.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000127064Member" xlink:label="C000127064Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000127064Member" use="optional" order="149.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000127065Member" xlink:label="C000127065Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000127065Member" use="optional" order="204.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000152690Member" xlink:label="C000152690Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000152690Member" use="optional" order="258.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000152691Member" xlink:label="C000152691Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000152691Member" use="optional" order="307.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000152692Member" xlink:label="C000152692Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000152692Member" use="optional" order="352.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153953Member" xlink:label="C000153953Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153953Member" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153954Member" xlink:label="C000153954Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153954Member" use="optional" order="84.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153955Member" xlink:label="C000153955Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153955Member" use="optional" order="150.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009270Member" xlink:label="C000009270Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009270Member" use="optional" order="205.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134634Member" xlink:label="C000134634Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134634Member" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134635Member" xlink:label="C000134635Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134635Member" use="optional" order="85.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134636Member" xlink:label="C000134636Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134636Member" use="optional" order="151.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134638Member" xlink:label="C000134638Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134638Member" use="optional" order="206.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134640Member" xlink:label="C000134640Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134640Member" use="optional" order="259.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134641Member" xlink:label="C000134641Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134641Member" use="optional" order="308.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134642Member" xlink:label="C000134642Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134642Member" use="optional" order="353.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134643Member" xlink:label="C000134643Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134643Member" use="optional" order="7.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134644Member" xlink:label="C000134644Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134644Member" use="optional" order="86.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134645Member" xlink:label="C000134645Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134645Member" use="optional" order="152.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134646Member" xlink:label="C000134646Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134646Member" use="optional" order="207.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134647Member" xlink:label="C000134647Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134647Member" use="optional" order="260.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134648Member" xlink:label="C000134648Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134648Member" use="optional" order="309.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134649Member" xlink:label="C000134649Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134649Member" use="optional" order="354.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134650Member" xlink:label="C000134650Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134650Member" use="optional" order="395.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134651Member" xlink:label="C000134651Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134651Member" use="optional" order="412.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134652Member" xlink:label="C000134652Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134652Member" use="optional" order="8.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134653Member" xlink:label="C000134653Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134653Member" use="optional" order="87.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134654Member" xlink:label="C000134654Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134654Member" use="optional" order="153.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134655Member" xlink:label="C000134655Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134655Member" use="optional" order="208.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134656Member" xlink:label="C000134656Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134656Member" use="optional" order="261.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134657Member" xlink:label="C000134657Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134657Member" use="optional" order="310.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134658Member" xlink:label="C000134658Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134658Member" use="optional" order="355.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134659Member" xlink:label="C000134659Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134659Member" use="optional" order="396.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134660Member" xlink:label="C000134660Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134660Member" use="optional" order="413.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134661Member" xlink:label="C000134661Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134661Member" use="optional" order="9.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134662Member" xlink:label="C000134662Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134662Member" use="optional" order="88.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134663Member" xlink:label="C000134663Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134663Member" use="optional" order="154.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134664Member" xlink:label="C000134664Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134664Member" use="optional" order="209.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134665Member" xlink:label="C000134665Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134665Member" use="optional" order="262.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134666Member" xlink:label="C000134666Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134666Member" use="optional" order="311.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134667Member" xlink:label="C000134667Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134667Member" use="optional" order="356.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134668Member" xlink:label="C000134668Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134668Member" use="optional" order="397.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134669Member" xlink:label="C000134669Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134669Member" use="optional" order="414.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134670Member" xlink:label="C000134670Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134670Member" use="optional" order="10.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134671Member" xlink:label="C000134671Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134671Member" use="optional" order="89.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134672Member" xlink:label="C000134672Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134672Member" use="optional" order="155.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134673Member" xlink:label="C000134673Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134673Member" use="optional" order="210.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134674Member" xlink:label="C000134674Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134674Member" use="optional" order="263.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134675Member" xlink:label="C000134675Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134675Member" use="optional" order="312.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134676Member" xlink:label="C000134676Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134676Member" use="optional" order="357.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134677Member" xlink:label="C000134677Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134677Member" use="optional" order="398.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000134678Member" xlink:label="C000134678Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000134678Member" use="optional" order="415.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000116034Member" xlink:label="C000116034Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000116034Member" use="optional" order="11.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000116035Member" xlink:label="C000116035Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000116035Member" use="optional" order="90.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000116036Member" xlink:label="C000116036Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000116036Member" use="optional" order="156.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000178758Member" xlink:label="C000178758Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000178758Member" use="optional" order="211.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128520Member" xlink:label="C000128520Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128520Member" use="optional" order="12.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128521Member" xlink:label="C000128521Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128521Member" use="optional" order="91.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128522Member" xlink:label="C000128522Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128522Member" use="optional" order="157.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000026876Member" xlink:label="C000026876Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000026876Member" use="optional" order="212.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128524Member" xlink:label="C000128524Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128524Member" use="optional" order="264.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128526Member" xlink:label="C000128526Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128526Member" use="optional" order="313.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128527Member" xlink:label="C000128527Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128527Member" use="optional" order="358.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128528Member" xlink:label="C000128528Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128528Member" use="optional" order="399.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000082346Member" xlink:label="C000082346Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000082346Member" use="optional" order="13.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000145673Member" xlink:label="C000145673Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000145673Member" use="optional" order="92.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000082347Member" xlink:label="C000082347Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000082347Member" use="optional" order="158.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000082348Member" xlink:label="C000082348Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000082348Member" use="optional" order="213.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153965Member" xlink:label="C000153965Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153965Member" use="optional" order="265.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153966Member" xlink:label="C000153966Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153966Member" use="optional" order="314.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153967Member" xlink:label="C000153967Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153967Member" use="optional" order="359.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099349Member" xlink:label="C000099349Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099349Member" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099350Member" xlink:label="C000099350Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099350Member" use="optional" order="93.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099351Member" xlink:label="C000099351Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099351Member" use="optional" order="159.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000047776Member" xlink:label="C000047776Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000047776Member" use="optional" order="214.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099354Member" xlink:label="C000099354Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099354Member" use="optional" order="266.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000099355Member" xlink:label="C000099355Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000099355Member" use="optional" order="315.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106468Member" xlink:label="C000106468Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106468Member" use="optional" order="360.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056650Member" xlink:label="C000056650Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056650Member" use="optional" order="15.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056647Member" xlink:label="C000056647Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056647Member" use="optional" order="94.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056648Member" xlink:label="C000056648Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056648Member" use="optional" order="160.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056649Member" xlink:label="C000056649Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056649Member" use="optional" order="215.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056651Member" xlink:label="C000056651Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056651Member" use="optional" order="267.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000056652Member" xlink:label="C000056652Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000056652Member" use="optional" order="316.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106469Member" xlink:label="C000106469Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106469Member" use="optional" order="361.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000199365Member" xlink:label="C000199365Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000199365Member" use="optional" order="16.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000199366Member" xlink:label="C000199366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000199366Member" use="optional" order="95.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000199363Member" xlink:label="C000199363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000199363Member" use="optional" order="161.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009243Member" xlink:label="C000009243Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009243Member" use="optional" order="216.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000199364Member" xlink:label="C000199364Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000199364Member" use="optional" order="268.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008868Member" xlink:label="C000008868Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008868Member" use="optional" order="17.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153947Member" xlink:label="C000153947Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153947Member" use="optional" order="96.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153948Member" xlink:label="C000153948Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153948Member" use="optional" order="162.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153949Member" xlink:label="C000153949Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153949Member" use="optional" order="217.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008867Member" xlink:label="C000008867Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008867Member" use="optional" order="269.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008877Member" xlink:label="C000008877Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008877Member" use="optional" order="18.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008876Member" xlink:label="C000008876Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008876Member" use="optional" order="97.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008886Member" xlink:label="C000008886Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008886Member" use="optional" order="19.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008885Member" xlink:label="C000008885Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008885Member" use="optional" order="98.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008922Member" xlink:label="C000008922Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008922Member" use="optional" order="20.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153950Member" xlink:label="C000153950Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153950Member" use="optional" order="99.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153951Member" xlink:label="C000153951Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153951Member" use="optional" order="163.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153952Member" xlink:label="C000153952Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153952Member" use="optional" order="218.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008921Member" xlink:label="C000008921Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008921Member" use="optional" order="270.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008940Member" xlink:label="C000008940Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008940Member" use="optional" order="21.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008939Member" xlink:label="C000008939Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008939Member" use="optional" order="100.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008949Member" xlink:label="C000008949Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008949Member" use="optional" order="22.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008948Member" xlink:label="C000008948Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008948Member" use="optional" order="101.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008967Member" xlink:label="C000008967Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008967Member" use="optional" order="23.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008966Member" xlink:label="C000008966Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008966Member" use="optional" order="102.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008985Member" xlink:label="C000008985Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008985Member" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000008984Member" xlink:label="C000008984Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000008984Member" use="optional" order="103.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009123Member" xlink:label="C000009123Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009123Member" use="optional" order="25.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009122Member" xlink:label="C000009122Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009122Member" use="optional" order="104.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132735Member" xlink:label="C000132735Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132735Member" use="optional" order="26.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132736Member" xlink:label="C000132736Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132736Member" use="optional" order="105.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132737Member" xlink:label="C000132737Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132737Member" use="optional" order="164.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132739Member" xlink:label="C000132739Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132739Member" use="optional" order="219.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132740Member" xlink:label="C000132740Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132740Member" use="optional" order="271.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132741Member" xlink:label="C000132741Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132741Member" use="optional" order="317.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132742Member" xlink:label="C000132742Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132742Member" use="optional" order="362.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132750Member" xlink:label="C000132750Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132750Member" use="optional" order="27.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132743Member" xlink:label="C000132743Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132743Member" use="optional" order="106.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132744Member" xlink:label="C000132744Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132744Member" use="optional" order="165.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132746Member" xlink:label="C000132746Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132746Member" use="optional" order="220.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132747Member" xlink:label="C000132747Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132747Member" use="optional" order="272.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132748Member" xlink:label="C000132748Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132748Member" use="optional" order="318.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132749Member" xlink:label="C000132749Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132749Member" use="optional" order="363.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132751Member" xlink:label="C000132751Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132751Member" use="optional" order="28.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132752Member" xlink:label="C000132752Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132752Member" use="optional" order="107.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132753Member" xlink:label="C000132753Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132753Member" use="optional" order="166.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132755Member" xlink:label="C000132755Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132755Member" use="optional" order="221.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132756Member" xlink:label="C000132756Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132756Member" use="optional" order="273.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132757Member" xlink:label="C000132757Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132757Member" use="optional" order="319.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132758Member" xlink:label="C000132758Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132758Member" use="optional" order="364.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088372Member" xlink:label="C000088372Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088372Member" use="optional" order="29.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088367Member" xlink:label="C000088367Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088367Member" use="optional" order="108.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113517Member" xlink:label="C000113517Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113517Member" use="optional" order="167.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088368Member" xlink:label="C000088368Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088368Member" use="optional" order="222.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088369Member" xlink:label="C000088369Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088369Member" use="optional" order="274.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088370Member" xlink:label="C000088370Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088370Member" use="optional" order="320.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106476Member" xlink:label="C000106476Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106476Member" use="optional" order="365.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132759Member" xlink:label="C000132759Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132759Member" use="optional" order="30.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132760Member" xlink:label="C000132760Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132760Member" use="optional" order="109.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132761Member" xlink:label="C000132761Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132761Member" use="optional" order="168.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132763Member" xlink:label="C000132763Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132763Member" use="optional" order="223.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132764Member" xlink:label="C000132764Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132764Member" use="optional" order="275.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132765Member" xlink:label="C000132765Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132765Member" use="optional" order="321.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132766Member" xlink:label="C000132766Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132766Member" use="optional" order="366.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088379Member" xlink:label="C000088379Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088379Member" use="optional" order="31.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088374Member" xlink:label="C000088374Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088374Member" use="optional" order="110.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113518Member" xlink:label="C000113518Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113518Member" use="optional" order="169.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088375Member" xlink:label="C000088375Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088375Member" use="optional" order="224.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088376Member" xlink:label="C000088376Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088376Member" use="optional" order="276.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088377Member" xlink:label="C000088377Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088377Member" use="optional" order="322.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106477Member" xlink:label="C000106477Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106477Member" use="optional" order="367.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132767Member" xlink:label="C000132767Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132767Member" use="optional" order="32.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132768Member" xlink:label="C000132768Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132768Member" use="optional" order="111.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132769Member" xlink:label="C000132769Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132769Member" use="optional" order="170.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132771Member" xlink:label="C000132771Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132771Member" use="optional" order="225.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132772Member" xlink:label="C000132772Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132772Member" use="optional" order="277.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132773Member" xlink:label="C000132773Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132773Member" use="optional" order="323.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132774Member" xlink:label="C000132774Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132774Member" use="optional" order="368.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088386Member" xlink:label="C000088386Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088386Member" use="optional" order="33.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088381Member" xlink:label="C000088381Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088381Member" use="optional" order="112.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113519Member" xlink:label="C000113519Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113519Member" use="optional" order="171.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088382Member" xlink:label="C000088382Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088382Member" use="optional" order="226.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088383Member" xlink:label="C000088383Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088383Member" use="optional" order="278.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088384Member" xlink:label="C000088384Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088384Member" use="optional" order="324.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106478Member" xlink:label="C000106478Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106478Member" use="optional" order="369.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132775Member" xlink:label="C000132775Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132775Member" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132776Member" xlink:label="C000132776Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132776Member" use="optional" order="113.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132777Member" xlink:label="C000132777Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132777Member" use="optional" order="172.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132779Member" xlink:label="C000132779Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132779Member" use="optional" order="227.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132780Member" xlink:label="C000132780Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132780Member" use="optional" order="279.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132781Member" xlink:label="C000132781Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132781Member" use="optional" order="325.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132782Member" xlink:label="C000132782Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132782Member" use="optional" order="370.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088393Member" xlink:label="C000088393Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088393Member" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088388Member" xlink:label="C000088388Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088388Member" use="optional" order="114.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113520Member" xlink:label="C000113520Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113520Member" use="optional" order="173.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088389Member" xlink:label="C000088389Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088389Member" use="optional" order="228.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088390Member" xlink:label="C000088390Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088390Member" use="optional" order="280.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088391Member" xlink:label="C000088391Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088391Member" use="optional" order="326.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106479Member" xlink:label="C000106479Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106479Member" use="optional" order="371.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132783Member" xlink:label="C000132783Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132783Member" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132784Member" xlink:label="C000132784Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132784Member" use="optional" order="115.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132785Member" xlink:label="C000132785Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132785Member" use="optional" order="174.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132787Member" xlink:label="C000132787Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132787Member" use="optional" order="229.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132788Member" xlink:label="C000132788Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132788Member" use="optional" order="281.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132789Member" xlink:label="C000132789Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132789Member" use="optional" order="327.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132790Member" xlink:label="C000132790Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132790Member" use="optional" order="372.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088400Member" xlink:label="C000088400Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088400Member" use="optional" order="37.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088395Member" xlink:label="C000088395Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088395Member" use="optional" order="116.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113521Member" xlink:label="C000113521Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113521Member" use="optional" order="175.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088396Member" xlink:label="C000088396Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088396Member" use="optional" order="230.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088397Member" xlink:label="C000088397Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088397Member" use="optional" order="282.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088398Member" xlink:label="C000088398Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088398Member" use="optional" order="328.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106480Member" xlink:label="C000106480Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106480Member" use="optional" order="373.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132791Member" xlink:label="C000132791Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132791Member" use="optional" order="38.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132792Member" xlink:label="C000132792Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132792Member" use="optional" order="117.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132793Member" xlink:label="C000132793Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132793Member" use="optional" order="176.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132795Member" xlink:label="C000132795Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132795Member" use="optional" order="231.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132796Member" xlink:label="C000132796Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132796Member" use="optional" order="283.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132797Member" xlink:label="C000132797Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132797Member" use="optional" order="329.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132798Member" xlink:label="C000132798Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132798Member" use="optional" order="374.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088342Member" xlink:label="C000088342Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088342Member" use="optional" order="39.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088337Member" xlink:label="C000088337Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088337Member" use="optional" order="118.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113513Member" xlink:label="C000113513Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113513Member" use="optional" order="177.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088338Member" xlink:label="C000088338Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088338Member" use="optional" order="232.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088339Member" xlink:label="C000088339Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088339Member" use="optional" order="284.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088340Member" xlink:label="C000088340Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088340Member" use="optional" order="330.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106472Member" xlink:label="C000106472Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106472Member" use="optional" order="375.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132799Member" xlink:label="C000132799Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132799Member" use="optional" order="40.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132800Member" xlink:label="C000132800Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132800Member" use="optional" order="119.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132801Member" xlink:label="C000132801Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132801Member" use="optional" order="178.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132803Member" xlink:label="C000132803Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132803Member" use="optional" order="233.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132804Member" xlink:label="C000132804Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132804Member" use="optional" order="285.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132805Member" xlink:label="C000132805Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132805Member" use="optional" order="331.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000132806Member" xlink:label="C000132806Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000132806Member" use="optional" order="376.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088349Member" xlink:label="C000088349Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088349Member" use="optional" order="41.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088344Member" xlink:label="C000088344Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088344Member" use="optional" order="120.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113514Member" xlink:label="C000113514Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113514Member" use="optional" order="179.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088345Member" xlink:label="C000088345Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088345Member" use="optional" order="234.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088346Member" xlink:label="C000088346Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088346Member" use="optional" order="286.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088347Member" xlink:label="C000088347Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088347Member" use="optional" order="332.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106473Member" xlink:label="C000106473Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106473Member" use="optional" order="377.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138480Member" xlink:label="C000138480Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138480Member" use="optional" order="42.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138481Member" xlink:label="C000138481Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138481Member" use="optional" order="121.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138482Member" xlink:label="C000138482Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138482Member" use="optional" order="180.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138484Member" xlink:label="C000138484Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138484Member" use="optional" order="235.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138485Member" xlink:label="C000138485Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138485Member" use="optional" order="287.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138486Member" xlink:label="C000138486Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138486Member" use="optional" order="333.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138487Member" xlink:label="C000138487Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138487Member" use="optional" order="378.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138465Member" xlink:label="C000138465Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138465Member" use="optional" order="43.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138466Member" xlink:label="C000138466Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138466Member" use="optional" order="122.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138467Member" xlink:label="C000138467Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138467Member" use="optional" order="181.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138468Member" xlink:label="C000138468Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138468Member" use="optional" order="236.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138469Member" xlink:label="C000138469Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138469Member" use="optional" order="288.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138470Member" xlink:label="C000138470Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138470Member" use="optional" order="334.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138471Member" xlink:label="C000138471Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138471Member" use="optional" order="379.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167628Member" xlink:label="C000167628Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167628Member" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167629Member" xlink:label="C000167629Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167629Member" use="optional" order="123.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167630Member" xlink:label="C000167630Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167630Member" use="optional" order="182.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167632Member" xlink:label="C000167632Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167632Member" use="optional" order="237.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167633Member" xlink:label="C000167633Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167633Member" use="optional" order="289.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167634Member" xlink:label="C000167634Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167634Member" use="optional" order="335.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167635Member" xlink:label="C000167635Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167635Member" use="optional" order="380.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167612Member" xlink:label="C000167612Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167612Member" use="optional" order="45.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167613Member" xlink:label="C000167613Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167613Member" use="optional" order="124.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167614Member" xlink:label="C000167614Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167614Member" use="optional" order="183.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167615Member" xlink:label="C000167615Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167615Member" use="optional" order="238.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167616Member" xlink:label="C000167616Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167616Member" use="optional" order="290.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167617Member" xlink:label="C000167617Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167617Member" use="optional" order="336.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167618Member" xlink:label="C000167618Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167618Member" use="optional" order="381.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088365Member" xlink:label="C000088365Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088365Member" use="optional" order="46.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088360Member" xlink:label="C000088360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088360Member" use="optional" order="125.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113516Member" xlink:label="C000113516Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113516Member" use="optional" order="184.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088361Member" xlink:label="C000088361Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088361Member" use="optional" order="239.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088362Member" xlink:label="C000088362Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088362Member" use="optional" order="291.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000088363Member" xlink:label="C000088363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000088363Member" use="optional" order="337.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106475Member" xlink:label="C000106475Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106475Member" use="optional" order="382.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037309Member" xlink:label="C000037309Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037309Member" use="optional" order="47.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037307Member" xlink:label="C000037307Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037307Member" use="optional" order="126.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153956Member" xlink:label="C000153956Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153956Member" use="optional" order="185.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037314Member" xlink:label="C000037314Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037314Member" use="optional" order="240.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113503Member" xlink:label="C000113503Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113503Member" use="optional" order="292.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037316Member" xlink:label="C000037316Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037316Member" use="optional" order="338.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037317Member" xlink:label="C000037317Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037317Member" use="optional" order="383.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037308Member" xlink:label="C000037308Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037308Member" use="optional" order="400.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106459Member" xlink:label="C000106459Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106459Member" use="optional" order="416.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037340Member" xlink:label="C000037340Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037340Member" use="optional" order="48.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037330Member" xlink:label="C000037330Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037330Member" use="optional" order="127.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153957Member" xlink:label="C000153957Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153957Member" use="optional" order="186.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037335Member" xlink:label="C000037335Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037335Member" use="optional" order="241.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113504Member" xlink:label="C000113504Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113504Member" use="optional" order="293.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037337Member" xlink:label="C000037337Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037337Member" use="optional" order="339.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037338Member" xlink:label="C000037338Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037338Member" use="optional" order="384.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037339Member" xlink:label="C000037339Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037339Member" use="optional" order="401.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106460Member" xlink:label="C000106460Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106460Member" use="optional" order="417.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037351Member" xlink:label="C000037351Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037351Member" use="optional" order="49.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037341Member" xlink:label="C000037341Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037341Member" use="optional" order="128.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153958Member" xlink:label="C000153958Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153958Member" use="optional" order="187.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037346Member" xlink:label="C000037346Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037346Member" use="optional" order="242.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113505Member" xlink:label="C000113505Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113505Member" use="optional" order="294.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037348Member" xlink:label="C000037348Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037348Member" use="optional" order="340.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037349Member" xlink:label="C000037349Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037349Member" use="optional" order="385.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037350Member" xlink:label="C000037350Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037350Member" use="optional" order="402.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106461Member" xlink:label="C000106461Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106461Member" use="optional" order="418.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037362Member" xlink:label="C000037362Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037362Member" use="optional" order="50.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037352Member" xlink:label="C000037352Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037352Member" use="optional" order="129.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153959Member" xlink:label="C000153959Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153959Member" use="optional" order="188.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037357Member" xlink:label="C000037357Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037357Member" use="optional" order="243.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113506Member" xlink:label="C000113506Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113506Member" use="optional" order="295.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037359Member" xlink:label="C000037359Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037359Member" use="optional" order="341.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037360Member" xlink:label="C000037360Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037360Member" use="optional" order="386.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037361Member" xlink:label="C000037361Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037361Member" use="optional" order="403.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106462Member" xlink:label="C000106462Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106462Member" use="optional" order="419.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037373Member" xlink:label="C000037373Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037373Member" use="optional" order="51.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037363Member" xlink:label="C000037363Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037363Member" use="optional" order="130.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153960Member" xlink:label="C000153960Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153960Member" use="optional" order="189.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037368Member" xlink:label="C000037368Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037368Member" use="optional" order="244.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113507Member" xlink:label="C000113507Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113507Member" use="optional" order="296.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037370Member" xlink:label="C000037370Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037370Member" use="optional" order="342.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037371Member" xlink:label="C000037371Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037371Member" use="optional" order="387.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037372Member" xlink:label="C000037372Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037372Member" use="optional" order="404.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106463Member" xlink:label="C000106463Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106463Member" use="optional" order="420.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037384Member" xlink:label="C000037384Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037384Member" use="optional" order="52.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037374Member" xlink:label="C000037374Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037374Member" use="optional" order="131.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153961Member" xlink:label="C000153961Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153961Member" use="optional" order="190.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037379Member" xlink:label="C000037379Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037379Member" use="optional" order="245.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113508Member" xlink:label="C000113508Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113508Member" use="optional" order="297.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037381Member" xlink:label="C000037381Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037381Member" use="optional" order="343.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037382Member" xlink:label="C000037382Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037382Member" use="optional" order="388.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037383Member" xlink:label="C000037383Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037383Member" use="optional" order="405.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106464Member" xlink:label="C000106464Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106464Member" use="optional" order="421.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037395Member" xlink:label="C000037395Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037395Member" use="optional" order="53.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037385Member" xlink:label="C000037385Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037385Member" use="optional" order="132.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153962Member" xlink:label="C000153962Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153962Member" use="optional" order="191.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037390Member" xlink:label="C000037390Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037390Member" use="optional" order="246.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113509Member" xlink:label="C000113509Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113509Member" use="optional" order="298.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037392Member" xlink:label="C000037392Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037392Member" use="optional" order="344.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037393Member" xlink:label="C000037393Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037393Member" use="optional" order="389.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037394Member" xlink:label="C000037394Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037394Member" use="optional" order="406.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106465Member" xlink:label="C000106465Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106465Member" use="optional" order="422.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037406Member" xlink:label="C000037406Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037406Member" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037396Member" xlink:label="C000037396Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037396Member" use="optional" order="133.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153963Member" xlink:label="C000153963Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153963Member" use="optional" order="192.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037401Member" xlink:label="C000037401Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037401Member" use="optional" order="247.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113510Member" xlink:label="C000113510Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113510Member" use="optional" order="299.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037403Member" xlink:label="C000037403Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037403Member" use="optional" order="345.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037404Member" xlink:label="C000037404Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037404Member" use="optional" order="390.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037405Member" xlink:label="C000037405Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037405Member" use="optional" order="407.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106466Member" xlink:label="C000106466Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106466Member" use="optional" order="423.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037417Member" xlink:label="C000037417Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037417Member" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037407Member" xlink:label="C000037407Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037407Member" use="optional" order="134.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153964Member" xlink:label="C000153964Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153964Member" use="optional" order="193.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037412Member" xlink:label="C000037412Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037412Member" use="optional" order="248.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113511Member" xlink:label="C000113511Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113511Member" use="optional" order="300.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037414Member" xlink:label="C000037414Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037414Member" use="optional" order="346.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037415Member" xlink:label="C000037415Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037415Member" use="optional" order="391.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000037416Member" xlink:label="C000037416Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000037416Member" use="optional" order="408.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106467Member" xlink:label="C000106467Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106467Member" use="optional" order="424.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138478Member" xlink:label="C000138478Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138478Member" use="optional" order="56.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138479Member" xlink:label="C000138479Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138479Member" use="optional" order="135.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000153974Member" xlink:label="C000153974Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000153974Member" use="optional" order="194.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138472Member" xlink:label="C000138472Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138472Member" use="optional" order="249.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138473Member" xlink:label="C000138473Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138473Member" use="optional" order="301.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138474Member" xlink:label="C000138474Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138474Member" use="optional" order="347.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138475Member" xlink:label="C000138475Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138475Member" use="optional" order="392.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138476Member" xlink:label="C000138476Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138476Member" use="optional" order="409.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000138477Member" xlink:label="C000138477Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000138477Member" use="optional" order="425.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167626Member" xlink:label="C000167626Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167626Member" use="optional" order="57.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167627Member" xlink:label="C000167627Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167627Member" use="optional" order="136.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167619Member" xlink:label="C000167619Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167619Member" use="optional" order="195.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167620Member" xlink:label="C000167620Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167620Member" use="optional" order="250.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167621Member" xlink:label="C000167621Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167621Member" use="optional" order="302.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167622Member" xlink:label="C000167622Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167622Member" use="optional" order="348.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167623Member" xlink:label="C000167623Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167623Member" use="optional" order="393.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167624Member" xlink:label="C000167624Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167624Member" use="optional" order="410.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000167625Member" xlink:label="C000167625Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000167625Member" use="optional" order="426.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009221Member" xlink:label="C000009221Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009221Member" use="optional" order="58.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141730Member" xlink:label="C000141730Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141730Member" use="optional" order="137.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141733Member" xlink:label="C000141733Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141733Member" use="optional" order="196.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141734Member" xlink:label="C000141734Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141734Member" use="optional" order="251.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009220Member" xlink:label="C000009220Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009220Member" use="optional" order="303.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141735Member" xlink:label="C000141735Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141735Member" use="optional" order="349.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141736Member" xlink:label="C000141736Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141736Member" use="optional" order="394.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141737Member" xlink:label="C000141737Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141737Member" use="optional" order="411.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141738Member" xlink:label="C000141738Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141738Member" use="optional" order="427.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141739Member" xlink:label="C000141739Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141739Member" use="optional" order="79.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000141731Member" xlink:label="C000141731Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000141731Member" use="optional" order="80.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009189Member" xlink:label="C000009189Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009189Member" use="optional" order="59.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009188Member" xlink:label="C000009188Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009188Member" use="optional" order="138.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009198Member" xlink:label="C000009198Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009198Member" use="optional" order="60.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009197Member" xlink:label="C000009197Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009197Member" use="optional" order="139.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009253Member" xlink:label="C000009253Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009253Member" use="optional" order="61.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009252Member" xlink:label="C000009252Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009252Member" use="optional" order="140.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009367Member" xlink:label="C000009367Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009367Member" use="optional" order="62.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009366Member" xlink:label="C000009366Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009366Member" use="optional" order="141.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000122206Member" xlink:label="C000122206Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000122206Member" use="optional" order="63.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000122207Member" xlink:label="C000122207Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000122207Member" use="optional" order="142.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000122208Member" xlink:label="C000122208Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000122208Member" use="optional" order="197.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000095456Member" xlink:label="C000095456Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000095456Member" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000104936Member" xlink:label="C000104936Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000104936Member" use="optional" order="65.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000090706Member" xlink:label="C000090706Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000090706Member" use="optional" order="66.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000173477Member" xlink:label="C000173477Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000173477Member" use="optional" order="67.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000073278Member" xlink:label="C000073278Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000073278Member" use="optional" order="68.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000027161Member" xlink:label="C000027161Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000027161Member" use="optional" order="69.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000073276Member" xlink:label="C000073276Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000073276Member" use="optional" order="70.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000027179Member" xlink:label="C000027179Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000027179Member" use="optional" order="71.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135638Member" xlink:label="C000135638Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135638Member" use="optional" order="72.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135639Member" xlink:label="C000135639Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135639Member" use="optional" order="143.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000027197Member" xlink:label="C000027197Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000027197Member" use="optional" order="198.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000135640Member" xlink:label="C000135640Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000135640Member" use="optional" order="252.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000111805Member" xlink:label="C000111805Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000111805Member" use="optional" order="73.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000085587Member" xlink:label="C000085587Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000085587Member" use="optional" order="74.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000085588Member" xlink:label="C000085588Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000085588Member" use="optional" order="144.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000085589Member" xlink:label="C000085589Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000085589Member" use="optional" order="199.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000027206Member" xlink:label="C000027206Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000027206Member" use="optional" order="253.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113502Member" xlink:label="C000113502Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113502Member" use="optional" order="304.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106458Member" xlink:label="C000106458Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106458Member" use="optional" order="350.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000009325Member" xlink:label="C000009325Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000009325Member" use="optional" order="75.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000173478Member" xlink:label="C000173478Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000173478Member" use="optional" order="76.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000069283Member" xlink:label="C000069283Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000069283Member" use="optional" order="77.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000102118Member" xlink:label="C000102118Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000102118Member" use="optional" order="145.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000098166Member" xlink:label="C000098166Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000098166Member" use="optional" order="200.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000113512Member" xlink:label="C000113512Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000113512Member" use="optional" order="254.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000128529Member" xlink:label="C000128529Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000128529Member" use="optional" order="305.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000106470Member" xlink:label="C000106470Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000106470Member" use="optional" order="351.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000140586Member" xlink:label="C000140586Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000140586Member" use="optional" order="78.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000140587Member" xlink:label="C000140587Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000140587Member" use="optional" order="146.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000140588Member" xlink:label="C000140588Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000140588Member" use="optional" order="201.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_C000140589Member" xlink:label="C000140589Member"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="ShareClassDomain" xlink:to="C000140589Member" use="optional" order="255.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureAxis" xlink:label="PerformanceMeasureAxis"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="ProspectusTable" xlink:to="PerformanceMeasureAxis" use="optional" order="4.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_PerformanceMeasureDomain" xlink:label="PerformanceMeasureDomain"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="PerformanceMeasureAxis" xlink:to="PerformanceMeasureDomain" use="optional" order="1.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsMember" xlink:label="AfterTaxesOnDistributionsMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsMember" use="optional" order="5.0"/>
        <link:loc xlink:type="locator" xlink:href="http://xbrl.sec.gov/rr/2012/rr-2012-01-31.xsd#rr_AfterTaxesOnDistributionsAndSalesMember" xlink:label="AfterTaxesOnDistributionsAndSalesMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="AfterTaxesOnDistributionsAndSalesMember" use="optional" order="6.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122902AAAAMember" xlink:label="benchmark2015122902AAAAMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122902AAAAMember" use="optional" order="14.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122903BBBBMember" xlink:label="benchmark2015122903BBBBMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122903BBBBMember" use="optional" order="34.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122904BBBBMember" xlink:label="benchmark2015122904BBBBMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122904BBBBMember" use="optional" order="35.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122905BBBBMember" xlink:label="benchmark2015122905BBBBMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122905BBBBMember" use="optional" order="36.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1084CCCCMember" xlink:label="benchmark1084CCCCMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1084CCCCMember" use="optional" order="54.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1121CCCCMember" xlink:label="benchmark1121CCCCMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1121CCCCMember" use="optional" order="55.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1084DDDDMember" xlink:label="benchmark1084DDDDMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1084DDDDMember" use="optional" order="74.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1121DDDDMember" xlink:label="benchmark1121DDDDMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1121DDDDMember" use="optional" order="75.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_bench2014042309EEEEMember" xlink:label="bench2014042309EEEEMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="bench2014042309EEEEMember" use="optional" order="95.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1084EEEEMember" xlink:label="benchmark1084EEEEMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1084EEEEMember" use="optional" order="94.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1119FFFFMember" xlink:label="benchmark1119FFFFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1119FFFFMember" use="optional" order="114.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1119GGGGMember" xlink:label="benchmark1119GGGGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1119GGGGMember" use="optional" order="134.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010902HHHHMember" xlink:label="benchmark010902HHHHMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010902HHHHMember" use="optional" order="144.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1122IIIIMember" xlink:label="benchmark1122IIIIMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1122IIIIMember" use="optional" order="155.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1084IIIIMember" xlink:label="benchmark1084IIIIMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1084IIIIMember" use="optional" order="154.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1122JJJJMember" xlink:label="benchmark1122JJJJMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1122JJJJMember" use="optional" order="165.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1084JJJJMember" xlink:label="benchmark1084JJJJMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1084JJJJMember" use="optional" order="164.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010923KKKKMember" xlink:label="benchmark010923KKKKMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010923KKKKMember" use="optional" order="175.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010909KKKKMember" xlink:label="benchmark010909KKKKMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010909KKKKMember" use="optional" order="174.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1083LLLLMember" xlink:label="benchmark1083LLLLMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1083LLLLMember" use="optional" order="184.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1083MMMMMember" xlink:label="benchmark1083MMMMMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1083MMMMMember" use="optional" order="194.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1111NNNNMember" xlink:label="benchmark1111NNNNMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1111NNNNMember" use="optional" order="206.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1083NNNNMember" xlink:label="benchmark1083NNNNMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1083NNNNMember" use="optional" order="205.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1056NNNNMember" xlink:label="benchmark1056NNNNMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1056NNNNMember" use="optional" order="204.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122901OOOOMember" xlink:label="benchmark2015122901OOOOMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122901OOOOMember" use="optional" order="215.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010903OOOOMember" xlink:label="benchmark010903OOOOMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010903OOOOMember" use="optional" order="214.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122901PPPPMember" xlink:label="benchmark2015122901PPPPMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122901PPPPMember" use="optional" order="225.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010903PPPPMember" xlink:label="benchmark010903PPPPMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010903PPPPMember" use="optional" order="224.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1084QQQQMember" xlink:label="benchmark1084QQQQMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1084QQQQMember" use="optional" order="234.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1118QQQQMember" xlink:label="benchmark1118QQQQMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1118QQQQMember" use="optional" order="237.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122912QQQQMember" xlink:label="benchmark2015122912QQQQMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122912QQQQMember" use="optional" order="238.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1111QQQQMember" xlink:label="benchmark1111QQQQMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1111QQQQMember" use="optional" order="235.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122909QQQQMember" xlink:label="benchmark2015122909QQQQMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122909QQQQMember" use="optional" order="236.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1084RRRRMember" xlink:label="benchmark1084RRRRMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1084RRRRMember" use="optional" order="244.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1118RRRRMember" xlink:label="benchmark1118RRRRMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1118RRRRMember" use="optional" order="247.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122912RRRRMember" xlink:label="benchmark2015122912RRRRMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122912RRRRMember" use="optional" order="248.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1111RRRRMember" xlink:label="benchmark1111RRRRMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1111RRRRMember" use="optional" order="245.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122909RRRRMember" xlink:label="benchmark2015122909RRRRMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122909RRRRMember" use="optional" order="246.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1111SSSSMember" xlink:label="benchmark1111SSSSMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1111SSSSMember" use="optional" order="255.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1084SSSSMember" xlink:label="benchmark1084SSSSMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1084SSSSMember" use="optional" order="254.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122909SSSSMember" xlink:label="benchmark2015122909SSSSMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122909SSSSMember" use="optional" order="256.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122912SSSSMember" xlink:label="benchmark2015122912SSSSMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122912SSSSMember" use="optional" order="257.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1111TTTTMember" xlink:label="benchmark1111TTTTMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1111TTTTMember" use="optional" order="265.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1084TTTTMember" xlink:label="benchmark1084TTTTMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1084TTTTMember" use="optional" order="264.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122909TTTTMember" xlink:label="benchmark2015122909TTTTMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122909TTTTMember" use="optional" order="266.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1111UUUUMember" xlink:label="benchmark1111UUUUMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1111UUUUMember" use="optional" order="276.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1084UUUUMember" xlink:label="benchmark1084UUUUMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1084UUUUMember" use="optional" order="274.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122911UUUUMember" xlink:label="benchmark2015122911UUUUMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122911UUUUMember" use="optional" order="275.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1111VVVVMember" xlink:label="benchmark1111VVVVMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1111VVVVMember" use="optional" order="286.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1084VVVVMember" xlink:label="benchmark1084VVVVMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1084VVVVMember" use="optional" order="284.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122911VVVVMember" xlink:label="benchmark2015122911VVVVMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122911VVVVMember" use="optional" order="285.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1111WWWWMember" xlink:label="benchmark1111WWWWMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1111WWWWMember" use="optional" order="295.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1084WWWWMember" xlink:label="benchmark1084WWWWMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1084WWWWMember" use="optional" order="294.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122909WWWWMember" xlink:label="benchmark2015122909WWWWMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122909WWWWMember" use="optional" order="296.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1124XXXXMember" xlink:label="benchmark1124XXXXMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1124XXXXMember" use="optional" order="304.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1123YYYYMember" xlink:label="benchmark1123YYYYMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1123YYYYMember" use="optional" order="314.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010926ZZZZMember" xlink:label="benchmark010926ZZZZMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010926ZZZZMember" use="optional" order="324.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1111AAABMember" xlink:label="benchmark1111AAABMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1111AAABMember" use="optional" order="24.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1111BBBCMember" xlink:label="benchmark1111BBBCMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1111BBBCMember" use="optional" order="44.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1111CCCDMember" xlink:label="benchmark1111CCCDMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1111CCCDMember" use="optional" order="64.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1121DDDEMember" xlink:label="benchmark1121DDDEMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1121DDDEMember" use="optional" order="84.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122903EEEFMember" xlink:label="benchmark2015122903EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122903EEEFMember" use="optional" order="1014.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122904EEEFMember" xlink:label="benchmark2015122904EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122904EEEFMember" use="optional" order="1016.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122905EEEFMember" xlink:label="benchmark2015122905EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122905EEEFMember" use="optional" order="1017.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1084EEEFMember" xlink:label="benchmark1084EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1084EEEFMember" use="optional" order="104.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1121EEEFMember" xlink:label="benchmark1121EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1121EEEFMember" use="optional" order="106.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1104EEEFMember" xlink:label="benchmark1104EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1104EEEFMember" use="optional" order="1015.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1111EEEFMember" xlink:label="benchmark1111EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1111EEEFMember" use="optional" order="1021.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010902EEEFMember" xlink:label="benchmark010902EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010902EEEFMember" use="optional" order="1025.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1119EEEFMember" xlink:label="benchmark1119EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1119EEEFMember" use="optional" order="1026.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1122EEEFMember" xlink:label="benchmark1122EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1122EEEFMember" use="optional" order="1013.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010923EEEFMember" xlink:label="benchmark010923EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010923EEEFMember" use="optional" order="109.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010909EEEFMember" xlink:label="benchmark010909EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010909EEEFMember" use="optional" order="108.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1083EEEFMember" xlink:label="benchmark1083EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1083EEEFMember" use="optional" order="107.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_bench2014042302EEEFMember" xlink:label="bench2014042302EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="bench2014042302EEEFMember" use="optional" order="1029.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1116EEEFMember" xlink:label="benchmark1116EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1116EEEFMember" use="optional" order="1037.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010922EEEFMember" xlink:label="benchmark010922EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010922EEEFMember" use="optional" order="1039.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1003EEEFMember" xlink:label="benchmark1003EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1003EEEFMember" use="optional" order="1030.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1038EEEFMember" xlink:label="benchmark1038EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1038EEEFMember" use="optional" order="1034.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122917EEEFMember" xlink:label="benchmark2015122917EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122917EEEFMember" use="optional" order="1038.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1115EEEFMember" xlink:label="benchmark1115EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1115EEEFMember" use="optional" order="1012.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1049EEEFMember" xlink:label="benchmark1049EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1049EEEFMember" use="optional" order="1031.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122901EEEFMember" xlink:label="benchmark2015122901EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122901EEEFMember" use="optional" order="1024.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010903EEEFMember" xlink:label="benchmark010903EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010903EEEFMember" use="optional" order="1023.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_bench2014042303EEEFMember" xlink:label="bench2014042303EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="bench2014042303EEEFMember" use="optional" order="1035.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1118EEEFMember" xlink:label="benchmark1118EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1118EEEFMember" use="optional" order="1022.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010916EEEFMember" xlink:label="benchmark010916EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010916EEEFMember" use="optional" order="1032.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1126EEEFMember" xlink:label="benchmark1126EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1126EEEFMember" use="optional" order="1020.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1124EEEFMember" xlink:label="benchmark1124EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1124EEEFMember" use="optional" order="1027.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010920EEEFMember" xlink:label="benchmark010920EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010920EEEFMember" use="optional" order="1028.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1089EEEFMember" xlink:label="benchmark1089EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1089EEEFMember" use="optional" order="1011.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_bench2014042309EEEFMember" xlink:label="bench2014042309EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="bench2014042309EEEFMember" use="optional" order="105.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_bench2014042311EEEFMember" xlink:label="bench2014042311EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="bench2014042311EEEFMember" use="optional" order="1040.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010925EEEFMember" xlink:label="benchmark010925EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010925EEEFMember" use="optional" order="1041.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1123EEEFMember" xlink:label="benchmark1123EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1123EEEFMember" use="optional" order="1010.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010926EEEFMember" xlink:label="benchmark010926EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010926EEEFMember" use="optional" order="1033.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122918EEEFMember" xlink:label="benchmark2015122918EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122918EEEFMember" use="optional" order="1036.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1108EEEFMember" xlink:label="benchmark1108EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1108EEEFMember" use="optional" order="1019.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1125EEEFMember" xlink:label="benchmark1125EEEFMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1125EEEFMember" use="optional" order="1018.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1084FFFGMember" xlink:label="benchmark1084FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1084FFFGMember" use="optional" order="124.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1121FFFGMember" xlink:label="benchmark1121FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1121FFFGMember" use="optional" order="126.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1111FFFGMember" xlink:label="benchmark1111FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1111FFFGMember" use="optional" order="1213.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1122FFFGMember" xlink:label="benchmark1122FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1122FFFGMember" use="optional" order="1212.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010923FFFGMember" xlink:label="benchmark010923FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010923FFFGMember" use="optional" order="128.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010909FFFGMember" xlink:label="benchmark010909FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010909FFFGMember" use="optional" order="127.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_bench2014042302FFFGMember" xlink:label="bench2014042302FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="bench2014042302FFFGMember" use="optional" order="1219.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1003FFFGMember" xlink:label="benchmark1003FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1003FFFGMember" use="optional" order="1220.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1038FFFGMember" xlink:label="benchmark1038FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1038FFFGMember" use="optional" order="1224.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1115FFFGMember" xlink:label="benchmark1115FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1115FFFGMember" use="optional" order="1211.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1049FFFGMember" xlink:label="benchmark1049FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1049FFFGMember" use="optional" order="1221.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1118FFFGMember" xlink:label="benchmark1118FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1118FFFGMember" use="optional" order="1215.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010916FFFGMember" xlink:label="benchmark010916FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010916FFFGMember" use="optional" order="1222.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122909FFFGMember" xlink:label="benchmark2015122909FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122909FFFGMember" use="optional" order="1214.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122911FFFGMember" xlink:label="benchmark2015122911FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122911FFFGMember" use="optional" order="129.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark2015122912FFFGMember" xlink:label="benchmark2015122912FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark2015122912FFFGMember" use="optional" order="1216.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1124FFFGMember" xlink:label="benchmark1124FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1124FFFGMember" use="optional" order="1217.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010920FFFGMember" xlink:label="benchmark010920FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010920FFFGMember" use="optional" order="1218.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark1089FFFGMember" xlink:label="benchmark1089FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark1089FFFGMember" use="optional" order="1210.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_benchmark010926FFFGMember" xlink:label="benchmark010926FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="benchmark010926FFFGMember" use="optional" order="1223.0"/>
        <link:loc xlink:type="locator" xlink:href="jhfii-20190101.xsd#jhfii-20190101_bench2014042309FFFGMember" xlink:label="bench2014042309FFFGMember"/>
        <link:definitionArc xlink:type="arc" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="PerformanceMeasureDomain" xlink:to="bench2014042309FFFGMember" use="optional" order="125.0"/>
    </link:definitionLink>
</link:linkbase>
