I have a few really long strings in one class for initializing user information. When I compile in Eclipse, I don\'t get any errors or warnings, and the resulting .jar runs
You can try this,
public static final String CONSTANT = new StringBuilder("Your really long string").toString();