Question: I have a joomla site and i tried to use the font "Montserrat" from google on some classes.

The font looks good on chrome and I.E., but looks bold or bolder on firefox.

The css that i tried

```
p
{
     font-weight: normal;
}

p
{
     font-weight: 400;
}

```

I found a thousand topics on internet, no solution.

Answer: 
I had the same problem and changed the SDK for my project from 10 to 1.8. Solved it.
For IntelliJ, go to File --> Project Structure
I know this answer is a bit late, but I have just experienced a similar issue and stumbled on this question.

The package you are referring to exists in different locations in different releases of Java. In my opinion, the simplest solution is to try to match the version of Java that was originally used to build the project that you are talking about. I say this as your project may contain other dependencies on that same version of Java, which you are not yet aware of.

In your case, I believe that running the project with Java 1.6 will solve this issue.