A difference in emphasis, same in the message
Paul: You are saved only by faith!
James: Faith, if it has not works, is dead!
BUT...
Paul addressed the Jewish Legalist, who made it difficult to come to God. James addressed wealthy landowners, who had all the right words but did not practice obedience.