bug 304397 was an improvement over previous java handling, but it still can be improved.
Created attachment 225523 [details, diff] Patch to fix the issue. I'm not sure if that JCVALID trick will work.
(In reply to comment #1) > Created an attachment (id=225523) [details] > Patch to fix the issue. > > I'm not sure if that JCVALID trick will work. > It evaluates to: USE=java: make -j2 -j 1 JC= JFLAGS= JCVALID=yes build build-man USE=-java: make -j2 -j 1 JC= JFLAGS= JCVALID= build build-man So, what is $(JAVAC)/$(JAVACFLAGS) suppose to return?
You also need java-pkg_regjar do register jars installed. I can help on that as well if needed.
The launcher script may also need a look.
Please provide updated patches again 1.4.5-r2.
I'd count this solved in 2.0.2 since I've just finished taking care of it (with help from sera).