First of all, you should focus on the benefits that you are getting from you current job. Instead of paying too much attention on the bad points of the job, try to think about the perks which will help you in eliminating or at least minimising bad feelings for the job.
Now you need to evaluate the main reason that why you do not like this job. Try to evaluate while remaining impartial and do not ignore any aspect of the job.
Try to find out the fact that your reasons are logical or there is a possibility that you can overcome the problems by putting in extra effort.
Your behaviour plays a vital role in surviving a job you hate as it makes it easy for you to get accommodated.
You need to find out that your colleagues are also in the same situation or not. Whether they also hate similar things at the office or not. If a few of them think otherwise, then you have to change your attitude towards those things.
Try to accept that every job has some good and some bad things as well. Try your best to turn bad things into good ones and be positive as it will help you in surviving your current job.