I am not trying to find fault with what you wrote, simply to reason it with you. Concerning the first quote from John ch15
When you obey my commandments you remain in my love
Do we take this as literally obeying the commands of Christ in the Gospels? If we do, I am only speaking honestly, I have never met any Christian who has even tried to obey each and every literal command of Christ in the Gospels. Therefore, if we take those words literally, I have never met any professing Christian who actually is a christian. Can we say there is a pass mark of obedience to Christ's commands in the gospels, and if you reach the pass mark you remain in Christ's love? That would not seem right to me.
Concerning Matt25:46
If we take this literally, are you a goat if you do not invite strangers into your home? Are you a goat if you do not visit people in prison? Again, That would seem to cut a lot of professing Christians out of the faith to me. For how often do Christians just forsake their own needs for others? We all fall short in that regard.
James2:14
Now this is a very interesting verse, bearing in mind Paul's constant message:
What then shall we say? That the Gentiles, who did not pursue righteousness, have obtained it, a righteousness that is by faith; 31 but the people of Israel, who pursued the law as the way of righteousness, have not attained their goal. 32 Why not? Because they pursued it not by faith but as if it were by works
Rom9:30-32
If we tell others, their salvation hinges on works, then they can only be in a righteous state before God depending on works when we think about it. And if we tell them that, in the real world they will in reality consider their righteousness before God to be works. Then you are in contradiction of Paul's main gospel message
For we maintain that a person is justified by faith apart from the works of the law Rom3:28
Now to the one who works, wages are not credited as a gift but as an obligation. 5 However, to the one who does not work but trusts God who justifies the ungodly, their faith is credited as righteousness. 6 David says the same thing when he speaks of the blessedness of the one to whom God credits righteousness apart from works
Rom4:4-8
Would it be fair to say, James and Paul were looking at this subject from differing angles so to speak?
I think the fact remains, if you believe your salvation hinges on works, works of the law, you will in reality live your Christian life under righteousness of works/righteousness of obeying the law. For to you, that is what your continued righteousness/justification hinges on