It means you have a huge amount of code compared to just the JRE. Generally speaking. JAVA's JRE doesn't have a wonderful track record in terms of security holes... The JDK is like multiplying that by three.
If you can deal with:
- Higher threat of compromise
- More space used
- More bandwidth on update day
You can run the JDK. General Linux principles involve something called KISS (Keep it Simple....-Silly-...). Installing the JDK when you only need the JRE isn't going to cause the Linux Server Police to show up at your house, arrest you, and kick your puppy... The old hats.. will just kinda sit back.. and sigh uneasily.
We recommend that you use the JRE and not the full JDK if possible... But.. risk assessment is something you (or someone you know) will have to be responsible for.