The OP is not just speaking about having heard of Jesus, but of intimately knowing him. The Hebrew word “yada” refers to an intimate relationship/knowledge gained through experience such as in Genesis 4:1, Adam knew Eve, she conceived, and gave birth to Cain. God’s way is the way to know (yada) Him and Jesus by being in His likeness through experiencing being a doer of His character traits, which is the way to eternal life (John 17:3). For example, in Genesis 18:19, God knew (yada) Abraham that he would teach his children and those of his household to walk in His way by being a doer of righteousness and justice that the Lord might bring to him all that He has promised. In Exodus 33:13, Moses wanted God to be gracious to him by teaching him to walk in God’s way that he and Israel might know (yada) Him. In Jeremiah 9:3 and 9:6, they did not know (yada) God and refused to know Him because in 9:13 they had forsaken His law while in 9:24, those who know God know that He delights in being a doer of steadfast love, justice, and righteousness in all the earth, so the way to know God is by delighting in being a doer of His character traits in obedience to His law.
This is also the way to know the Son because he is the radiance if God’s glory and the exact likeness of His character, which he expressed through his works by setting a sinless example for us to follow of how to walk in obedience to God’s law. In 1 John 2:4, those who say that they know Jesus, but do not obey his commands are liars, in 1 John 3:4-6, those who continue to be doers of lawlessness have neither seen or known him, and in Matthew 7:23, Jesus said that he would tell those who are workers of lawlessness to depart from him because he never knew them. So the goal of the law is to teach us how to know God and Jesus by walking in His way, which is His gift of eternal life.