Apache OpenOffice (AOO) Bugzilla – Issue 103628
FreeBSD porting : build with OpenJDK6 : qadevOOo
Last modified: 2017-05-20 11:33:40 UTC
OOO310_m15 on FreeBSD 7.2-RELEASE/i386, with java/openjdk6-b16_2, build failed at qadevOOo like following: jar cfm ../unxfbsdi.pro/class/OOoRunnerLight.jar manifest -C ../unxfbsdi.pro/class util -C ../unxfbsdi.pro/class share -C ../unxfbsdi.pro/class stats -C ../unxfbsdi.pro/class lib -C ../unxfbsdi.pro/class complexlib -C ../unxfbsdi.pro/class helper -C ../unxfbsdi.pro/class basicrunner -C ../unxfbsdi.pro/class base -C ../unxfbsdi.pro/class org/openoffice -C ../unxfbsdi.pro/class convwatch -C ../unxfbsdi.pro/class graphical Error: could not find libjava.so Error: could not find Java 2 Runtime Environment. dmake: Error code 2, while making 'LIGHT' ERROR: Error 65280 occurred while making /work/openjdk/ports/editors/openoffice.org-3-RC/work/OOO310_m15/qadevOOo/runner rmdir /tmp/41819
The reason is : # which jar ; jar /usr/local/openjdk6/bin/jar Error: could not find libjava.so Error: could not find Java 2 Runtime Environment. however # /usr/local/openjdk6/bin/jar ... Example 1: to archive two class files into an archive called classes.jar: jar cvf classes.jar Foo.class Bar.class Example 2: use an existing manifest file 'mymanifest' and archive all the files in the foo/ directory into 'classes.jar': jar cvfm classes.jar mymanifest -C foo/ . # very strange :-(
reassign.
jkim: I'm very happy if you have a look.
Note the process described above is in the OOo build environment. cd work/OOO310_m15/qadevOOo/; source ../FreeBSDX86Env.Set ; dmake
openjdk6 is recognized by DEV300_m52.
Created attachment 63629 [details] A workaround: setting JAR explicitly
jkim's comment on this issue > Probably it was just a PATH issue, openjdk6/javavmwrapper/bsd.java.mk > were out-of-sync, or stale JAVA_* environment variables were set? . I'll check it out later.
Reset assigne to the default "issues@openoffice.apache.org".