I don't know how specifically you do it when compiling OpenOffice.  From 
a Java command line, you do "javac -target ...", but I imagine that step 
is probably buried somewhere in the OpenOffice. build.  Perhaps someone 
more knowledgeable about OpenOffice. can comment more intelligently here.

DR

Hussam Al-Tayeb wrote:
> On 12/12/06, David Rosenstrauch <[EMAIL PROTECTED]> wrote:
>> Hussam Al-Tayeb wrote:
>>> At least for me, OpenOffice 2.1.0 won't compile with jdk 1.6 , it works 
>>> with 1.5
>> Perhaps this is the problem:
>>
>> "There are changes to the compiler's default, so make sure that you set
>> -source  and -target options explicitly."
>>
>> http://blogs.sun.com/ahe/entry/java_se_6
>>
>> So try explicitly setting the target to 1.4 or 1.5 and see if that fixes it.
>>
>> DR


_______________________________________________
arch mailing list
[email protected]
http://www.archlinux.org/mailman/listinfo/arch

Reply via email to