Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | SDK: Mac OS 10.6: Java examples do not run | ||
---|---|---|---|
Product: | App Dev | Reporter: | kai.sommerfeld |
Component: | sdk | Assignee: | AOO issues mailing list <issues> |
Status: | CLOSED FIXED | QA Contact: | |
Severity: | Trivial | ||
Priority: | P3 | CC: | arielch, issues |
Version: | 3.3.0 or older (OOo) | ||
Target Milestone: | 4.0.0 | ||
Hardware: | All | ||
OS: | Mac OS X, all | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- |
Description
kai.sommerfeld
2010-05-12 12:43:01 UTC
jsc: it's a known problem and not only on Mac OS. I thought it had been documented already but it's not. Solution is to document it and find a way to detect if 32 or 64 bit Java is used. The necessary java option should be configured then automatically. >it's a known problem and not only on Mac OS. I thought it had been >documented already but it's not. Solution is to document it Now it is documented - by this issue. ;-) > and find a way to detect if 32 or 64 bit Java is used. IMO, SDK setup should detect whether 32 or 64 bit Office is to be used with the SDK and the JRE should be selected/started accordingly. > The necessary java option should be configured then automatically. Agreed. fixed on cws gridcontrol04 if 64 bit Java is detected, the option -d32 is used to ensure a 32 bit runtime environment. Used when running Java examples. jsc -> misheto: please verify Verified. . (In reply to comment #3) > fixed on cws gridcontrol04 > > if 64 bit Java is detected, the option -d32 is used to ensure a 32 bit > runtime environment that breaks on Linux 64 bits: [ariel@localhost OfficeBean]$ make OOoBeanViewer.run "/opt/jdk1.6/bin/java" -d32 -classpath "/opt/openoffice.org/ure/share/java/jurt.jar:/opt/openoffice.org/ure/share/java/ridl.jar:/opt/openoffice.org/ure/share/java/juh.jar:/opt/openoffice.org/basis3.4/program/classes/unoil.jar:/opt/openoffice.org/basis3.4/program/classes/officebean.jar:/home/ariel/openoffice.org3.4_sdk_x86-64/LINUXexample.out/class/OOoBeanViewer" com.sun.star.comp.beans.OOoBeanViewer Running a 32-bit JVM is not supported on this platform. make: *** [OOoBeanViewer.run] Error 1 "arielch" committed SVN revision 1398378 into trunk: #i111555# - Don't force 32 bits JVM on Linux (In reply to comment #8) > "arielch" committed SVN revision 1398378 into trunk: > #i111555# - Don't force 32 bits JVM on Linux Please verify I didn't break Mac OS. Fixed |