octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #45683] javaclasspath.txt is read twice if hom


From: Carnë Draug
Subject: [Octave-bug-tracker] [bug #45683] javaclasspath.txt is read twice if home is current directory
Date: Mon, 03 Aug 2015 19:05:04 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Firefox/31.0 Iceweasel/31.8.0

URL:
  <http://savannah.gnu.org/bugs/?45683>

                 Summary: javaclasspath.txt is read twice if home is current
directory
                 Project: GNU Octave
            Submitted by: carandraug
            Submitted on: Mon 03 Aug 2015 19:05:02 GMT
                Category: None
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: None
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: dev
        Operating System: Any

    _______________________________________________________

Details:

The static classpath is set by a javaclasspath.txt file in one of the
following directories

1. [octave_config_info("fcnfiledir") "/java/"]
2. home directory
3. current working directory when the java machine starts (when any of the
java related functions is called for the first time)

The end result is that entries on the static javaclasspath get duplicated if
"3" is one of the two above.


address@hidden:~$ pwd
/home/carandraug
address@hidden:~$ cat javaclasspath.txt 
/usr/share/java/ij.jar
/usr/local/share/java/bioformats_package.jar
address@hidden:~$ octave
octave-gui:1> javaclasspath
   STATIC JAVA PATH

      /usr/share/java/ij.jar
      /usr/local/share/java/bioformats_package.jar
      /usr/share/java/ij.jar
      /usr/local/share/java/bioformats_package.jar

   DYNAMIC JAVA PATH

      - empty -
octave-gui:2> exit

address@hidden:~$ cd playground/
address@hidden:~/playground$ octave
octave-gui:1> javaclasspath
   STATIC JAVA PATH

      /usr/share/java/ij.jar
      /usr/local/share/java/bioformats_package.jar

   DYNAMIC JAVA PATH

      - empty -





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?45683>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]