0

I've finished a program (Mediaplayer) and now I'd like to export stuff. This goes without any problems, but the exported, runnable .jar file, is much bigger than the debugging version in eclipse!?

So the JFrame is bigger, the JButtons, the JSliders, the JTextfields, everything is bigger :( and it now looks quite shit...

Is there mabey any setting I must activate or do I have to test the exported version always?

Hope you can help me.

PS: There is no maven implemented in this project

Caipi
  • 19
  • 6
  • I guess you are using maven. You may have enabled the 'compile with sources' option for building your project. This could be a possible reason. – Anastasios Vlasopoulos Oct 25 '17 at 20:58
  • Yes I am using maven... I‘ll try it thanks – Caipi Oct 26 '17 at 08:22
  • I absolutely cannot find the option... Does anyone knows where such an option is? I'm running on eclipse mars.2 – Caipi Oct 26 '17 at 14:36
  • Read this post: https://stackoverflow.com/questions/2580969/how-do-i-exclude-the-sources-jar-in-mvn-deploy . It is a matter of maven configuration. – Anastasios Vlasopoulos Oct 26 '17 at 14:50
  • This does not help :(. Also I tried the following: Delete Maven from Project, and run and export, but there are still the same problems... – Caipi Oct 26 '17 at 15:48

0 Answers0