Skip to content

Commit bcf05b0

Browse files
committed
doc
1 parent f0ed83a commit bcf05b0

File tree

2 files changed

+9
-10
lines changed

2 files changed

+9
-10
lines changed

Readme.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,14 +38,13 @@ The
3838
[API listing](https://geospace-code.github.io/matlab-stdlib/)
3939
"backend" column tells which functions have selectable backend implementations.
4040
By default, when the "backend" is not specified to a function having selectable backend, the algorithm searches for the first available backend and uses that.
41-
The user can specify the backend as listed in the API for those functions by specifying say "java" etc. as available per-function.
42-
Normally the user does not specify the backend as we prioritize faster backends.
41+
4342

4443
* [.NET](https://www.mathworks.com/help/matlab/call-net-from-matlab.html)
4544
* Windows: all supported Matlab releases
4645
* Linux / macOS: R2024b and newer
4746
* [Java](./Readme_java.md): all supported Matlab releases
48-
* [Perl](https://www.mathworks.com/help/matlab/ref/perl.html): Matlab R2018a and newer. This uses a system() call to Perl, which is bundled with Matlab on Windows and generally available on Linux and macOS
47+
* [Perl](https://www.mathworks.com/help/matlab/ref/perl.html): Matlab R2018a and newer. This uses a system() call to Perl.
4948
* [Python](https://www.mathworks.com/help/matlab/call-python-libraries.html): Matlab R2022b and newer. `stdlib.has_python` checks that the Python version set by `pyenv()` is compatible with the Matlab release.
5049
* System shell calls: all supported Matlab releases. As a backup when the platform doesn't have the primary (faster) methods available, the system shell can be called for some functions.
5150

Readme_java.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
# Using Java in standard library for Matlab
22

3-
Java is not required for this project, but some functions are implemented with an optional Java backend.
4-
They are tested with and should work with Java versions 8, 11, 17, 21, and more.
3+
Java-based functions should work with any
4+
[Java version compatible with the Matlab release](https://www.mathworks.com/support/requirements/openjdk.html).
5+
Matlab in general does not bundle Java from the factory installation, but Java may have been installed by a system administrator.
6+
One cannot assume that Java will or will not be present on a given Matlab installation.
57

68
Matlab's
79
[Java language interface](https://www.mathworks.com/help/matlab/using-java-libraries-in-matlab.html)
@@ -12,7 +14,7 @@ Our optional Java backend functions use only factory Java class--no third-party
1214

1315
## Java backend diagnostic functions
1416

15-
Tell JVM version:
17+
Tell Java Virtual Machine (JVM) version:
1618

1719
```matlab
1820
version("-java")
@@ -51,13 +53,11 @@ As general information (not used by Matlab-stdlib), non-factory Java classes can
5153
## Configure Matlab JVM
5254

5355
The Matlab Java interface is like other Matlab external languages such as Python.
54-
The Matlab default
56+
Matlab
5557
[JVM can be configured](https://www.mathworks.com/help/matlab/matlab_external/configure-your-system-to-use-java.html)
5658
to a compatible Java library by using the
5759
[jenv](https://www.mathworks.com/help/matlab/ref/jenv.html)
5860
Matlab function.
59-
Matlab vs. Java
60-
[version compatibility table](https://www.mathworks.com/support/requirements/openjdk.html).
6161

6262
For example, to use the
6363
[JDK 17 on macOS](https://www.oracle.com/java/technologies/downloads/#jdk17-mac)
@@ -81,7 +81,7 @@ winget install Microsoft.OpenJDK.11
8181
```
8282

8383
To
84-
[revert back to the factory JRE](https://www.mathworks.com/help/matlab/ref/matlab_jenv.html)
84+
[revert back to the default JRE](https://www.mathworks.com/help/matlab/ref/matlab_jenv.html)
8585
if Matlab can't start or has problems, from system Terminal (not within Matlab):
8686

8787
```sh

0 commit comments

Comments
 (0)