view build-aux/OctJavaQry.java @ 18472:83cc56cc7cb7 stable

fix restoring non-existing file from previous session (bug #41280) * file-editor.cc (request_open_file): dialog asking whether to create non-existing file has no parent for correct handling at startup
author Torsten <ttl@justmail.de>
date Sun, 16 Feb 2014 18:06:43 +0100
parents fafd51a1b0f0
children
line wrap: on
line source

// Code used by configure script to locate Java installation variables.
// Only compiled code, OctJavaQry.class, is distributed.
public class OctJavaQry
{
  public static void main (String[] args)
  {
    if (args.length > 0)
    {
      if (args[0].equals ("JAVA_HOME"))
      {
        System.out.println (System.getProperty ("java.home"));
      }
      else if (args[0].equals ("JAVA_LDPATH"))
      {
        System.out.println (System.getProperty ("java.library.path"));
      }
      else if (args[0].equals ("JAVA_BOOTPATH"))
      {
        System.out.println (System.getProperty ("sun.boot.library.path"));
      }
    }
  }
}