Java package: Difference between revisions

Jump to navigation Jump to search
2 bytes added ,  4 October 2013
Line 118: Line 118:
:<pre>octave> setenv ("PATH", [ getenv("JAVA_HOME"), filesep, "bin", pathsep, getenv("PATH") ])</pre>
:<pre>octave> setenv ("PATH", [ getenv("JAVA_HOME"), filesep, "bin", pathsep, getenv("PATH") ])</pre>
:should do the trick. Watch out that 'getenv("PATH")' contains no spaces. Please note that in Windows operating system, already existing presence of Java address in PATH Environment Variable (present in Windows System Properties) can create conflict and prevent the Java package to be installed. Such presence can be spotted using this command:
:should do the trick. Watch out that 'getenv("PATH")' contains no spaces. Please note that in Windows operating system, already existing presence of Java address in PATH Environment Variable (present in Windows System Properties) can create conflict and prevent the Java package to be installed. Such presence can be spotted using this command:
<pre>strsplit (getenv("PATH"), pathsep)</pre>
:<pre>strsplit (getenv("PATH"), pathsep)</pre>
Be sure to remove any previous addressing of java installation in PATH environment variable before the setenv command.
:Be sure to remove any previous addressing of java installation in PATH environment variable before the setenv command.


===Compile and install the package in Octave===
===Compile and install the package in Octave===
Anonymous user

Navigation menu