To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=65974





------- Additional comments from [EMAIL PROTECTED] Mon Aug  7 02:50:26 -0700 
2006 -------
Hi JKim, this indeed is a reason. 

So, at we are on it, we probably should get it right generally. Unfortunately, I
was not able to find any jre/jdk layout documentation despite of

  http://java.sun.com/j2se/1.5.0/docs/tooldocs/linux/jdkfiles.html

Which does not seem to cover what we need. Taking a look at Solaris/SPARC, it
seems that the 64bit versions are stored under

  jdk1.5.0/jre/lib/sparc/client/64

respectively 
  
  jdk1.5.0/jre/lib/sparc/server/64

So, I have no other idea as to further split the "#ifdef"s by bitness and even
by platform (Linux, Solaris), where needed. E.g.

  char const* const* SunInfo::getRuntimePaths(int * size)
  {
      static char const* ar[]= {
  #if SAL_TYPES_SIZEOFPOINTER == 8

  #  ifdef WNT 
          "/bin/client/jvm.dll",

  #  elif SOLARIS
        "/bin/server/64/jvm.dll",
  
  #  elif LINUX
          "/bin/server/jvm.dll",

  #  else
  #    error "unknown platform"

  #  endif

  #else
  #  ifdef WNT
          "/bin/client/jvm.dll",
          "/bin/hotspot/jvm.dll",
          "/bin/classic/jvm.dll"
  #  elif UNX
          "/lib/" JFW_PLUGIN_ARCH "/client/libjvm.so",
          "/lib/" JFW_PLUGIN_ARCH "/server/libjvm.so",
          "/lib/" JFW_PLUGIN_ARCH "/classic/libjvm.so"
  #endif
....

Comments?


---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to