We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent abfe336 commit 81a68b6Copy full SHA for 81a68b6
+stdlib/java_home.m
@@ -0,0 +1,13 @@
1
+%% JAVA_HOME get the JAVA_HOME environment variable
2
+
3
+function h = java_home()
4
5
+try
6
+ h = javaMethod("getProperty", "java.lang.System", "java.home");
7
+catch
8
+ h = '';
9
+end
10
11
12
13
+%!assert(!isempty(java_home()))
+stdlib/python_home.m
@@ -0,0 +1,12 @@
+%% PYTHON_HOME tell the home directory of Python install
+function h = python_home()
+ pe = pyenv();
+ h = pe.Home;
0 commit comments