Current version is 0.38.3, When build metabase at locales build step
./bin/i18n/build-translation-resources, we get error, output info is
Compiling locales/it.po for frontend...
warning: [options] bootstrap class path not set in conjunction with -source 1.3
warning: [options] source value 1.3 is obsolete and will be removed in a future release
warning: [options] target value 1.1 is obsolete and will be removed in a future release
warning: [options] To suppress warnings about obsolete options, use -Xlint:-options.
/tmp/msg9eEeQp/metabase/Messages_it.java:5: error: code too large
msgfmt: compilation of Java class failed, please try --verbose or set $JAVAC
everything is fine on version 0.37.x, is there thing I miss?
I'm guessing that you're compiling on Mac - it is fixed on 0.39.0:
I think that kind of different from what you mention above. In my case, it can find the Java compiler, but it complain able
code too large, may be the block or method of class files it generated are over the Java limit?
@KEN-LJQ I have no idea which version of Java you're using, but I have never seen that error before.
It must be something in your environment.
Our Java version is 1.8.0_162, is that support? Maybe I try another version
@flamber thx a lot, and yes, your are right, we find out it's not about the JDK version, problem has been fixed by https://github.com/metabase/metabase/pull/15189 and https://github.com/metabase/metabase/pull/15335.
After patch these commit or upgrade to 0.39.0, problem solved.