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

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

[Octave-bug-tracker] [bug #48653] java classpath


From: Ernst Reissner
Subject: [Octave-bug-tracker] [bug #48653] java classpath
Date: Thu, 28 Jul 2016 20:21:18 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0

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

                 Summary: java classpath
                 Project: GNU Octave
            Submitted by: ernstreissner
            Submitted on: Thu 28 Jul 2016 08:21:15 PM GMT
                Category: Documentation
                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: 4.0.3
        Operating System: Any

    _______________________________________________________

Details:

The documentation of section 'Making Java classes available' 
is misleading. 
In fact, a file @file{javaclasspath.txt} is searched for in all locations
given. 
The classpath starts with a pointer to octave.jar 
and appends the entries given by files named @file{javaclasspath.txt} 
in all three locations in the given ordering. 

It is not true that if found in one location, all subsequent files are ignored
as the text suggests. 

The reason for the true behavior is, 
that 
octave.jar overwrite 
settings in the current working directory overwrites 
user specific settings overwrite 
installation specific settings 

all forming the static classpath 
and static classpath overwrites dynamic one. 

In my opinion, this section should be the first one 
in section Java Integration. 

I suggest to allow empty lines in @file{javaclasspath.txt} 
for better grouping 

and to add a builtin function displaying the octave_java home directory 
called initial_java_dir in ov-java.cc 
This makes it simpler to find the directory 
for @file{javaclasspath.txt} and also for @file{java.opts}






    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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