Maintenance often does involve writing code. So does testing for that matter.
Do you have any experience? An internship maybe? If not, try to find something or do a project on your own. THis will help in getting a first job.
Many industries use Java. You can search the job websites for examples. There are also many other programming languages. If you are entry level, why are you "expecting" your first job to be Java. If you got an offer for a Ruby on Rails job, would you turn it down because it wasn't Java?